atm - GTFS transit data for Spain

Active
Nap-Mitma Spain January 1, 2018 — January 1, 2028

About This Feed

atm is the GTFS feed Nap-Mitma publishes for Spain: 1,828 routes, 21,658 stops, 179 transit agencies. BusMaps checks and corrects it every week and serves the result through the API and as GTFS files.

Valid from January 1, 2018 to January 1, 2028.

Checked and corrected automatically. How we do it →

One API for this feed

The API behind this page serves the same 1,828 routes and 21,658 stops: stops near a point, departures, trips, timetables, live vehicle positions and the GTFS files. The requests below use the coordinates of this feed.

  • Stops within a radius of a coordinate.

    GET /v1/stopsInRadius?location=41.5605,1.9966&radius=1000
  • Departures at the nearby stops, with real-time delays where the agency publishes them.

    GET /v1/nextDepartures?location=41.5605,1.9966&radius=500&results=30
  • Itineraries between two points on this network.

    GET /v1/routes?origin=41.5605,1.9966&destination=41.8841,2.319
  • Directions, stop order and the schedule of one route.

    GET /v1/line?routeId={routeId}
  • GTFS-RT positions inside the bounding box of the feed.

    GET /v1/rawVehiclePositions?boundingBox=40.533,0.239,42.855,3.286
  • GTFS files Free

    The corrected feed, the source feed, GeoJSON and the validation reports.

    GET /v1/getGtfsFeedsDownloads?feedName=atm
  • Claude, ChatGPT or any MCP client asks this network questions in plain language.

    https://mcp.busmaps.com/mcp

Base URL https://capi.busmaps.com:8443. Send the key in the capi-key header. Route ids come from the responses above.

Per-feed pages: 1,828 routes, 21,658 stops, 179 agencies

Public pages merge every feed. Sign in to browse this feed on its own, which helps when you integrate or debug it.

Sign in →

GTFS files of this feed

Two builds: the copy BusMaps corrected and validated, and the original from Nap-Mitma. The API returns either one for ?feedName=atm. Documentation →

Enhanced & Validated Recommended

Updated 2026-08-21

Cleaned, corrected, and validated against GTFS specifications. View corrections.

ZIP GTFS Feed - Corrected & Enriched
48.55 MB
Available through API only This work is licensed under Busmaps_licence_v1. Content Hash: fd87b3110fecde8a
ZIP Validation Report
0.05 MB
Available through API only
0Errors
709Warnings
363Info
Top Issues
stop too far from shape224
mixed case recommended field213
unexpected enum value112
GeoJSON GeoJSON Data
0.83 MB
Available through API only

Original Source

Obtained 2026-08-17

Unmodified GTFS data from official sources. May contain errors or inconsistencies.

ZIP GTFS Source Data
67.43 MB
Available through API only License: LDA Content Hash: 6c83ade4f5ba0ef4
ZIP Validation Report
0.29 MB
Available through API only
1Errors
3,031,874Warnings
7,191Info
Top Issues
inconsistent agency timezone1
missing timepoint value3,005,866
mixed case recommended field11,129

Overlapping Feeds

Other feeds that share stops or routes with this one.

Feed Stops Overlap Routes Overlap
generalitat-catalunya 5117 (24.77%) 1093 (59.79%)
alsa-autobuses 476 (2.3%) 168 (9.19%)
el-transbordador-de-vizcaya 1931 (9.35%) 83 (4.54%)
fomento 22 (0.11%) 17 (0.93%)
renfe 18 (0.09%) 8 (0.44%)
autocares-rias-baixas4 8 (0.44%)
urbano-mataro 118 (0.57%) 6 (0.33%)
flixbus-eu 1 (0.05%)

Frequently Asked Questions

What is GTFS data?

GTFS, the General Transit Feed Specification, is the open format transit agencies use to publish schedules, stops and route shapes. Trip planners, routing engines and analytics tools read it directly.

What is the difference between enhanced and source data?

The source feed is what the agency published. The enhanced feed is the same data after BusMaps fixed the errors and inconsistencies and checked it against the GTFS specification. Use the enhanced feed in production.

Can I use this data in my application?

That depends on the licence the publisher set; you find it next to the files above. Most GTFS feeds allow free use with attribution. Check the licence before you integrate.

How do I validate a GTFS feed?

Every feed here ships with a validation report of errors and warnings. For an independent check, run the MobilityData GTFS Validator. The enhanced feed has the critical issues resolved.

All data comes from public sources. If a file was posted in error, carries a wrong licence or lacks attribution, contact us and we will fix it.