This feed has expired Service dates: 2024-05-24 - 2025-10-31

barcelona - GTFS transit data for Spain

Expired
Ayuntamiento-de-Barcelona Spain May 24, 2024 — October 31, 2025

About This Feed

The barcelona GTFS feed by Ayuntamiento-de-Barcelona provides structured public transit data for Spain, covering 7 routes, 37 stops, and 2 transit agencies. Formatted according to the General Transit Feed Specification (GTFS), this dataset is ready for transit apps, routing engines, urban planning tools, and AI agents / LLM applications.

This feed was active from May 24, 2024 to October 31, 2025 and is no longer current. It remains available for historical analysis and research.

Data is automatically validated and corrected. View our quality pipeline →

Transit map showing barcelona routes and stops in Spain
Explore 7 routes, 37 stops, and 2 agencies

Browse routes, stops, and agencies from this feed. Public pages show merged data from all feeds. Sign in for per-feed details useful for GTFS integration and debugging.

Sign in to access →

Download this feed through the BusMaps API

Enhanced GTFS, source GTFS, GeoJSON, and validation reports are available through the API.

Use ?feedName=barcelona to request this feed. View API documentation.

Enhanced & Validated Recommended

Updated 2026-08-01

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

ZIP GTFS Feed - Corrected & Enriched
0.01 MB
Available through API only This work is licensed under Busmaps_licence_v1. Content Hash: ca6fe75a4b0e3e20
ZIP Validation Report
0.01 MB
Available through API only
0Errors
16Warnings
3Info
Top Issues
expired calendar14
feed expiration date7 days1
trip coverage not active for next7 days1
GeoJSON GeoJSON Data
0.01 MB
Available through API only

Original Source

Obtained 2026-02-24

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

ZIP GTFS Source Data
0.07 MB
Available through API only License: CC_BY_4.0 Content Hash: ac58ee40f034b667
ZIP Validation Report
0.09 MB
Available through API only
412Errors
46,382Warnings
169Info
Top Issues
point near origin296
foreign key violation116
same stop and agency url40,404

Use This Feed from AI Agents

This feed is also served through the BusMaps MCP server: point Claude, ChatGPT, Gemini or any MCP client at https://mcp.busmaps.com/mcp and your agent can plan routes, read departures, and query this network in plain language.

About the MCP server →
Build real-time departures into your app Free API Access →

Frequently Asked Questions

What is GTFS data?

General Transit Feed Specification (GTFS) is an open data format for public transit schedules and geographic information. Created by Google and TriMet, it enables transit agencies to publish interoperable data for applications, trip planners, and mobility analytics tools.

What is the difference between enhanced and source data?

Source data is the original GTFS feed obtained from the transit agency or official provider. The enhanced version has been processed to fix errors, remove inconsistencies, and ensure compliance with GTFS specifications. We recommend the enhanced version for production applications.

Can I use this data in my application?

Data usage depends on the license specified by the original provider. Check the license information in the download section. Many GTFS feeds use open data licenses that allow free use with attribution. Always verify the license terms before integration.

How do I validate a GTFS feed?

Each feed includes a validation report documenting errors and warnings. You can also use the MobilityData GTFS Validator for independent validation. Enhanced feeds have already been processed to resolve the most critical validation issues.

All data on this site comes from publicly available sources. If a file was posted in error, has an incorrect license, or lacks correct source attribution, please contact us and we will correct it.