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.

Try it
Ready-made, maintained by usEvents, 13 fieldsv1.0

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

Searchoptional
Words to search in the agenda.
Example: concert
Neighbourhoodoptional
Exact neighbourhood name.
Example: el Poble-sec

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
Endpoint
POSThttps://pullrow.dev/v1/apis/barcelona-events/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

searchtext
Words to search in the agenda.
example: concert
neighbourhoodtext
Exact neighbourhood name.
example: el Poble-sec

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
nametextEvent name3 of 3
start_datedateStart date3 of 3
end_datedateEnd date3 of 3
timetabletextTimetable3 of 3
road_nametextRoad name3 of 3
street_numbertextStreet number3 of 3
neighbourhoodtextNeighbourhood3 of 3
districttextDistrict3 of 3
zip_codetextZip code3 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
modifieddate and timeModified3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordEvent nameTimetableRoad nameDistrictStreet numberNeighbourhoodZip codeLatitudeLongitudeStart dateEnd dateModified
1Concert "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 PuigNou Barris274el Turó de la Peira803141.4304552.173212Dec 19, 2026Dec 19, 2026Dec 2, 2026
2Concert "Amaia"Dies Hores Preus Diumenge a les 21.00 h Entrada general de: 45 a 120 € (+ despeses de gestió)Pg OlímpicSants-Montjuïc5el Poble-sec803841.3622.152396Dec 20, 2026Dec 20, 2026Oct 16, 2025
3Concert "L’ocell de foc de Stravinsky", amb Sol GabettaDies Hores Preus Dijous a les 20.00 h Entrada general de: 27 a 85 € (+ despeses de gestió)Carrer de LepantEixample150el Fort Pienc801341.3990292.185033Apr 22, 2027Apr 22, 2027Jun 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.
Known limits
  • 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.