The Drama Nerds Database

API

A free, public, read-only API over everything on this site. JSON, versioned, paginated, no key, no sign-up. The facts are CC0. The parts that are not ours to give away are marked, and this page says which and why.

We are still new, we are figuring some things out and we are still filling in the data. Expect gaps and the occasional mistake, and check the coverage before you rely on it.

Describes /api/v1. For the downloads in plain words, see the data page.

The short version

  • GET /api/v1/works/the-black-crook returns one show as JSON. Every other endpoint works the same way.
  • You can download the whole catalog and follow a feed of what changes.
  • Facts are CC0. Take them, sell them, no attribution required.
  • Prose arrives only if you ask, and carries its own license per field.
  • 47,535 passages quoted from books in copyright are never served. You get the citation.
  • Image files are under their own terms, per image. Read them.
  • 60 requests a minute. Everything carries an ETag, so a client that caches rarely reaches the limit.

What's in it

TierCountWhat it holds
Works10,318 Held at the work level
Productions13,372 1,638 belong to a work we hold; the rest are served with inScope: false
People33,477 Creators and performers, with credits
Venues338 Buildings, with addresses and dates
Albums3,948 Releases, with catalog numbers and identifiers
Images12,680 Metadata always; files under their own licenses

/api/v1/coverage returns these numbers and, in the same response, says where the data is thin. Read it before you build on a count.

Start here

curl -H 'Accept: application/json' \
     'https://www.dramanerds.com/api/v1/works?per_page=5'

Every response has the same shape.

{
  "data":    { … }  or  [ … ],
  "meta":    { "page": 1, "perPage": 50, "total": 10318, "pages": 207 },
  "links":   { "self": "…", "next": "…", "prev": null },
  "licence": { "data": "CC0-1.0", … }
}

Every response carries the license terms, including single records and error responses, under the key licence. If you are building something that redistributes this data, it is the field to read.

Every record carries its provenance

"provenance": {
  "sources": ["https://www.ibdb.com/broadway-production/the-black-crook-12518"],
  "lastVerified": "2026-08-14",
  "external": { "ibdb": "…", "wikipedia": "…" }
}

A record with no recorded source carries an empty array rather than dropping the key, so the absence survives a copy into your own database.

Shows, productions, people, venues and albums also carry a permanentId, which never changes, and updatedAt, which is when the change feed last saw the record change.

Endpoints

Generated from the running route table. If it is listed here, it exists.

service

RouteWhat it returns
GET /api/v1 Service information and links to every top-level list.
GET /api/v1/ Service information and links to every top-level list.
GET /api/v1/openapi.json This API described in OpenAPI 3.1.

changes

RouteWhat it returns
GET /api/v1/changes What was created, changed, merged or removed since a point you name.
since type market per_page

exports

RouteWhat it returns
GET /api/v1/exports The whole catalog as files to download.
GET /api/v1/exports/{filename} One download file.

works

RouteWhat it returns
GET /api/v1/works A page of shows.
type era year year_from year_to sort page per_page include
GET /api/v1/works/{wid} One show.
GET /api/v1/works/{wid}/albums Recordings of one show.
GET /api/v1/works/{wid}/images Images of one show.
GET /api/v1/works/{wid}/licensing Who licenses one show for performance, and where that was read.
GET /api/v1/works/{wid}/productions Productions of one show.

productions

RouteWhat it returns
GET /api/v1/productions A page of productions. Filter with ?in_scope=true for the ones tied to a show.
market in_scope production_type venue year year_from year_to city sort page per_page include
GET /api/v1/productions/{pid} One production.
GET /api/v1/productions/{pid}/cast The cast and creative team of one production.
GET /api/v1/productions/{pid}/images Images of one production.

people

RouteWhat it returns
GET /api/v1/people A page of people.
role born_from born_to sort page per_page include
GET /api/v1/people/{pid} One person.
GET /api/v1/people/{pid}/credits Everything one person is credited on.
GET /api/v1/people/{pid}/images Images of one person.

venues

RouteWhat it returns
GET /api/v1/venues A page of theatres.
active category page per_page include
GET /api/v1/venues/{vid} One theatre.
GET /api/v1/venues/{vid}/images Images of one theatre.
GET /api/v1/venues/{vid}/productions Productions that played one theatre.

albums

RouteWhat it returns
GET /api/v1/albums A page of recordings.
territory work page per_page include
GET /api/v1/albums/{aid} One recording, with the production it documents.
GET /api/v1/albums/{aid}/images Images of one recording.

images

RouteWhat it returns
GET /api/v1/images A page of image records. Metadata only; files carry their own terms.
tier image_type entity licence page per_page include
GET /api/v1/images/{iid} One image record, with its credit and license.

licensing

RouteWhat it returns
GET /api/v1/licensing Which house licenses each show for performance.
page per_page include

collections

RouteWhat it returns
GET /api/v1/collections The site's collections, as data.
page per_page include
GET /api/v1/collections/{slug} One collection and its members.

search

RouteWhat it returns
GET /api/v1/search Titles and names, prefix-weighted.
q type page per_page include

coverage

RouteWhat it returns
GET /api/v1/coverage What each kind of record holds, and where a field is empty.

license

RouteWhat it returns
GET /api/v1/licence The API terms, as data. The full text is at /api/v1/licence.md.
GET /api/v1/licence.md The API terms, as readable text.
GET /api/v1/license The API terms, as data. The full text is at /api/v1/licence.md.

OpenAPI 3.1 description, generated the same way.

Conventions

  • Pagination: ?page=1&per_page=50, maximum 100. Follow links.next rather than computing offsets.
  • Filtering: listed per endpoint above. Unknown parameters are ignored; an unknown sort or include is a 400 with the allowed values in the body, because silently sorting by something else is worse than failing.
  • Sorting: ?sort=year, ?sort=-year to reverse.
  • Run length ranks one city: on /productions, ?sort=-performances ranks Broadway runs, or London runs with &city=west-end. The two cities are never ranked together. city is broadway or west-end, defaults to broadway (or to market when you set that to one of the two), and filters the list to that city with any other sort as well. A production counts for a city when its own market and its theatre's city agree.
  • Caching: ETag on everything, Cache-Control: public, max-age=3600. Send If-None-Match; a 304 counts as a request but costs the server almost nothing.
  • Errors: always JSON under /api/v1, never the site's HTML error page. {"error": {"status": 404, "code": "not_found", "message": "…"}}
  • CORS: Access-Control-Allow-Origin: *. Call it from a browser.
  • Read-only: GET and HEAD. Anything else is 405.

Download it all, then keep it current

  1. Get /api/v1/exports. It lists the files for shows, productions, people, venues and albums, and gives you a cursor. Each file is gzipped JSON with one record per line. Productions include their cast.
  2. Download the files it lists.
  3. Ask for /api/v1/changes?since= followed by that cursor. Save meta.next, and send it as since next time. While meta.hasMore is true, follow links.next.
EventWhat to do
created, updated, restored Fetch the record at href.
renamed The id changed. The permanentId did not.
merged Move what you hold to mergedInto.
removed The record is gone. Asking for it returns 410.

The catalog is rebuilt once a day. Add &type=production or &market=west-end to hear about only those. The history begins on the day the feed started, so begin with a download.

The license

Read this part before you redistribute anything. The data is a mixture of material under at least four sets of terms, and a single blanket license over the output would be a claim nobody here can support.

Not written by a lawyer

Drafted with care and with sources, by someone unqualified to give legal advice. The full text with citations is at /api/v1/licence.md.

LayerLicenseHow you get it
Facts
titles, dates, casts, credits, venues, catalog numbers, song titles, identifiers
CC0 1.0
no conditions
Default. Every response.
Prose
synopses, biographies, venue histories
Per field
mostly CC BY-SA 4.0
?include=prose
Book text
47,535 quoted passages
Not served Never. Counts and citations only.
Image files Per image Metadata always; pixels under their own terms

The default response is single-license. You have to ask for the mixed layer, and when you do, every field arrives carrying its own terms rather than inheriting one. You cannot accidentally mix them.

Why CC0 and not CC BY

Facts aren't copyrightable in the United States: Feist Publications v. Rural Telephone Service, 499 U.S. 340 (1991), which also killed the "sweat of the brow" idea that effort alone earns protection. So for most of this, CC0 declares what was already true.

The EU and UK are the reason it matters anyway. The sui generis database right under Directive 96/9/EC protects substantial extraction from a database that took substantial investment, for fifteen years, restarting on substantial change; the UK kept it after Brexit. It doesn't care about Feist. CC0 waives it explicitly and a bare copyright license doesn't, so a European reuser never has to run the argument.

What we cannot license

Book quotations. Records here carry 47,535 passages quoted word for word from books about theatre that are still in copyright. Quoting one beside the record it illuminates is an ordinary use. Handing over all of them, machine-readable, in bulk, is a different act with a much worse argument. So the API serves the citation and withholds the text:

"withheld": {
  "trivia": {
    "count": 4,
    "reason": "Verbatim text from a book still in copyright. …",
    "citations": ["book:showtime-a-history-of-the-broadway-musical-theatre-larry-stempel#p13"]
  }
}

A bibliography is a fact. You learn that Stempel discusses this show and on which page. The block is there so a client can tell "no book discusses this" from "the text is withheld".

Two fields with no provenance at all. funFact and taglines were hand-entered upstream with no source recorded. They are served only on request and marked "licence": "unresolved", because we do not know that we have the right to license them to you.

Images, in detail

The license on a response does not cover image files. Metadata about an image is factual and CC0; the pixels are not ours to license.

  • 2,703 images require attribution. licence.attributionRequired, licence.creator and licence.credit are in every record. A CC BY or CC BY-SA image published without its credit is a breach of its license. Rendering the credit is your job.
  • 4,846 images have no license statement of any kind. Mostly Cover Art Archive, whose site says only that all images are copyrighted by their owners. That string is passed through verbatim rather than normalized to null, so you can tell a source that said nothing from a value nobody recorded.
  • 258 are served blurred. Commons flags a costume, personality or trademark right the photographer never held and so couldn't license away. rendering: "blurred" says so. The unblurred file is not reachable through this API.
  • Some sources stated no license at all: not a permissive one, not a restrictive one, none. Those images are served with a URL, and their silence is served with them: licence.stated verbatim, plus licence.publicationCleared. That field is a fact, not a verdict: it does not mean the image is cleared, and it does not mean you may not use it. It means the source said nothing about a license.
  • Permission to use is not permission to alter. licence.cropPolicy carries per-source crop terms. unknown is not permission.

Which fields are in which layer

This table is the same structure the serializer runs. It cannot be wrong about what the API does, because it is what the API does.

work

CC0
closingDate description era form openingDate performances previews pulitzer revivalOf season songs status themes title tonyCategories tonyNominations tonyWins venueId venueName wonBestMusical year
?include=prose
funFact unresolved · history CC-BY-SA-4.0 · synopsis CC-BY-SA-4.0 · taglines unresolved
not served
excerpts openingNight productionNotes quotes trivia

production

CC0
closingDate era market openingDate performances previews productionType status tonyCategories tonyNominations tonyWins venueId venueName wonBestMusical wonBestPlay wonBestRevivalOfMusical wonBestRevivalOfPlay year
?include=prose
history CC-BY-SA-4.0 · taglines unresolved
not served
excerpts openingNight productionNotes quotes trivia

person

CC0
birthYear deathYear name roles
?include=prose
bio CC-BY-SA-4.0
not served
excerpts

venue

CC0
address altNames architect architecturalStyle capacity category closedYear coordinates isActive landmark name openedYear owner
?include=prose
history CC-BY-SA-4.0
not served
excerpts

album

CC0
catalogueNumber identifierNote identifiers label labelsNote labelsStated releaseDate territory title

A field that is not in this table is not served. The table is an allowlist rather than a denylist, because the worst an allowlist can do is miss a field, and the worst a denylist can do is publish 47,535 paragraphs of somebody else's book under CC0.

Rate limits, and what to do instead

60 requests per 60 seconds per client. 20 for /search, which is heavier. Both are per worker process, so in practice roughly double. The limit exists to stop one scraper saturating a small machine.

Over the limit is a 429 with retryAfter in the body. Every response carries X-RateLimit-Remaining.

The numbers follow what comparable sites do. MusicBrainz throttles anonymous clients to about one request a second and returns 503 above it. Open Library allows one a second unidentified, three with a User-Agent carrying a contact address, and says plainly that its API is for "human-facing discovery and lookup services" rather than bulk harvesting.

Set a User-Agent with a way to reach you. Nothing enforces it today. If this gets abused, identified clients are the ones that keep working.

If you want all of it, download it. The files are quicker for you than thousands of requests.

What's not in it

  • No bootleg links, ever. A show's page records that unauthorized recordings exist. The site has never held a link to one and never will.
  • No Recording tier yet. The model is Work → Production → Recording → Release. Albums currently hang off works directly, with nothing between them. /api/v1/coverage names this as a gap.
  • No write access. Corrections go through the site.
  • Nothing about a person that is not a public professional credit.

Stability

Store permanentId.

It never changes, and it is never given to a second record.

Every show, production, person, venue and album has a permanentId, such as P-002TX. The id is the readable address, such as the-black-crook, and it can change when we correct or merge a record. Record URLs accept either one. A renamed or merged record redirects to its new address.

The terms are stable too

/api/v1 will not become more restrictive than it is today. If terms have to change it becomes /api/v2, and v1 keeps answering under these terms for at least twelve months. CC0 is irrevocable in any case: what you already have, you keep.

Full license text · OpenAPI · Downloads and changes · Coverage and gaps · Site terms