Apimetro
Mexico City transit geodata: metro lines, stations and GeoJSON
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.
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
}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())/metro/lineaPROBEDMexico City transit geodata: metro lines, stations and GeoJSON
/metroMetro — documented GET route.
/metro/1Metro details by ID (example: 1).
/metro?limit=10Metro — documented GET route.
/metro/search?q=testSearch by query parameters.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
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.