API documentation — ClassicalBot

ClassicalBot

8 min read Original article ↗
On this page

Quickstart

The API is public: no account or API key is required. Requests use https://classicalbot.com/api/v1 and return JSON.

curl 'https://classicalbot.com/api/v1/concerts?country_code=CZ&page_size=2'

Filter by country to get started, or look up a composer, work, soundtrack, city, performer or venue below to find its ID.

The full contract is the OpenAPI specification.

Example JSON response · shortened example
{
  "source": null,
  "concerts": [
    {
      "id": "123",
      "title": "Illustrative concert",
      "date": "2027-06-12",
      "time": "19:30:00",
      "city": "Prague",
      "country_code": "CZ",
      "venue_name": null,
      "buy_url": null
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 2,
    "total": 1,
    "total_pages": 1,
    "all": false,
    "next": null
  },
  "generated_at": "2027-06-01T12:00:00Z"
}

MCP

AI assistants such as Claude and ChatGPT can use the same data through our MCP server at https://classicalbot.com/mcp. See how to connect.

Concerts

GET /api/v1/concerts

Find upcoming concerts. Use at least one filter; results must match all supplied filters, and the comma-separated IDs in one filter match any of them.

curl 'https://classicalbot.com/api/v1/concerts?country_code=CZ&page_size=2'
Response fields
source

Source matching the URL filter, or null.

Fields in source

id

name

url

status

Values: pending, processing, pr_open, active, blocked, retry_wait, duplicate, needs_attention, disabled.

next_attempt_at

concerts
Fields in concerts
artists

Performer names, separated by semicolons.

venue_name

Venue or hall name.

state

Currently unavailable.

venue_address

Venue address.

buy_url

Ticket or reservation link.

id

ClassicalBot concert ID.

event_url

Concert page URL.

event_status

Concert status. Values: scheduled, cancelled, postponed, rescheduled.

last_verified_at

When the concert was last verified.

country_code

Two-letter country code.

city_id

ClassicalBot city ID.

venue_id

ClassicalBot venue ID.

parent_venue_name

Parent venue or building name.

longitude

Venue longitude.

programme

Programme summary.

programme_items

Works and their composers.

Fields in programme_items

id

title

programme_label

catalogue_number

composer
Fields in composer

id

name

composers

Composers featured in the concert.

Fields in composers

id

name

performers

Performers and their roles.

Fields in performers

id

name

kind

Values: person, ensemble.

roles

instruments

voice_type

character

ensemble

qualifier

identity_url

price_items

Price offers, currencies and conditions.

Fields in price_items

id

kind

Values: exact, from, range.

price_type

Values: admission, fee, suggested_donation.

amount

amount_max

currency

category

audience

conditions

basis

admission_type

Admission category.

booking_kind

Booking method. Values: purchase, reservation, .

booking_status

Booking availability. Values: unknown, on_sale, not_yet_on_sale, sold_out, box_office_only, not_required, .

on_sale_at

When booking opens.

source_id

ClassicalBot source ID.

source_event_urls

Concert links from its sources.

franchises

Film, TV and game soundtracks on the programme, dedicated links first. dedicated is true when the concert is devoted to that title's music, false when the programme merely includes some of it.

Fields in franchises

id

name

dedicated

other_sources

With url: true when organisers other than that source also list this deduplicated concert, so event_url and buy_url may be theirs (source_event_urls are the source's own). Null without url.

source_buy_url

With url: the published purchase link when it is known to be that source's own, that is when no other organiser lists the concert (other_sources is false). Null without url, when other organisers list the concert too, or when there is no link.

pagination
Fields in pagination

page

page_size

total

total_pages

all

next

generated_at

message

One concert

GET /api/v1/concerts/{id}

Get one upcoming concert by the id from a concert list, with the source’s description.

curl 'https://classicalbot.com/api/v1/concerts/123456'
Response fields
concert
Fields in concert
artists

Performer names, separated by semicolons.

venue_name

Venue or hall name.

state

Currently unavailable.

venue_address

Venue address.

buy_url

Ticket or reservation link.

id

ClassicalBot concert ID.

event_url

Concert page URL.

event_status

Concert status. Values: scheduled, cancelled, postponed, rescheduled.

last_verified_at

When the concert was last verified.

country_code

Two-letter country code.

city_id

ClassicalBot city ID.

venue_id

ClassicalBot venue ID.

parent_venue_name

Parent venue or building name.

longitude

Venue longitude.

programme

Programme summary.

programme_items

Works and their composers.

Fields in programme_items

id

title

programme_label

catalogue_number

composer
Fields in composer

id

name

composers

Composers featured in the concert.

Fields in composers

id

name

performers

Performers and their roles.

Fields in performers

id

name

kind

Values: person, ensemble.

roles

instruments

voice_type

character

ensemble

qualifier

identity_url

price_items

Price offers, currencies and conditions.

Fields in price_items

id

kind

Values: exact, from, range.

price_type

Values: admission, fee, suggested_donation.

amount

amount_max

currency

category

audience

conditions

basis

admission_type

Admission category.

booking_kind

Booking method. Values: purchase, reservation, .

booking_status

Booking availability. Values: unknown, on_sale, not_yet_on_sale, sold_out, box_office_only, not_required, .

on_sale_at

When booking opens.

source_id

ClassicalBot source ID.

source_event_urls

Concert links from its sources.

franchises

Film, TV and game soundtracks on the programme, dedicated links first. dedicated is true when the concert is devoted to that title's music, false when the programme merely includes some of it.

Fields in franchises

id

name

dedicated

other_sources

With url: true when organisers other than that source also list this deduplicated concert, so event_url and buy_url may be theirs (source_event_urls are the source's own). Null without url.

source_buy_url

With url: the published purchase link when it is known to be that source's own, that is when no other organiser lists the concert (other_sources is false). Null without url, when other organisers list the concert too, or when there is no link.

description

The source's description of the concert, when it has one.

generated_at

Concert summaries

GET /api/v1/concerts/summary

Count upcoming concerts matching any concert filters, grouped by country, city, venue, performer, composer, work, soundtrack or month. For example: where Mahler is played most, or which Bruckner symphonies are on in Vienna this spring.

curl 'https://classicalbot.com/api/v1/concerts/summary?composer_id=34&group_by=country&limit=5'
Response fields

group_by

total

Matching upcoming concerts.

groups
Fields in groups
key

Group ID (country code, YYYY-MM month, or ClassicalBot ID).

label

count

generated_at

Find composers

GET /api/v1/composers

Search composers by name. Use the returned ID as composer_id.

curl 'https://classicalbot.com/api/v1/composers?q=mahler'
Response fields
items
Fields in items

name

upcoming_concerts

Upcoming concerts.

profile_url

Composer profile page with a season playlist, where one exists.

site_url

Page on classicalbot.com listing its concerts.

pagination
Fields in pagination

page

page_size

total

total_pages

next

generated_at

Find works

GET /api/v1/works

Search works by title, catalogue number or composer, or list a composer’s works with composer_id. Use the returned ID as work_id.

curl 'https://classicalbot.com/api/v1/works?q=mahler+symphony+2'
Response fields
items
Fields in items

title

catalogue_number

composer
Fields in composer

name

upcoming_concerts

Upcoming concerts.

site_url

Page on classicalbot.com listing its concerts.

pagination
Fields in pagination

page

page_size

total

total_pages

next

generated_at

Find soundtracks

GET /api/v1/franchises

Search film, TV and game soundtracks performed in concert, or list them all. Use the returned ID as franchise_id.

curl 'https://classicalbot.com/api/v1/franchises?q=zelda'
Response fields
items
Fields in items

name

slug

upcoming_concerts

Upcoming concerts dedicated to this title.

featuring_concerts

Upcoming concerts including its music, dedicated or not.

site_url

The soundtrack's page on classicalbot.com.

pagination
Fields in pagination

page

page_size

total

total_pages

next

generated_at

Find cities

GET /api/v1/cities

Search cities by name. Use the returned ID as city_id.

curl 'https://classicalbot.com/api/v1/cities?q=prague&country_code=CZ'
Response fields
items
Fields in items

name

local_name

country_code

latitude

longitude

external_source

external_id

ID in the external source.

upcoming_concerts

Upcoming concerts.

pagination
Fields in pagination

page

page_size

total

total_pages

next

generated_at

Find performers

GET /api/v1/performers

Search performers by name. Use the returned ID as performer_id.

curl 'https://classicalbot.com/api/v1/performers?q=mozart&has_upcoming=true'
Response fields
items
Fields in items

name

kind

ensemble_type

identity_url

upcoming_concerts

Upcoming concerts.

pagination
Fields in pagination

page

page_size

total

total_pages

next

generated_at

Find venues

GET /api/v1/venues

Search venues by name. Use the returned ID as venue_id.

curl 'https://classicalbot.com/api/v1/venues?q=hall&country_code=GB'
Response fields
items
Fields in items

name

country_code

city
Fields in city

name

country_code

address

identity_url

latitude

longitude

parent_venue
Fields in parent_venue

name

upcoming_concerts

Upcoming concerts.

pagination
Fields in pagination

page

page_size

total

total_pages

next

generated_at

One composer

GET /api/v1/composers/{id}

A composer with the countries where their music is played most and their most performed works.

curl 'https://classicalbot.com/api/v1/composers/34'
Response fields
item
Fields in item

name

upcoming_concerts

Upcoming concerts.

profile_url

Composer profile page with a season playlist, where one exists.

site_url

Page on classicalbot.com listing its concerts.

countries

Up to ten countries with most upcoming concerts.

Fields in countries

country_code

name

count

top_works

The twenty most performed works.

Fields in top_works

title

catalogue_number

upcoming_concerts

Upcoming concerts.

site_url

Page on classicalbot.com listing its concerts.

generated_at

One work

GET /api/v1/works/{id}

A work with the countries where it is played most.

curl 'https://classicalbot.com/api/v1/works/5152'
Response fields
item
Fields in item

title

catalogue_number

composer
Fields in composer

name

upcoming_concerts

Upcoming concerts.

site_url

Page on classicalbot.com listing its concerts.

countries

Up to ten countries with most upcoming concerts.

Fields in countries

country_code

name

count

generated_at

One soundtrack

GET /api/v1/franchises/{id}

A soundtrack with the countries where it is played most.

curl 'https://classicalbot.com/api/v1/franchises/11'
Response fields
item
Fields in item

name

slug

upcoming_concerts

Upcoming concerts dedicated to this title.

featuring_concerts

Upcoming concerts including its music, dedicated or not.

site_url

The soundtrack's page on classicalbot.com.

countries

Up to ten countries with most upcoming dedicated concerts.

Fields in countries

country_code

name

count

featuring_countries

Up to ten countries with most upcoming concerts including its music, dedicated or not.

Fields in featuring_countries

country_code

name

count

generated_at

Concert response reference

Missing values are null or empty arrays. IDs and prices are strings.

artists

Performer names, separated by semicolons.

venue_name

Venue or hall name.

state

Currently unavailable.

venue_address

Venue address.

buy_url

Ticket or reservation link.

id

ClassicalBot concert ID.

event_url

Concert page URL.

event_status

Concert status. Values: scheduled, cancelled, postponed, rescheduled.

last_verified_at

When the concert was last verified.

country_code

Two-letter country code.

city_id

ClassicalBot city ID.

venue_id

ClassicalBot venue ID.

parent_venue_name

Parent venue or building name.

longitude

Venue longitude.

programme

Programme summary.

programme_items

Works and their composers.

Fields in programme_items

id

title

programme_label

catalogue_number

composer
Fields in composer

id

name

composers

Composers featured in the concert.

Fields in composers

id

name

performers

Performers and their roles.

Fields in performers

id

name

kind

Values: person, ensemble.

roles

instruments

voice_type

character

ensemble

qualifier

identity_url

price_items

Price offers, currencies and conditions.

Fields in price_items

id

kind

Values: exact, from, range.

price_type

Values: admission, fee, suggested_donation.

amount

amount_max

currency

category

audience

conditions

basis

admission_type

Admission category.

booking_kind

Booking method. Values: purchase, reservation, .

booking_status

Booking availability. Values: unknown, on_sale, not_yet_on_sale, sold_out, box_office_only, not_required, .

on_sale_at

When booking opens.

source_id

ClassicalBot source ID.

source_event_urls

Concert links from its sources.

franchises

Film, TV and game soundtracks on the programme, dedicated links first. dedicated is true when the concert is devoted to that title's music, false when the programme merely includes some of it.

Fields in franchises

id

name

dedicated

other_sources

With url: true when organisers other than that source also list this deduplicated concert, so event_url and buy_url may be theirs (source_event_urls are the source's own). Null without url.

source_buy_url

With url: the published purchase link when it is known to be that source's own, that is when no other organiser lists the concert (other_sources is false). Null without url, when other organisers list the concert too, or when there is no link.

Limits

The API allows 60 requests per minute per IP, including up to five requests with all=true. On HTTP 429, wait the number of seconds in Retry-After before retrying.

Results are cached for up to two minutes. generated_at shows when the response data was loaded.

Understanding the data

Dates, times and availability

Results include concerts from today onward, using the UTC date. Concert dates use YYYY-MM-DD and times use local HH:mm:ss. Other timestamps are in UTC.

Check event_status for cancellations or schedule changes. Missing prices do not mean free admission.

IDs and search

Use the IDs returned by the lookups. Keep them as strings. To match several, separate IDs with commas: composer_id=34,89 finds concerts with Mahler or Bruckner.

Search matches part of a name, ignoring case and accents, and puts the most performed match first among equals. Every lookup result has upcoming_concerts; add has_upcoming=true to find only results with upcoming concerts.

Soundtracks

A concert is dedicated to a film, TV or game title when it is devoted to that music, such as a screening with live orchestra. franchise_id finds dedicated concerts; add featuring=true to include programmes that merely play some of it. Each concert lists its franchises with a dedicated flag.

Sources

Use url to get concerts from a source website.

Requesting a website ClassicalBot does not know yet queues it for processing.

HTTP 202 means the source is still being processed. Wait 60 seconds before checking again.

Need help with an integration? Contact us.