Apimetro

Mexico City transit geodata: metro lines, stations and GeoJSON

🚆 TransportUNMONITOREDchecked 1h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

Apimetro maps Mexico City's public transport, Metro, Metrobús, Cablebús, RTP and more, into structured geospatial JSON. Keyless endpoints return lines, stations, ridership analytics and GeoJSON geometry, using Spanish field names. All routes hang off the /movilidad base path.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://apimetro.dev/movilidad/metro/linea

{
  "linea_id": 301,
  "route_gtfs": "B_CMX020L12",
  "nombre": "Metro Línea L12",
  "num_comercial": "L12",
  "sistema": "METRO",
  "color_esp": "B99E51",
  "tam_km": 24.0285920400801,
  "existe": true
}
Call itcurl · fetch · python
curl "https://apimetro.dev/movilidad/metro/linea"
const res = await fetch("https://apimetro.dev/movilidad/metro/linea");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://apimetro.dev/movilidad/metro/linea")
print(res.json())
Endpoints · 5On scheduleFULL DOCS ↗
First rollup pending — GET /metro/linea has been probed
GET/metro/lineaPROBED

Mexico City transit geodata: metro lines, stations and GeoJSON

GET/metro

Metro — documented GET route.

GET/metro/1

Metro details by ID (example: 1).

GET/metro?limit=10

Metro — documented GET route.

GET/metro/search?q=test

Search by query parameters.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Apimetro: common questions

Is Apimetro free to use?

Yes — Apimetro is a free transport API. Free tier: Free — no key. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Apimetro need an API key?

No — Apimetro needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Apimetro from the browser?

Yes — Apimetro returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Apimetro up right now?

As of our last scheduled check, Apimetro is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.