Alan Partridge Scripts and Quotes

Developer API

Every transcript on this site is available as JSON. It is free, read-only, needs no API key, and is open to any origin. Currently 12 episodes and 3,532 lines of dialogue.

Fetch it, don't search it

The whole corpus is around 47,000 words, and a single episode about 5,000. There is deliberately no search endpoint — it is cheaper and more reliable to request the episodes you want and read them in full. If you are pointing a language model at this data, give it /llms.txt and let it fetch episodes directly.

Endpoints

Base URL https://alanpartridgescripts.co.uk. The .json extension is optional.

Path Returns
/api/v1/index.json Discovery document listing every endpoint.
/api/v1/programmes.json All programmes.
/api/v1/programmes/{programme}.json One programme, with its series and their episodes.
/api/v1/series.json Every series.
/api/v1/series/{programme}/{series}.json One series, with its episodes.
/api/v1/episodes.json Every episode, without transcripts.
/api/v1/episodes/{programme}/{series}/{episode}.json One episode, with its full transcript.
/api/v1/characters.json Every character appearing in the transcripts.

Example

curl https://alanpartridgescripts.co.uk/api/v1/episodes/im-alan-partridge/series-1/episode-1-a-room-with-an-alan.json

Each line carries both text, the line as authored in markdown where _italics_ mark stage directions, and dialogue, the same line as plain text.

Machine-readable

Fair use

Transcripts remain the property of their respective copyright holders, including the BBC, Baby Cow Productions and TalkBack Productions, and are provided under fair dealing for informational and entertainment purposes. Please attribute alanpartridgescripts.co.uk if you use this data.

No results found.

Hang on... got it written down here somewhere.

Search for a line from any Alan Partridge script.