Barcelona Cultural Agenda API
Events from the Barcelona City Council cultural agenda: name, dates, timetable and prices text, venue street, neighbourhood, district and coordinates. Search by words or filter by neighbourhood.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from opendata-ajuntament.barcelona.cat/data/api/action/datastore_search
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/barcelona-events/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"search":"concert"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
13 fields: 12 here, 1 technical one under Technical details.
Basics
- Event name
Example Concert "Xiula molt a prop"
- Timetable
Days, hours and prices as text.
Example Dies Hores Preus Observacions Dissabte a les 18.00 h Entrada Gratuïta No cal reserva prèvia. En cas de pluja, el…
- Road name
Street name.
Example Passeig de Fabra i Puig
- District
Example Nou Barris
Location
- Street number
Example 274
- Neighbourhood
Example el Turó de la Peira
- Zip code
Postcode.
Example 8031
- Latitude
Example 41.430455
- Longitude
Example 2.173212
Dates
- Start date
First day.
Example Dec 19, 2026
- End date
Last day.
Example Dec 19, 2026
- Modified
When the entry was last changed.
Example Dec 2, 2026
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idEvent id in the city agenda.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
name | text | Event name | 3 of 3 |
start_date | date | Start date | 3 of 3 |
end_date | date | End date | 3 of 3 |
timetable | text | Timetable | 3 of 3 |
road_name | text | Road name | 3 of 3 |
street_number | text | Street number | 3 of 3 |
neighbourhood | text | Neighbourhood | 3 of 3 |
district | text | District | 3 of 3 |
zip_code | text | Zip code | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
modified | date and time | Modified | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Event name | Timetable | Road name | District | Street number | Neighbourhood | Zip code | Latitude | Longitude | Start date | End date | Modified |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Concert "Xiula molt a prop" | Dies Hores Preus Observacions Dissabte a les 18.00 h Entrada Gratuïta No cal reserva prèvia. En cas de pluja, el concert es farà a la sala d'actes del Centre Cívic Can Basté, i caldrà reserva prèvia a partir del 18 de desembre a… | Passeig de Fabra i Puig | Nou Barris | 274 | el Turó de la Peira | 8031 | 41.430455 | 2.173212 | Dec 19, 2026 | Dec 19, 2026 | Dec 2, 2026 |
| 2 | Concert "Amaia" | Dies Hores Preus Diumenge a les 21.00 h Entrada general de: 45 a 120 € (+ despeses de gestió) | Pg Olímpic | Sants-Montjuïc | 5 | el Poble-sec | 8038 | 41.362 | 2.152396 | Dec 20, 2026 | Dec 20, 2026 | Oct 16, 2025 |
| 3 | Concert "L’ocell de foc de Stravinsky", amb Sol Gabetta | Dies Hores Preus Dijous a les 20.00 h Entrada general de: 27 a 85 € (+ despeses de gestió) | Carrer de Lepant | Eixample | 150 | el Fort Pienc | 8013 | 41.399029 | 2.185033 | Apr 22, 2027 | Apr 22, 2027 | Jun 14, 2026 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Source: Barcelona City Council open data, licence CC BY 4.0; credit "Ajuntament de Barcelona" when you show the data.
- The agenda holds about 5,500 rows; some rows repeat an event and are merged, so counts can be lower.
- Event names and timetables are mostly in Catalan or Spanish.
- The agenda carries no category or organiser field; venue street number is empty for some events.
- The neighbourhood filter needs the exact name as the city writes it, for example "Sant Antoni" or "el Poble-sec".
- The portal refreshes the agenda regularly; past events may remain and future ones are added over time.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.