# Authentication > API keys, how to send them, and how to keep them safe. Source: https://www.podcastlookup.com/documentation/authentication Every REST call and every MCP request is authenticated with an **API key** created on your [account page](https://www.podcastlookup.com/account/api-keys). The same key works for both. ## Sending your key Use the standard bearer header: ```http Authorization: Bearer pl_… ``` If your client can't set `Authorization`, the `X-API-Key` header works too: ```http X-API-Key: pl_… ``` Never put the key in a query string: URLs end up in logs. ## Key format - Keys start with `pl_` followed by 40 random characters. - Each key has a name of your choice (up to 50 characters), so you can tell them apart. - You can create 1 key on Free, up to 10 on Pro and 50 on Business. Keys stop working while a subscription payment is past due. ## What a key gives access to A key acts as **your account**: its credits, its rate limit and its plan. All your keys share the same monthly credits, so creating more keys does not add credits. Use separate keys per machine or app so you can revoke one without touching the others. ## Storage and revocation We store only a fingerprint of each key, never the key itself. The full key is shown once, when you create it. To revoke a key, delete it on your [account page](https://www.podcastlookup.com/account/api-keys). Requests with that key fail with `401 invalid_api_key` immediately. ## Calling from the browser The REST API answers CORS preflights and allows every origin, because keys travel in headers and never in cookies. That means **your key is visible to anyone who opens your page**. Call the API from a server, a serverless function or a script whenever the key must stay private. > **Important: Leaked a key?** > > Revoke it on your account page, then create a new one. Usage already spent is not refunded, so revoke quickly. # Core concepts > Podcasts, episodes, identifiers, feeds and where transcripts come from. Source: https://www.podcastlookup.com/documentation/concepts ## Podcasts A podcast is a public RSS feed. The directory covers about 4.7 million of them in 128 languages and is refreshed daily: titles, authors, artwork, categories, languages, hosting provider, episode counts and the date of the newest episode. Podcasts are identified by a positive **integer id**, for example `8017674`. Ids are stable: store them. > **Note: Episode counts over 1,000** > > Counts from the directory stop at 1,000. When `episode_count_is_minimum` is `true`, the show has at least that many episodes; list its episodes for the exact number. ## Episodes Episodes are read **from each show's own feed**, on demand: - The first time anyone lists a podcast's episodes, we download its feed and store every episode. That first call can take a few seconds for large feeds. - After that, episodes are served from storage. `checked_at` tells you when the feed was last read. - To pick up an episode published minutes ago, [refresh the podcast](https://www.podcastlookup.com/documentation/rest-api/refresh-episodes.md). Episodes are identified **within their podcast** by a short string **id** made of its title and a short hash (for example `the-future-of-audio-3f9a1c2b7e`). Always take it from the episodes list rather than building it yourself. An episode is always addressed as podcast id + episode id. The episode's `guid` from the feed is also returned for matching with your own data. ## Transcripts An episode's transcript comes from one of two sources, given by `source`: | Source | What you get | | --- | --- | | `podcast_lookup` | Our transcript: language, speakers (name and role, such as host or guest), and segments with `speaker`, `start_seconds`, `end_seconds` and `text`. | | `publisher` | The transcript the show publishes in its own feed (WebVTT, SRT, JSON, HTML or text), read into the same segments. Speakers are as the file labels them, often `Speaker 1`, `Speaker 2` or none, and plain-text files may have no timestamps. The original files are in `files`. | We read the publisher's transcript when you first ask for it. Our own transcript replaces it once we transcribe the episode. When there is neither, you can **request a transcript**. Requests are counted per episode: the more an episode is requested, the sooner it is transcribed. ## Search Search matches words in titles, authors and descriptions, ranks the best matches first, and falls back to fuzzy matching when nothing matches exactly (`fuzzy_match: true`). Filters with several values (`lang=fr&lang=en`) match podcasts having **any** of them; different filters combine with **and**. Totals above 10,000 are approximate (`total_is_lower_bound: true`), and results stop at page 417. ## Links back to the website Most responses include a `url` to the matching page on the website, handy for showing a "View on Podcast Lookup" link to your users. # Credits & limits > What each call costs, monthly allowances, per-minute limits and how to track them. Source: https://www.podcastlookup.com/documentation/credits-and-limits ## Credits Every account can use REST and MCP keys: without a subscription you're on the **Free** plan, with 50 credits a month and 1 key, to try things out. **One REST call or one MCP tool call costs one credit**, whatever it returns, including calls that end in a `4xx` error after authentication (a missing podcast, an invalid parameter). Connecting an MCP client and listing its tools is free. The one exception is a [transcription request](https://www.podcastlookup.com/documentation/rest-api/request-transcript.md) on Pro or Business, which goes straight into the queue: it costs **one credit per minute of audio** (at least 10, an hour when the length is unknown), taken from your monthly allowance. If the allowance doesn't cover it, the request costs one credit and waits for review like on other plans. Credits reset on the **1st of each month at 00:00 UTC**. Unused credits don't roll over. | Plan | Price / month (USD) | Credits / month | Calls / minute | API keys | Extra credits | | --- | --- | --- | --- | --- | --- | | Free | $0 | 50 | 10 | 1 | None | | Pro | $100 | 10,000 | 600 | 10 | $20 / 1,000 | | Business | $499 | 100,000 | 1,800 | 50 | $8 / 1,000 | [Compare plans](https://www.podcastlookup.com/pricing.md) or upgrade from your [account](https://www.podcastlookup.com/account). ## Rate limits On top of the monthly credits, each account has a per-minute limit: a sliding window over the last 60 seconds, shared by all your keys and by REST and MCP together. Going over returns `429 rate_limited` with a `Retry-After` header (in seconds). Refreshing a podcast's episodes is also limited to **once a minute per podcast**, for everyone, so feeds aren't hammered. A refresh that comes too soon returns `429 refresh_too_soon` with `Retry-After`. ## Usage headers Every successful REST response carries your usage after the call: | Header | Example | Meaning | | --- | --- | --- | | `X-Credits-Limit` | `10000` | Credits in your monthly allowance | | `X-Credits-Remaining` | `9873` | Credits left this month | | `X-Credits-Reset` | `2027-01-01T00:00:00.000Z` | When the allowance resets | | `X-Credits-Overage-Used` | `1250` | Extra credits used this month (paid plans, once there are any) | | `X-Credits-Overage-Remaining` | `48750` | Extra credits still available before calls stop | These headers are exposed to browsers through CORS. To check usage without guessing, call [`GET /me`](https://www.podcastlookup.com/documentation/rest-api/get-usage.md) (or the `get_usage` MCP tool), which itself costs a credit. ## When credits run out On **Pro and Business**, calls keep working past the monthly allowance. Each extra credit is billed with your next invoice, at the plan's price per 1,000 (see the table above), up to a monthly cap so a runaway script can't run up a large bill: | Plan | Extra credits | Cap per month | | --- | --- | --- | | Pro | $20 / 1,000 | 50,000 | | Business | $8 / 1,000 | 500,000 | If you often go past your allowance, the next plan up is usually cheaper. Priority transcription requests only use the allowance, never extra credits. On **Free**, and once a paid plan reaches its cap, calls return `402 credits_exhausted` until the reset date or until you upgrade. The website keeps working normally. ## Staying efficient - Use `page_size=100` when listing episodes instead of paging through 25 at a time. - Cache podcast and episode details: they change rarely. Transcripts never change once available. - Use filters (`lang`, `category`, `transcribed=1`) rather than fetching broad results and filtering locally. - Respect `Retry-After` on `429` instead of retrying in a loop: retries count against the per-minute limit. # Errors > Error format, every error code, and how to handle each. Source: https://www.podcastlookup.com/documentation/errors Errors use standard HTTP status codes and a JSON body with a stable, machine-readable `code` and a human-readable `message`: ```json { "error": { "code": "credits_exhausted", "message": "All 50 credits of this month on the Free plan are used. Upgrade at https://www.podcastlookup.com/pricing or wait until 2027-01-01." } } ``` Branch on `code`, never on `message`: messages may be reworded. ## Error codes | Status | Code | What happened | What to do | | --- | --- | --- | --- | | 400 | `invalid_parameter` | A numeric parameter isn't an integer | Fix the request | | 400 | `invalid_podcast_id` | Podcast ids are positive integers | Use an `id` from search | | 400 | `invalid_episode_id` | Empty or too long episode id | Use an `id` from the episodes list | | 400 | `invalid_page` / `invalid_page_size` | `page` < 1, or `page_size` outside 1–100 | Fix the request | | 400 | `too_many_values` | More than 10 values for one filter | Split the search | | 400 | `cannot_request` | The episode can't be transcribed (no audio) | Nothing to do | | 401 | `missing_api_key` | No key in the request | Send `Authorization: Bearer pl_…` | | 401 | `invalid_api_key` | The key is wrong, revoked or expired | Check or create a key | | 402 | `payment_past_due` | The last subscription payment failed | Update your card from your [account](https://www.podcastlookup.com/account) | | 402 | `credits_exhausted` | The month's credits (and any extra credits) are spent | Wait for the reset or upgrade | | 403 | `email_not_verified` | The account's email isn't confirmed | Confirm it from the email we sent | | 404 | `podcast_not_found` | No podcast with this id | Check the id | | 404 | `episode_not_found` | The episode isn't stored | [List episodes](https://www.podcastlookup.com/documentation/rest-api/list-episodes.md) first | | 404 | `transcript_not_available` | No transcript for this episode yet | [Request one](https://www.podcastlookup.com/documentation/rest-api/request-transcript.md) | | 429 | `rate_limited` | Per-minute limit reached | Wait `Retry-After` seconds | | 429 | `refresh_too_soon` | Podcast refreshed less than a minute ago | Wait `Retry-After` seconds | | 500 | `internal_error` | Something broke on our side | Retry with backoff | | 502 | `feed_unavailable` | The podcast's own feed didn't answer | Retry later | ## Retrying Only retry `429`, `500` and `502`. For `429`, wait the number of seconds in `Retry-After`. For `5xx`, use exponential backoff (1 s, 2 s, 4 s…) and give up after a few attempts. ```ts async function call(url: string, init: RequestInit = {}, attempt = 0): Promise { const response = await fetch(url, { ...init, headers: { ...init.headers, Authorization: `Bearer ${process.env.PODCAST_LOOKUP_API_KEY}` }, }) const retryable = response.status === 429 || response.status >= 500 if (!retryable || attempt >= 4) return response const retryAfter = Number(response.headers.get("Retry-After")) const delay = retryAfter > 0 ? retryAfter * 1000 : 2 ** attempt * 1000 await new Promise((resolve) => setTimeout(resolve, delay)) return call(url, init, attempt + 1) } ``` ## MCP errors MCP tools return the same codes as text, with `isError: true`, for example `episode_not_found: No such episode. List the podcast's episodes first (that also reads its feed).` Agents read these messages and usually recover on their own. Authentication and subscription errors (`401`, `402`, `403`) are returned as HTTP errors before the MCP session starts. # FAQ > Answers to common questions about the API, the MCP server, credits and transcripts. Source: https://www.podcastlookup.com/documentation/faq ### Which podcasts are covered? Every public podcast: about 4.7 million shows in 128 languages, refreshed daily. Episodes are read from each show's own RSS feed when you ask for them. ### Is there an SDK? Not yet. The API is plain HTTPS and JSON, so `fetch`, `requests` or `curl` is all you need; the examples throughout this Documentation are copy-paste ready. For agents, the [MCP server](https://www.podcastlookup.com/documentation/mcp.md) is the SDK. ### Do failed calls cost credits? Calls rejected before they run don't: missing or invalid key, rate limited, or out of credits. Calls that run and return an error, such as an unknown episode or a missing transcript, cost one credit. ### Can I share credits across a team? Credits belong to an account, and all its keys share them. Create one key per person or app on the same account, so you can revoke them individually. ### How long does a transcript request take? It depends on demand: episodes requested more often are transcribed first. Check back daily; the transcript endpoint tells you the request status until it's ready. ### Can I download audio? Episodes include the publisher's `audio_url`. Audio is hosted by the publisher, not by us; respect their terms. ### Can I store what the API returns? Yes, and you should cache it: podcast details change rarely and transcripts never change once published. Link back to the podcast's `url` when you show our transcripts publicly. ### Why is an episode missing? We only know the episodes currently in the show's feed. Some shows remove old episodes from their feed, and some publish with a delay. Try [refreshing the podcast](https://www.podcastlookup.com/documentation/rest-api/refresh-episodes.md). ### Why do episode ids look like slugs? They are built from the episode's title plus a short hash of its guid, so they're readable in URLs and unique within the podcast. Treat them as opaque strings. ### How do I cancel my subscription? From your [account page](https://www.podcastlookup.com/account). Your subscription stays active until the end of the period you paid for. API and MCP access ends when the subscription expires. Still stuck? Look at the [error codes](https://www.podcastlookup.com/documentation/errors.md), or check your usage and keys on your [account page](https://www.podcastlookup.com/account). # Follow new episodes > Watch a list of podcasts and react when they publish. Source: https://www.podcastlookup.com/documentation/guides/new-episodes There are no webhooks yet, so following shows means checking them on a schedule. Done right, it costs one or two credits per show per check. ## The loop For each podcast you follow: 1. `POST /podcasts/:id/refresh`: re-reads the feed. The response says how many `new_episodes` it found. 2. If `new_episodes` > 0, `GET /podcasts/:id/episodes?page_size=` returns exactly the new ones, newest first. ```ts title="watch.ts" import { lookup } from "./lookup" // see "Transcripts end to end" const following = [8017674, 920666, 1234567] for (const podcastId of following) { try { const { new_episodes } = await lookup(`/podcasts/${podcastId}/refresh`, { method: "POST" }) if (new_episodes === 0) continue const { episodes } = await lookup(`/podcasts/${podcastId}/episodes?page_size=${Math.min(new_episodes, 100)}`) for (const episode of episodes) console.log("new:", episode.title, episode.url) } catch (error: any) { // refresh_too_soon: someone refreshed it in the last minute, the episodes are already fresh if (error.code !== "refresh_too_soon") console.error(podcastId, error.code, error.message) } } ``` ## How often? Most shows publish weekly. Checking **every few hours** is plenty, and keeps costs low: | Shows followed | Checks per day | Credits per month (approx.) | | --- | --- | --- | | 5 | 4 | 600 + new episodes | | 20 | 2 | 1,200 + new episodes | | 100 | 1 | 3,000 + new episodes | > **Warning: Mind the per-minute limit** > > On Free, 10 calls per minute means pausing between podcasts when you follow many. On Pro the limit is 600. ## Cheaper alternative for many shows Search with `updated_within=30d` and `sort=recent` shows which podcasts published recently, 24 at a time, refreshed daily for every show. Use it to decide which shows to refresh, instead of refreshing all of them. # Build a podcast search > A search box with filters on your own site, backed by the API. Source: https://www.podcastlookup.com/documentation/guides/search-ui Your key must stay secret, so the browser talks to **your** server, which calls Podcast Lookup. Here with a Next.js route handler; any backend works the same way. ```txt app/ api/ podcasts/ route.ts page.tsx ``` ### Proxy the search Forward only the parameters you allow, and cache results so repeated searches don't cost credits: ```ts title="app/api/podcasts/route.ts" const ALLOWED = ["q", "lang", "category", "sort", "page"] export async function GET(request: Request) { const incoming = new URL(request.url).searchParams const params = new URLSearchParams() for (const [key, value] of incoming) if (ALLOWED.includes(key)) params.append(key, value) const response = await fetch(`https://www.podcastlookup.com/api/v1/podcasts?${params}`, { headers: { Authorization: `Bearer ${process.env.PODCAST_LOOKUP_API_KEY}` }, next: { revalidate: 3600 }, // one credit per distinct search per hour }) return new Response(response.body, { status: response.status, headers: { "Content-Type": "application/json" } }) } ``` ### Fill the filters Call [`/facets`](https://www.podcastlookup.com/documentation/rest-api/list-filters.md) once at build time or once a day, and render `languages` and `categories` as select menus. ### Search as the user types Debounce input (300 ms or so) so each keystroke doesn't become a credit: ```tsx title="app/page.tsx" "use client" import { useEffect, useState } from "react" export default function Page() { const [q, setQ] = useState("") const [results, setResults] = useState([]) useEffect(() => { if (q.length < 2) return setResults([]) const timer = setTimeout(async () => { const response = await fetch(`/api/podcasts?q=${encodeURIComponent(q)}`) setResults((await response.json()).results ?? []) }, 300) return () => clearTimeout(timer) }, [q]) return ( <> setQ(event.target.value)} placeholder="Search podcasts" />
    {results.map((podcast) => (
  • {podcast.title}, {podcast.author}
  • ))}
) } ``` > **Note: Protect your credits** > > A public search box can be scripted by anyone. Add a rate limit per visitor on your proxy route, and cache aggressively. # Transcripts end to end > Fetch a show's transcripts, request the missing ones, and collect them as they arrive. Source: https://www.podcastlookup.com/documentation/guides/transcripts This guide builds a small script that, for one podcast: 1. lists its recent episodes, 2. downloads every transcript that exists, 3. requests the missing ones, 4. and, on later runs, picks up the ones that became available. ### Set up ```bash mkdir transcripts && cd transcripts export PODCAST_LOOKUP_API_KEY="pl_…" ``` A tiny client that sends the key and raises readable errors: ```ts title="lookup.ts" const BASE = "https://www.podcastlookup.com/api/v1" export async function lookup(path: string, init: RequestInit = {}): Promise { const response = await fetch(`${BASE}${path}`, { ...init, headers: { Authorization: `Bearer ${process.env.PODCAST_LOOKUP_API_KEY}` }, }) const body = await response.json() if (!response.ok) throw Object.assign(new Error(body.error.message), { code: body.error.code }) return body } ``` ### List recent episodes ```ts const { episodes } = await lookup(`/podcasts/${podcastId}/episodes?page_size=20`) ``` Each episode's `transcript` field says whether a transcript exists, so you don't spend a credit on episodes that have none. ### Fetch or request ```ts title="sync.ts" import { existsSync, writeFileSync } from "node:fs" import { lookup } from "./lookup" const podcastId = 8017674 const { episodes } = await lookup(`/podcasts/${podcastId}/episodes?page_size=20`) for (const episode of episodes) { const file = `${episode.id}.json` if (existsSync(file)) continue // already saved: transcripts never change if (episode.transcript) { const transcript = await lookup(`/podcasts/${podcastId}/episodes/${episode.id}/transcript`) writeFileSync(file, JSON.stringify(transcript, null, 2)) console.log("saved", episode.title) } else if (episode.audio_url) { const { request_count } = await lookup( `/podcasts/${podcastId}/episodes/${episode.id}/transcription-request`, { method: "POST" }, ) console.log("requested", episode.title, `(${request_count} requests)`) } } ``` ### Run it daily Run it once a day (cron, a scheduled CI job…). Each run lists episodes (1 credit), downloads new transcripts (1 credit each) and re-requests the missing ones, which moves them up the queue. ```bash 0 7 * * * cd ~/transcripts && npx tsx sync.ts >> sync.log 2>&1 ``` ## Cost For 20 episodes with 15 transcribed: 1 (list) + 15 (transcripts) + 5 (requests) = **21 credits** the first day, then **1 credit plus one per new transcript or request** each day after. > **Note: Publisher transcripts** > > When `transcript.source` is `publisher`, the transcript comes from the show's own feed: same segments, but speakers may be unnamed (`Speaker 1`, or `null`) and, when `timed` is `false`, timestamps are `null`. Handle both if you print `[hh:mm:ss] Speaker:` lines. # Introduction > Everything Podcast Lookup does on the website, from your code or your AI agent. Source: https://www.podcastlookup.com/documentation Podcast Lookup indexes about **4.7 million public podcasts** in 128 languages. Two interfaces give you the same data and the same capabilities: - **REST API**: plain HTTPS and JSON under `https://www.podcastlookup.com/api/v1`. Works from any language, any server, and from the browser (CORS is open). - **MCP server**: a [Model Context Protocol](https://modelcontextprotocol.io) endpoint at `https://www.podcastlookup.com/api/mcp`, so Claude, Cursor and other agents can search podcasts and read transcripts on their own. Both use the same API key and the same monthly credits. - [Quickstart](https://www.podcastlookup.com/documentation/quickstart.md): From zero to your first transcript in three requests. - [Connect an AI agent](https://www.podcastlookup.com/documentation/mcp.md): Claude Code, Claude Desktop, Cursor, VS Code and any MCP client. - [REST API reference](https://www.podcastlookup.com/documentation/rest-api.md): Nine endpoints, every parameter, every field. - [Credits & limits](https://www.podcastlookup.com/documentation/credits-and-limits.md): What a call costs, per-minute limits, and the headers that track them. ## What you can do | Task | REST | MCP tool | | --- | --- | --- | | Search podcasts with filters (language, category, host, activity…) | [`GET /podcasts`](https://www.podcastlookup.com/documentation/rest-api/search-podcasts.md) | `search_podcasts` | | List the values you can filter on | [`GET /facets`](https://www.podcastlookup.com/documentation/rest-api/list-filters.md) | `list_filters` | | Read one podcast's details | [`GET /podcasts/:id`](https://www.podcastlookup.com/documentation/rest-api/get-podcast.md) | `get_podcast` | | List a podcast's episodes and see which have transcripts | [`GET /podcasts/:id/episodes`](https://www.podcastlookup.com/documentation/rest-api/list-episodes.md) | `list_episodes` | | Pick up episodes published in the last minutes | [`POST /podcasts/:id/refresh`](https://www.podcastlookup.com/documentation/rest-api/refresh-episodes.md) | `refresh_episodes` | | Read one episode's description and audio URL | [`GET /podcasts/:id/episodes/:episode`](https://www.podcastlookup.com/documentation/rest-api/get-episode.md) | `get_episode` | | Read a speaker-labelled, timestamped transcript | [`GET …/transcript`](https://www.podcastlookup.com/documentation/rest-api/get-transcript.md) | `get_transcript` | | Ask for an episode to be transcribed | [`POST …/transcription-request`](https://www.podcastlookup.com/documentation/rest-api/request-transcript.md) | `request_transcript` | | Check your plan and remaining credits | [`GET /me`](https://www.podcastlookup.com/documentation/rest-api/get-usage.md) | `get_usage` | ## How it fits together ### Find a podcast Search returns podcast **ids** (integers) along with titles, languages, categories and whether we have transcripts. ### List its episodes The first time anyone asks, we read the show's RSS feed and store its episodes. Each episode gets a stable **id** (a short string). ### Read or request a transcript If the episode is transcribed you get every segment with its speaker and timestamps. If not, one call puts it in the transcription queue. > **Note: Searching on the website is free** > > Credits only apply to the REST API and the MCP server. Browsing and searching [the directory](https://www.podcastlookup.com/) is free and unlimited. # Connect a client > Copy-paste setups for Claude Code, Claude Desktop, Cursor, VS Code and any MCP client. Source: https://www.podcastlookup.com/documentation/mcp/clients You need an API key from your [account page](https://www.podcastlookup.com/account/api-keys). Replace `pl_…` below with it. **Claude Code** Run once in your terminal: ```bash claude mcp add --transport http podcast-lookup https://www.podcastlookup.com/api/mcp \ --header "Authorization: Bearer pl_…" ``` Add `--scope user` to use it in every project, or `--scope project` to share it with your team through `.mcp.json` (then keep the key in an environment variable, not in the file). Check the connection with `/mcp` inside Claude Code. **Claude Desktop** Open **Settings → Developer → Edit Config** and add the server to `claude_desktop_config.json`. Claude Desktop reaches remote servers through the `mcp-remote` bridge: ```json title="claude_desktop_config.json" { "mcpServers": { "podcast-lookup": { "command": "npx", "args": [ "-y", "mcp-remote", "https://www.podcastlookup.com/api/mcp", "--header", "Authorization: Bearer pl_…" ] } } } ``` Restart Claude Desktop. The tools appear under the tools icon in the chat box. **Cursor** Add to `~/.cursor/mcp.json` (every project) or `.cursor/mcp.json` (one project): ```json title="mcp.json" { "mcpServers": { "podcast-lookup": { "url": "https://www.podcastlookup.com/api/mcp", "headers": { "Authorization": "Bearer pl_…" } } } } ``` Then enable **podcast-lookup** in **Settings → MCP**. **VS Code** Add to `.vscode/mcp.json`. VS Code prompts for the key once and stores it securely: ```json title=".vscode/mcp.json" { "inputs": [ { "type": "promptString", "id": "podcast-lookup-key", "description": "Podcast Lookup API key", "password": true } ], "servers": { "podcast-lookup": { "type": "http", "url": "https://www.podcastlookup.com/api/mcp", "headers": { "Authorization": "Bearer ${input:podcast-lookup-key}" } } } } ``` Use it from Copilot Chat in agent mode. **Windsurf** Add to `~/.codeium/windsurf/mcp_config.json`: ```json title="mcp_config.json" { "mcpServers": { "podcast-lookup": { "serverUrl": "https://www.podcastlookup.com/api/mcp", "headers": { "Authorization": "Bearer pl_…" } } } } ``` **Other** Any client that supports **Streamable HTTP** and custom headers works: ```json title="mcp.json" { "mcpServers": { "podcast-lookup": { "type": "http", "url": "https://www.podcastlookup.com/api/mcp", "headers": { "Authorization": "Bearer pl_…" } } } } ``` For clients that only run local (stdio) servers, bridge with `npx -y mcp-remote https://www.podcastlookup.com/api/mcp --header "Authorization: Bearer pl_…"`. ## From your own code With the official TypeScript SDK: ```ts import { Client } from "@modelcontextprotocol/sdk/client/index.js" import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js" const client = new Client({ name: "my-app", version: "1.0.0" }) await client.connect( new StreamableHTTPClientTransport(new URL("https://www.podcastlookup.com/api/mcp"), { requestInit: { headers: { Authorization: `Bearer ${process.env.PODCAST_LOOKUP_API_KEY}` } }, }), ) const { tools } = await client.listTools() // free const result = await client.callTool({ name: "search_podcasts", arguments: { query: "history", languages: ["en"] } }) console.log(result.structuredContent) ``` ## Troubleshooting ### The client says 401 or fails to connect The key is missing, mistyped or revoked. Check that the header is exactly `Authorization: Bearer pl_…`, with no quotes around the key, and that the key still exists on your account page. ### Tools are listed but every call fails with credits_exhausted This month's credits are spent. Wait for the reset on the 1st (UTC) or upgrade on the [pricing page](https://www.podcastlookup.com/pricing.md). ### Calls fail with rate_limited The agent made more calls in a minute than your plan allows. Ask it to slow down or work on a narrower question; Pro allows 600 calls a minute. ### My client doesn't support remote servers Use the `mcp-remote` bridge shown in the Claude Desktop and Other tabs: it runs locally over stdio and forwards to the remote endpoint. # MCP server overview > Give Claude, Cursor and other AI agents direct access to podcasts, episodes and transcripts. Source: https://www.podcastlookup.com/documentation/mcp The [Model Context Protocol](https://modelcontextprotocol.io) (MCP) lets AI applications call tools on remote servers. Podcast Lookup runs an MCP server with the same capabilities as the [REST API](https://www.podcastlookup.com/documentation/rest-api.md), so an agent can search for shows, browse episodes and read transcripts by itself. ## Endpoint | | | | --- | --- | | URL | `https://www.podcastlookup.com/api/mcp` | | Transport | Streamable HTTP (stateless, JSON responses) | | Authentication | `Authorization: Bearer pl_…` (or `X-API-Key`) | | Server name | `podcast-lookup` | ## Cost Connecting and listing tools is **free**. Each **tool call costs one credit**, exactly like a REST call, from the same monthly allowance. > **Warning: Agents can be chatty** > > An agent researching a topic may make dozens of calls in one conversation. Start with a specific question, and keep an eye on usage in your [account](https://www.podcastlookup.com/account). ## Get started - [Connect a client](https://www.podcastlookup.com/documentation/mcp/clients.md): Claude Code, Claude Desktop, Cursor, VS Code, Windsurf and others. - [Tools reference](https://www.podcastlookup.com/documentation/mcp/tools.md): The ten tools and their arguments. - [Example prompts](https://www.podcastlookup.com/documentation/mcp/prompts.md): Questions that work well, and how the agent answers them. ## How agents use it The server tells clients its typical flow: `search_podcasts` → `list_episodes` → `get_transcript`, or `request_transcript` when none exists. Tools return JSON (both as text and as structured content), and errors come back as readable messages so the agent can recover, for example by listing episodes before asking for one. # Example prompts > Questions that work well with the MCP server, and what the agent does with them. Source: https://www.podcastlookup.com/documentation/mcp/prompts Once connected, just ask. The agent picks the tools; you don't need to name them. ## Discover shows > Find French podcasts about entrepreneurship that published something in the last 30 days, and rank them by popularity. The agent calls `list_filters` to find the right category id, then `search_podcasts` with `languages: ["fr"]`, `updated_within: "30d"` and `sort: "popular"`. **About 2 credits.** ## Summarise an episode > Summarise the latest episode of Lex Fridman's podcast, with the three most interesting quotes and their timestamps. `search_podcasts` → `list_episodes` (page size 1) → `get_transcript`. **3 credits.** Timestamps come straight from the transcript segments. ## Find who said it > Which podcasts talked about "joint ventures" this year? Quote who said it, with links. `search_transcripts` with `query: "\"joint venture\""` returns the episodes, the exact lines, the speakers and links to each moment. **1 credit** per page of 10 episodes. ## Research across episodes > Across the last ten episodes of The AI Hour, what did guests say about open-source models? Quote them. `search_podcasts` → `list_episodes` → `get_transcript` for each transcribed episode. **Around 12 credits.** Episodes without a transcript are skipped; ask the agent to request them. ## Fill the gaps > Which of the last 20 episodes of this show have no transcript? Request transcripts for them. `list_episodes` → `request_transcript` per missing episode. **One credit per request.** ## Stay current > Did Hard Fork publish a new episode today? If so, what's it about? `search_podcasts` → `refresh_episodes` → `list_episodes` → `get_episode`. **4 credits.** ## Tips - **Be specific.** "the last 5 episodes" costs far less than "all episodes". - **Name the language** when you want non-English shows; search is better with `languages`. - **Ask for sources.** Episodes and podcasts carry a `url` to their page, so the agent can cite them. - **Check usage** with "How many Podcast Lookup credits do I have left?" (`get_usage`, 1 credit). # Tools reference > The ten tools of the MCP server, their arguments and what they return. Source: https://www.podcastlookup.com/documentation/mcp/tools Every tool returns the same JSON as its [REST counterpart](https://www.podcastlookup.com/documentation/rest-api.md), as text and as `structuredContent`. Each call costs one credit. ## search_podcasts Full-text search with filters. 24 results per page. Same as [`GET /podcasts`](https://www.podcastlookup.com/documentation/rest-api/search-podcasts.md). | Field | Type | Default | Description | | --- | --- | --- | --- | | `query` | `string` | | Words to find in titles, authors and descriptions (max 200 characters). | | `languages` | `string[]` | | ISO 639-1 codes, e.g. ["fr", "en"]. Up to 10. | | `categories` | `string[]` | | Category ids from list_filters. Up to 10. | | `hosting_providers` | `string[]` | | Provider ids, e.g. ["ausha.co"]. Up to 10. | | `transcribed_only` | `boolean` | | Only podcasts with our transcripts. | | `updated_within` | `"30d" \| "90d" \| "1y"` | | Only podcasts active in that window. | | `min_episodes` | `integer` | | Minimum number of episodes. | | `explicit` | `"hide" \| "only"` | | Explicit content filter. | | `sort` | `"relevance" \| "popular" \| "recent" \| "episodes"` | | Result order. | | `page` | `integer` | `1` | Up to 417. | ## list_filters No arguments. Languages, categories and hosting providers with podcast counts. Same as [`GET /facets`](https://www.podcastlookup.com/documentation/rest-api/list-filters.md). ## get_podcast | Field | Type | Default | Description | | --- | --- | --- | --- | | `podcast_id` (required) | `integer` | | From search_podcasts. | Same as [`GET /podcasts/:id`](https://www.podcastlookup.com/documentation/rest-api/get-podcast.md). ## list_episodes | Field | Type | Default | Description | | --- | --- | --- | --- | | `podcast_id` (required) | `integer` | | From search_podcasts. | | `page` | `integer` | `1` | Page number. | | `page_size` | `integer` | `25` | 1 to 100. | Newest first, with each episode's transcript status. Reads the feed the first time. Same as [`GET /podcasts/:id/episodes`](https://www.podcastlookup.com/documentation/rest-api/list-episodes.md). ## get_episode | Field | Type | Default | Description | | --- | --- | --- | --- | | `podcast_id` (required) | `integer` | | From search_podcasts. | | `episode_id` (required) | `string` | | From list_episodes. | Same as [`GET /podcasts/:id/episodes/:episode`](https://www.podcastlookup.com/documentation/rest-api/get-episode.md). ## search_transcripts Search what was said across every transcript at once: episodes ranked by matching lines, 10 per page, each with up to 3 of its best lines, the speaker and timestamps. Same as [`GET /transcripts`](https://www.podcastlookup.com/documentation/rest-api/search-transcripts.md). | Field | Type | Default | Description | | --- | --- | --- | --- | | `query` (required) | `string` | | Words to find; "exact phrases", OR and -excluded words work. Accents and case are ignored. | | `podcast_ids` | `integer[]` | | Only these podcasts. Up to 10. | | `people` | `string[]` | | Only lines spoken by these people (slugs, e.g. greg-isenberg). Up to 10. | | `languages` | `string[]` | | ISO 639-1 codes. Up to 10. | | `sort` | `"relevance" \| "newest"` | `"relevance"` | Most matches first, or newest episodes first. | | `page` | `integer` | `1` | Up to 50. | ## get_transcript Same arguments as `get_episode`. Speaker-labelled, timestamped segments, or the publisher's files. Same as [`GET …/transcript`](https://www.podcastlookup.com/documentation/rest-api/get-transcript.md). ## request_transcript Same arguments as `get_episode`. Adds the episode to the transcription queue. Same as [`POST …/transcription-request`](https://www.podcastlookup.com/documentation/rest-api/request-transcript.md). ## refresh_episodes | Field | Type | Default | Description | | --- | --- | --- | --- | | `podcast_id` (required) | `integer` | | From search_podcasts. | Re-reads the feed, at most once a minute per podcast. Same as [`POST /podcasts/:id/refresh`](https://www.podcastlookup.com/documentation/rest-api/refresh-episodes.md). ## get_usage No arguments. Your plan, per-minute limit and this month's credits. Same as [`GET /me`](https://www.podcastlookup.com/documentation/rest-api/get-usage.md). # Quickstart > Create a key, search for a podcast and read a transcript in under five minutes. Source: https://www.podcastlookup.com/documentation/quickstart ### Create an account Create an account: the Free plan includes 50 credits each month, no card needed. When you need more, [choose a paid plan](https://www.podcastlookup.com/pricing.md): Pro includes 10,000. ### Create an API key Open the [API keys](https://www.podcastlookup.com/account/api-keys) section of your account, give the key a name (for example `laptop` or `production`) and copy it. Keys start with `pl_`. > **Warning: Copy it now** > > The full key is shown **once**. We only keep a fingerprint, so a lost key can't be recovered: revoke it and create another. Store it in an environment variable so it stays out of your code: ```bash export PODCAST_LOOKUP_API_KEY="pl_…" ``` ### Search for a podcast **curl** ```bash curl "https://www.podcastlookup.com/api/v1/podcasts?q=silicon%20carne&lang=fr" \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` **JavaScript** ```ts const response = await fetch( "https://www.podcastlookup.com/api/v1/podcasts?q=silicon%20carne&lang=fr", { headers: { Authorization: `Bearer ${process.env.PODCAST_LOOKUP_API_KEY}` } }, ) const { results } = await response.json() console.log(results[0].id, results[0].title) ``` **Python** ```python import os, requests response = requests.get( "https://www.podcastlookup.com/api/v1/podcasts", params={"q": "silicon carne", "lang": "fr"}, headers={"Authorization": f"Bearer {os.environ['PODCAST_LOOKUP_API_KEY']}"}, ) results = response.json()["results"] print(results[0]["id"], results[0]["title"]) ``` Keep the `id` of the podcast you want: every other endpoint starts from it. ### List its episodes ```bash curl "https://www.podcastlookup.com/api/v1/podcasts/8017674/episodes?page_size=5" \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` Each episode has an `id` and a `transcript` field: `null` when there is none yet, otherwise where it comes from. ### Read the transcript ```bash curl "https://www.podcastlookup.com/api/v1/podcasts/8017674/episodes/the-future-of-audio-3f9a1c2b7e/transcript" \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` You get the speakers and every segment with `start_seconds`, `end_seconds` and `text`. No transcript yet? [Request one](https://www.podcastlookup.com/documentation/rest-api/request-transcript.md). That was three credits. Every response tells you how many remain in the `X-Credits-Remaining` header. ## Next steps - [Connect Claude or Cursor](https://www.podcastlookup.com/documentation/mcp.md): Let an agent do the searching for you. - [Transcripts end to end](https://www.podcastlookup.com/documentation/guides/transcripts.md): Fetch, request and wait for transcripts in a script. # Get an episode > One episode with its description, artwork, audio and transcript availability. Source: https://www.podcastlookup.com/documentation/rest-api/get-episode `GET /api/v1/podcasts/{id}/episodes/{episode}` (1 credit) ## Path parameters | Field | Type | Default | Description | | --- | --- | --- | --- | | `id` (required) | `integer` | | Podcast id. | | `episode` (required) | `string` | | Episode id, from the episodes list. | ## Example ```bash curl "https://www.podcastlookup.com/api/v1/podcasts/8017674/episodes/the-future-of-audio-3f9a1c2b7e" \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` ## Response ```json { "id": "the-future-of-audio-3f9a1c2b7e", "guid": "https://example.com/?p=1842", "podcast_id": 8017674, "podcast_title": "The AI Hour", "title": "The future of audio", "description": "This week we talk about synthetic voices…", "published_at": "2026-11-28T06:00:00.000Z", "duration_seconds": 3125, "season": 4, "episode_number": 142, "audio_url": "https://cdn.example.com/ep142.mp3", "link": "https://example.com/episodes/142", "image_url": "https://example.com/ep142.jpg", "has_transcript": true, "transcript_source": "podcast_lookup", "publisher_transcripts": [], "url": "https://www.podcastlookup.com/p/the-ai-hour/episodes/the-future-of-audio-3f9a1c2b7e" } ``` | Field | Type | Default | Description | | --- | --- | --- | --- | | `description` | `string \| null` | | Show notes as plain text. | | `link` | `string \| null` | | The episode's page on the show's website. | | `image_url` | `string \| null` | | Episode artwork, when different from the show's. | | `has_transcript` | `boolean` | | true if we or the publisher have a transcript. | | `transcript_source` | `"podcast_lookup" \| "publisher" \| null` | | Whose transcript get-transcript returns. | | `publisher_transcripts` | `{ url, type }[]` | | Transcript files declared in the feed. | ## Errors `404 episode_not_found` when the episode isn't stored: [list the podcast's episodes](https://www.podcastlookup.com/documentation/rest-api/list-episodes.md) first, which also reads its feed. ## MCP equivalent `get_episode` with `podcast_id` and `episode_id`. # Get a podcast > Everything we know about one podcast. Source: https://www.podcastlookup.com/documentation/rest-api/get-podcast `GET /api/v1/podcasts/{id}` (1 credit) ## Path parameters | Field | Type | Default | Description | | --- | --- | --- | --- | | `id` (required) | `integer` | | Podcast id, from search. | ## Example ```bash curl "https://www.podcastlookup.com/api/v1/podcasts/8017674" -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` ## Response Every field of a [search result](https://www.podcastlookup.com/documentation/rest-api/search-podcasts.md#response), plus: ```json { "id": 8017674, "title": "The AI Hour", "…": "…", "description": "A weekly conversation about artificial intelligence…", "website": "https://example.com/ai-hour", "owner": "Example Media", "itunes_id": 1234567890, "podcast_guid": "9b024349-ccf0-5f69-a609-6b82873eab3c", "first_episode_at": "2019-03-04T05:00:00.000Z", "popularity": 9, "episodes_checked_at": "2026-12-02T14:11:09.000Z" } ``` | Field | Type | Default | Description | | --- | --- | --- | --- | | `description` | `string \| null` | | Plain text, HTML removed. | | `website` | `string \| null` | | The show's own website. | | `itunes_id` | `integer \| null` | | Apple Podcasts id, to link or match with other catalogues. | | `podcast_guid` | `string \| null` | | The Podcasting 2.0 GUID, when the feed declares one. | | `first_episode_at` | `string \| null` | | Date of the oldest episode. | | `popularity` | `integer` | | Relative popularity score, higher is more popular. | | `episodes_checked_at` | `string \| null` | | When we last read the feed; null if episodes were never listed. | ## Errors `404 podcast_not_found` when no podcast has this id. ## MCP equivalent `get_podcast` with `podcast_id`. # Get a transcript > Speaker-labelled, timestamped transcript of an episode, ours or the one the podcast publishes in its feed. Source: https://www.podcastlookup.com/documentation/rest-api/get-transcript `GET /api/v1/podcasts/{id}/episodes/{episode}/transcript` (1 credit) ## Example ```bash curl "https://www.podcastlookup.com/api/v1/podcasts/8017674/episodes/the-future-of-audio-3f9a1c2b7e/transcript" \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` ## Response Two sources share one shape, told apart by `source`: - `podcast_lookup`: ours. Every speaker is named, with a role (host, guest…), and every segment is timestamped. - `publisher`: the transcript the podcast publishes in its own feed, read the first time you ask for it. Speakers are as the file labels them (`"Speaker 1"`, a name, or `null` when the file has none), and `timed` is `false` when the file has no timestamps (some plain-text files), with `start_seconds` and `end_seconds` set to `null`. **Our transcript** ```json { "podcast_id": 8017674, "episode_id": "the-future-of-audio-3f9a1c2b7e", "source": "podcast_lookup", "language": "en", "speakers": [ { "id": "S1", "name": "Jordan Lee", "role": "host" }, { "id": "S2", "name": "Sam Rivera", "role": "guest" } ], "segments": [ { "speaker": "Jordan Lee", "start_seconds": 0.4, "end_seconds": 6.92, "text": "Welcome back to The AI Hour." }, { "speaker": "Sam Rivera", "start_seconds": 7.1, "end_seconds": 11.3, "text": "Thanks for having me." } ], "url": "https://www.podcastlookup.com/p/the-ai-hour/episodes/the-future-of-audio-3f9a1c2b7e" } ``` **Publisher transcript** ```json { "podcast_id": 8017674, "episode_id": "the-future-of-audio-3f9a1c2b7e", "source": "publisher", "language": "en", "format": "vtt", "timed": true, "source_url": "https://example.com/ep142.vtt", "files": [ { "url": "https://example.com/ep142.vtt", "type": "text/vtt" }, { "url": "https://example.com/ep142.srt", "type": "application/x-subrip" } ], "speakers": [ { "id": "speaker-1", "name": "Speaker 1", "role": null }, { "id": "speaker-2", "name": "Speaker 2", "role": null } ], "segments": [ { "speaker": "Speaker 1", "start_seconds": 0.5, "end_seconds": 6.1, "text": "Welcome back to The AI Hour." } ], "url": "https://www.podcastlookup.com/p/the-ai-hour/episodes/the-future-of-audio-3f9a1c2b7e" } ``` If the publisher's file can't be read (gone, or not a transcript), you get its links with `"segments": null`. | Field | Type | Default | Description | | --- | --- | --- | --- | | `source` | `"podcast_lookup" \| "publisher"` | | Who produced the transcript. | | `language` | `string \| null` | | Spoken language. | | `speakers[]` | `{ id, name, role }` | | People in the episode and their role, such as host or guest. Publisher transcripts: the file's labels, role null. | | `segments[].speaker` | `string \| null` | | The speaker's name (or id when unnamed); null in publisher files without speakers. | | `segments[].start_seconds / end_seconds` | `number \| null` | | Position in the audio, in seconds; null when timed is false. | | `timed` | `boolean` | | Publisher source: whether the file has timestamps. | | `format` | `"json" \| "vtt" \| "srt" \| "html" \| "text"` | | Publisher source: the format of the file we read. | | `source_url` | `string` | | Publisher source: the file we read. | | `files[]` | `{ url, type }` | | Publisher source: every transcript file the feed lists. | ## Turning segments into text **JavaScript** ```ts const timestamp = (s: number) => new Date(s * 1000).toISOString().slice(11, 19) const text = transcript.segments .map((segment) => `[${timestamp(segment.start_seconds)}] ${segment.speaker}: ${segment.text}`) .join("\n") ``` **Python** ```python import time def timestamp(seconds): return time.strftime("%H:%M:%S", time.gmtime(seconds)) text = "\n".join( f"[{timestamp(s['start_seconds'])}] {s['speaker']}: {s['text']}" for s in transcript["segments"] ) ``` ## Errors `404 transcript_not_available` when there is no transcript yet. The message tells you whether transcription was already requested, and how many times. [Request a transcript](https://www.podcastlookup.com/documentation/rest-api/request-transcript.md) to add it to the queue. ## MCP equivalent `get_transcript` with `podcast_id` and `episode_id`. # Get usage > Your plan, rate limit and remaining credits this month. Source: https://www.podcastlookup.com/documentation/rest-api/get-usage `GET /api/v1/me` (1 credit) This call costs a credit like any other. To track usage for free, read the [`X-Credits-*` headers](https://www.podcastlookup.com/documentation/credits-and-limits.md#usage-headers) of the responses you already get. ## Example ```bash curl "https://www.podcastlookup.com/api/v1/me" -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` ## Response ```json { "email": "you@example.com", "plan": "pro", "rate_limit_per_minute": 600, "credits": { "limit": 10000, "used": 18, "remaining": 9982, "resets_at": "2027-01-01T00:00:00.000Z", "overage_used": 0, "overage_remaining": 50000, "overage_usd_per_1000": 20 } } ``` `used` includes this call. `overage_*` describe extra credits past the allowance: `overage_remaining` is 0 on Free, where calls stop at the allowance. ## MCP equivalent `get_usage`, no arguments. It returns `plan`, `rate_limit_per_minute` and `credits` with `plan`, `period`, `used`, `limit`, `remaining`, `overageUsed`, `overageRemaining`, `overageUsdPer1000` and `resetsAt`. # REST API overview > Base URL, conventions, pagination and CORS for the REST API. Source: https://www.podcastlookup.com/documentation/rest-api ## Base URL ``` https://www.podcastlookup.com/api/v1 ``` All requests use HTTPS. Responses are JSON (`Content-Type: application/json`), never cached by intermediaries (`Cache-Control: no-store`). ## Endpoints | Method | Path | Description | | --- | --- | --- | | `GET` | [`/podcasts`](https://www.podcastlookup.com/documentation/rest-api/search-podcasts.md) | Search every podcast | | `GET` | [`/facets`](https://www.podcastlookup.com/documentation/rest-api/list-filters.md) | Languages, categories and providers to filter on | | `GET` | [`/podcasts/:id`](https://www.podcastlookup.com/documentation/rest-api/get-podcast.md) | One podcast | | `GET` | [`/podcasts/:id/episodes`](https://www.podcastlookup.com/documentation/rest-api/list-episodes.md) | Its episodes, newest first | | `POST` | [`/podcasts/:id/refresh`](https://www.podcastlookup.com/documentation/rest-api/refresh-episodes.md) | Re-read the feed now | | `GET` | [`/podcasts/:id/episodes/:episode`](https://www.podcastlookup.com/documentation/rest-api/get-episode.md) | One episode | | `GET` | [`/transcripts`](https://www.podcastlookup.com/documentation/rest-api/search-transcripts.md) | Search what was said in every transcript | | `GET` | [`/podcasts/:id/episodes/:episode/transcript`](https://www.podcastlookup.com/documentation/rest-api/get-transcript.md) | Its transcript | | `POST` | [`/podcasts/:id/episodes/:episode/transcription-request`](https://www.podcastlookup.com/documentation/rest-api/request-transcript.md) | Ask for a transcript | | `GET` | [`/me`](https://www.podcastlookup.com/documentation/rest-api/get-usage.md) | Your plan and credits | ## Conventions - **Field names** are `snake_case`. - **Dates** are ISO 8601 strings in UTC, such as `2026-11-28T06:00:00.000Z`, or `null` when unknown. - **Durations** are in seconds (`duration_seconds`, `start_seconds`). - **Text** from feeds (descriptions) is returned as plain text: HTML is stripped. - **Missing values** are `null`, never omitted. - **Ids**: podcasts use integers, episodes use strings. See [Core concepts](https://www.podcastlookup.com/documentation/concepts.md). - `POST` endpoints take no body. ## Pagination List endpoints take a `page` parameter starting at `1` and return `page`, `page_size` and `total`: ```ts const pages = Math.ceil(body.total / body.page_size) ``` Search returns 24 results per page. Episodes default to 25 per page, up to 100 with `page_size`. ## Repeatable parameters Filters that accept several values are repeated in the query string: ``` /api/v1/podcasts?lang=fr&lang=en&category=technology ``` ## CORS Every origin is allowed and preflight `OPTIONS` requests are answered (free). The `X-Credits-*` and `Retry-After` headers are exposed to scripts. Remember that a key used from a web page is visible to its visitors: see [Authentication](https://www.podcastlookup.com/documentation/authentication.md#calling-from-the-browser). ## Versioning The API is versioned in the path (`/v1`). Within a version, we only make additive changes: new endpoints, new optional parameters, new response fields. Write clients that ignore fields they don't know. # List episodes > A podcast's episodes, newest first, with their transcript status. Source: https://www.podcastlookup.com/documentation/rest-api/list-episodes `GET /api/v1/podcasts/{id}/episodes` (1 credit) The first time a podcast's episodes are listed, we read its RSS feed and store every episode, so this first call can take a few seconds. Later calls are instant and served from storage; [refresh](https://www.podcastlookup.com/documentation/rest-api/refresh-episodes.md) to pick up brand-new episodes. ## Parameters | Field | Type | Default | Description | | --- | --- | --- | --- | | `id` (required) | `integer` | | Podcast id (path). | | `page` | `integer` | `1` | Page number, from 1. | | `page_size` | `integer` | `25` | Episodes per page, 1 to 100. | ## Example ```bash curl "https://www.podcastlookup.com/api/v1/podcasts/8017674/episodes?page_size=2" \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` ## Response ```json { "podcast_id": 8017674, "page": 1, "page_size": 2, "total": 214, "checked_at": "2026-12-02T14:11:09.000Z", "feed_status": "ok", "episodes": [ { "id": "the-future-of-audio-3f9a1c2b7e", "guid": "https://example.com/?p=1842", "title": "The future of audio", "published_at": "2026-11-28T06:00:00.000Z", "duration_seconds": 3125, "season": 4, "episode_number": 142, "audio_url": "https://cdn.example.com/ep142.mp3", "transcript": { "source": "podcast_lookup", "url": "https://www.podcastlookup.com/p/the-ai-hour/episodes/the-future-of-audio-3f9a1c2b7e" }, "url": "https://www.podcastlookup.com/p/the-ai-hour/episodes/the-future-of-audio-3f9a1c2b7e" }, { "id": "season-finale-0c4d7e91aa", "guid": "https://example.com/?p=1838", "title": "Season finale", "published_at": "2026-11-21T06:00:00.000Z", "duration_seconds": 2710, "season": 4, "episode_number": 141, "audio_url": "https://cdn.example.com/ep141.mp3", "transcript": null, "url": "https://www.podcastlookup.com/p/the-ai-hour/episodes/season-finale-0c4d7e91aa" } ] } ``` | Field | Type | Default | Description | | --- | --- | --- | --- | | `total` | `integer` | | Episodes stored for this podcast. | | `checked_at` | `string \| null` | | When the feed was last read. | | `feed_status` | `"ok" \| "error" \| null` | | Result of the last feed read. On error, the episodes from the previous successful read are kept. | | `episodes[].id` | `string` | | Episode id, for the episode, transcript and transcription request endpoints. | | `episodes[].guid` | `string` | | The guid from the feed. | | `episodes[].season / episode_number` | `integer \| null` | | As declared by the feed. | | `episodes[].transcript` | `object \| null` | | null when there is none. source is podcast_lookup or publisher (the show's own transcript, with its original files). url is the episode page; get-transcript returns the segments. | ## Getting every episode ```ts async function allEpisodes(podcastId: number) { const episodes = [] for (let page = 1; ; page++) { const response = await fetch( `https://www.podcastlookup.com/api/v1/podcasts/${podcastId}/episodes?page=${page}&page_size=100`, { headers: { Authorization: `Bearer ${process.env.PODCAST_LOOKUP_API_KEY}` } }, ) const body = await response.json() episodes.push(...body.episodes) if (page * body.page_size >= body.total) return episodes } } ``` A 1,000-episode show costs 10 credits this way. ## MCP equivalent `list_episodes` with `podcast_id`, `page` and `page_size`. # List filters > Languages, categories and hosting providers you can filter search on, with podcast counts. Source: https://www.podcastlookup.com/documentation/rest-api/list-filters `GET /api/v1/facets` (1 credit) Use it to build filter menus, or to find the exact `category` or `host` id before searching. Values change slowly: cache the response for a day. ## Example ```bash curl "https://www.podcastlookup.com/api/v1/facets" -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` ## Response ```json { "languages": [ { "code": "en", "name": "English", "podcasts": 2104332 }, { "code": "fr", "name": "French", "podcasts": 98231 } ], "categories": [ { "id": "technology", "name": "Technology", "podcasts": 151402 } ], "hosting_providers": [ { "id": "ausha.co", "podcasts": 41207 } ], "sorts": ["relevance", "popular", "recent", "episodes"], "updated_within": ["30d", "90d", "1y"] } ``` | Field | Use as | | --- | --- | | `languages[].code` | `lang` | | `categories[].id` | `category` | | `hosting_providers[].id` | `host` | | `sorts[]` | `sort` | | `updated_within[]` | `updated_within` | ## MCP equivalent `list_filters`, no arguments. # Refresh episodes > Re-read a podcast's feed now to pick up episodes published since the last read. Source: https://www.podcastlookup.com/documentation/rest-api/refresh-episodes `POST /api/v1/podcasts/{id}/refresh` (1 credit) Each podcast can be refreshed **once a minute**, by anyone. Concurrent refreshes of the same feed share one download. ## Example ```bash curl -X POST "https://www.podcastlookup.com/api/v1/podcasts/8017674/refresh" \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` ## Response ```json { "podcast_id": 8017674, "episode_count": 215, "new_episodes": 1 } ``` ## Errors | Status | Code | Meaning | | --- | --- | --- | | 429 | `refresh_too_soon` | Refreshed less than a minute ago. `Retry-After` says when to retry. The episodes are already fresh: just list them. | | 502 | `feed_unavailable` | The podcast's feed couldn't be read (down, invalid, blocked). Stored episodes are unchanged. | > **Note: When to refresh** > > You rarely need to. Refresh when you know an episode came out after `checked_at`, for example when a webhook from your own system says so. To follow shows over time, see [Follow new episodes](https://www.podcastlookup.com/documentation/guides/new-episodes.md). ## MCP equivalent `refresh_episodes` with `podcast_id`. # Request a transcript > Ask for an episode without a transcript to be transcribed. Source: https://www.podcastlookup.com/documentation/rest-api/request-transcript `POST /api/v1/podcasts/{id}/episodes/{episode}/transcription-request` (1 credit, or 1 per audio minute on Pro and Business) Requests are counted per episode across all users: the more an episode is requested, the sooner it is transcribed. Requesting again adds to the count, it doesn't create a duplicate. On Pro and Business, the episode goes straight into the transcription queue (`"status": "queued"`). Transcribing costs us real compute, so that request costs **one credit per minute of audio** (at least 10; an hour when the feed doesn't give a length), taken from your monthly allowance. `credits_charged` says what it cost in total. Episodes already transcribed or queued cost the usual single credit. Other requests are reviewed first, cost one credit and answer `"status": "requested"`. That's also what happens on Pro and Business when the allowance can't cover the episode (`"priority": "insufficient_credits"`) or today's priority budget is used up (`"priority": "daily_limit"`); then only the call's own credit is charged. ## Example ```bash curl -X POST \ "https://www.podcastlookup.com/api/v1/podcasts/8017674/episodes/season-finale-0c4d7e91aa/transcription-request" \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` ## Response ```json { "podcast_id": 8017674, "episode_id": "season-finale-0c4d7e91aa", "status": "queued", "request_count": 3, "credits_charged": 47 } ``` ## Knowing when it's ready There is no callback yet. Check [the transcript](https://www.podcastlookup.com/documentation/rest-api/get-transcript.md) from time to time, for example once a day: it returns `404 transcript_not_available` with the request status until it's done. See [Transcripts end to end](https://www.podcastlookup.com/documentation/guides/transcripts.md). ## Errors | Status | Code | Meaning | | --- | --- | --- | | 400 | `cannot_request` | The episode has no audio file to transcribe. | | 404 | `episode_not_found` | List the podcast's episodes first. | ## MCP equivalent `request_transcript` with `podcast_id` and `episode_id`. # Search podcasts > Full-text search over every public podcast, with the same filters as the website. Source: https://www.podcastlookup.com/documentation/rest-api/search-podcasts `GET /api/v1/podcasts` (1 credit) ## Query parameters | Field | Type | Default | Description | | --- | --- | --- | --- | | `q` | `string` | | Words to find in titles, authors and descriptions. Omit to browse with filters only. | | `lang` | `string, repeatable` | | ISO 639-1 language code, e.g. fr or en. Up to 10. | | `category` | `string, repeatable` | | Category id from /facets, e.g. technology. Up to 10. | | `host` | `string, repeatable` | | Hosting provider id from /facets, e.g. ausha.co. Up to 10. | | `transcribed` | `"1"` | | Only podcasts we have transcripts for. | | `updated_within` | `"30d" \| "90d" \| "1y"` | | Only podcasts with an episode in that window. | | `min_episodes` | `integer` | | Only podcasts with at least this many episodes. | | `explicit` | `"hide" \| "only"` | | Exclude, or keep only, podcasts marked explicit. | | `sort` | `"relevance" \| "popular" \| "recent" \| "episodes"` | `relevance with q, otherwise popular` | Best match, most popular, recently updated, or most episodes. | | `page` | `integer` | `1` | 24 results per page, up to page 417. | ## Example **curl** ```bash curl -G "https://www.podcastlookup.com/api/v1/podcasts" \ --data-urlencode "q=artificial intelligence" \ -d lang=en -d lang=fr \ -d updated_within=90d \ -d sort=popular \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` **JavaScript** ```ts const params = new URLSearchParams({ q: "artificial intelligence", updated_within: "90d", sort: "popular" }) params.append("lang", "en") params.append("lang", "fr") const response = await fetch(`https://www.podcastlookup.com/api/v1/podcasts?${params}`, { headers: { Authorization: `Bearer ${process.env.PODCAST_LOOKUP_API_KEY}` }, }) const { total, results } = await response.json() ``` **Python** ```python response = requests.get( "https://www.podcastlookup.com/api/v1/podcasts", params={"q": "artificial intelligence", "lang": ["en", "fr"], "updated_within": "90d", "sort": "popular"}, headers={"Authorization": f"Bearer {os.environ['PODCAST_LOOKUP_API_KEY']}"}, ) ``` ## Response ```json { "query": "artificial intelligence", "sort": "popular", "page": 1, "page_size": 24, "total": 3412, "total_is_lower_bound": false, "fuzzy_match": false, "results": [ { "id": 8017674, "title": "The AI Hour", "author": "Example Media", "image_url": "https://example.com/artwork.jpg", "language": "en", "categories": ["technology", "news"], "episode_count": 214, "episode_count_is_minimum": false, "explicit": false, "hosting_provider": "example-host.com", "feed_url": "https://feeds.example.com/ai-hour.xml", "newest_episode_at": "2026-11-28T06:00:00.000Z", "has_transcripts": true, "url": "https://www.podcastlookup.com/p/the-ai-hour" } ] } ``` | Field | Type | Default | Description | | --- | --- | --- | --- | | `total` | `integer` | | Matching podcasts. Approximate above 10,000. | | `total_is_lower_bound` | `boolean` | | true when total was capped at 10,000. | | `fuzzy_match` | `boolean` | | true when no exact match existed and close spellings were used. | | `results[].id` | `integer` | | Podcast id, used by every other endpoint. | | `results[].episode_count_is_minimum` | `boolean` | | true when the count stopped at 1,000: the show has at least that many. | | `results[].hosting_provider` | `string \| null` | | Domain of the hosting provider, usable in the host filter. | | `results[].has_transcripts` | `boolean` | | Whether we have transcribed episodes of this show. | | `results[].url` | `string` | | The podcast's page on the website. | ## MCP equivalent `search_podcasts`, with `query`, `languages`, `categories`, `hosting_providers`, `transcribed_only`, `updated_within`, `min_episodes`, `explicit`, `sort` and `page`. > **Note: Lenient filters** > > Unknown values of `sort`, `updated_within` and `explicit` are ignored rather than rejected, and `page` is clamped between 1 and 417. Check `sort` and `page` in the response to see what was applied. # Search transcripts > Find what was said across every transcript, with the speaker, the episode and the second it was said. Source: https://www.podcastlookup.com/documentation/rest-api/search-transcripts `GET /api/v1/transcripts` (1 credit) Searches the words spoken in every transcript at once. Results are episodes, most matches first, each with its best matching lines: who said them, when, and a link that plays the moment. ## Query parameters | Field | Type | Default | Description | | --- | --- | --- | --- | | `q` (required) | `string` | | What to find. Words must all appear in a line; "quotes" match an exact phrase; OR matches either word; -word leaves lines with that word out. Case and accents are ignored. Max 200 characters. | | `podcast_id` | `integer, repeatable` | | Only these podcasts. Up to 10. | | `person` | `string, repeatable` | | Only lines spoken by these people, by slug (the end of /people/), e.g. greg-isenberg. Up to 10. | | `lang` | `string, repeatable` | | Only transcripts in these languages, ISO 639-1. Up to 10. | | `sort` | `"relevance" \| "newest"` | `relevance` | Most matching lines first, or newest episodes first. | | `page` | `integer` | `1` | 10 episodes per page, up to page 50. | When no whole word matches, words are looked for inside longer words instead ("anthrop" finds "Anthropic"), and `partial_words` is `true`. ## Example **curl** ```bash curl -G "https://www.podcastlookup.com/api/v1/transcripts" \ --data-urlencode 'q="open source" -crypto' \ -d lang=en \ -H "Authorization: Bearer $PODCAST_LOOKUP_API_KEY" ``` **JavaScript** ```ts const params = new URLSearchParams({ q: '"open source" -crypto', lang: "en" }) const response = await fetch(`https://www.podcastlookup.com/api/v1/transcripts?${params}`, { headers: { Authorization: `Bearer ${process.env.PODCAST_LOOKUP_API_KEY}` }, }) const { total, results } = await response.json() for (const episode of results) for (const moment of episode.moments) console.log(`${moment.speaker} (${episode.podcast_title}): ${moment.text}\n${moment.url}`) ``` **Python** ```python response = requests.get( "https://www.podcastlookup.com/api/v1/transcripts", params={"q": '"open source" -crypto', "lang": "en"}, headers={"Authorization": f"Bearer {os.environ['PODCAST_LOOKUP_API_KEY']}"}, ) for episode in response.json()["results"]: for moment in episode["moments"]: print(moment["speaker"], moment["start_seconds"], moment["text"]) ``` ## Response ```json { "query": "\"open source\" -crypto", "sort": "relevance", "page": 1, "page_size": 10, "total": 6, "total_matches": 124, "partial_words": false, "results": [ { "podcast_id": 4458228, "podcast_title": "The Startup Ideas Podcast", "episode_id": "open-source-ai-is-creating-millionaires-1a2b3c4d5e", "episode_title": "Open Source + AI is Creating Millionaires", "published_at": "2026-11-30T12:00:00.000Z", "language": "en", "transcript_source": "podcast_lookup", "matches": 102, "url": "https://www.podcastlookup.com/p/the-startup-ideas-podcast-4458228/episodes/open-source-ai-is-creating-millionaires-1a2b3c4d5e", "moments": [ { "speaker": "Greg Isenberg", "role": "host", "start_seconds": 426.1, "end_seconds": 433.8, "text": "Before we talk about how these open source apps make money, can you just explain why it feels like open source is having a moment in the agentic age?", "url": "https://www.podcastlookup.com/p/the-startup-ideas-podcast-4458228/episodes/open-source-ai-is-creating-millionaires-1a2b3c4d5e#transcript-turn-112" } ] } ] } ``` | Field | Type | Default | Description | | --- | --- | --- | --- | | `total` | `integer` | | Episodes with at least one matching line. | | `total_matches` | `integer` | | Matching lines across all of them. | | `results[].podcast_id / episode_id` | `integer / string` | | Use them with get-transcript for the whole conversation. episode_id is null for the few episodes not yet listed through the API: list the podcast's episodes first. | | `results[].matches` | `integer` | | Matching lines in this episode. | | `results[].transcript_source` | `"podcast_lookup" \| "publisher"` | | Ours, or the show's own transcript. In publisher transcripts, speaker can be null, and start_seconds and end_seconds are null when the file has no timestamps. | | `results[].moments` | `object[]` | | Up to 3 of its best matching lines, in the order they were said. | | `moments[].url` | `string` | | The episode page, scrolled to this line. | ## Searching tips - **All words, any order**: `pricing churn` finds lines with both words. - **Exact phrase**: `"joint venture"`. - **Either word**: `Claude OR ChatGPT`. - **Leave words out**: `IA -Claude`. - **One person's words**: add `person=marc-antoine-serfaty`. People and their slugs are listed at [/people](https://www.podcastlookup.com/people). ## Errors | Status | Code | Meaning | | --- | --- | --- | | 400 | `missing_query` | `q` is empty. | | 400 | `invalid_podcast_id`, `invalid_person`, `invalid_language`, `invalid_sort`, `invalid_page` | A parameter is malformed. | | 400 | `too_many_values` | More than 10 values for one filter. | ## MCP equivalent `search_transcripts` with `query`, `podcast_ids`, `people`, `languages`, `sort` and `page`. # Podcast Lookup pricing > Start free with 50 credits a month, then choose Pro or Business for the REST API and MCP server. Paid plans keep working past their allowance, billed per 1,000 extra credits. Source: https://www.podcastlookup.com/pricing ## Plans | | Free | Pro | Business | | --- | --- | --- | --- | | Price | $0 / month (USD) | $100 / month (USD) | $499 / month (USD) | | Credits | 50 / month | 10,000 / month | 100,000 / month | | API rate limit | 10 req / min | 600 req / min | 1,800 req / min | | API keys | 1 | 10 | 50 | | Extra credits | None | $20 / 1,000 | $8 / 1,000 | Every plan includes the REST API, the MCP server and full-text search. Searching on the website is free and unlimited, with or without an account. ## What each plan includes ### Free ($0 / month) Try it, no card needed: - REST API - MCP server for Claude and other AI agents - Unlimited directory search on the web ### Pro ($100 / month) Everything in Free, plus: - Keeps working past the allowance, billed per 1,000 credits - Priority transcription, paid in credits ### Business ($499 / month) Everything in Pro, plus: - Commercial license to use the data in your product - 99.9% uptime SLA ## Credits and limits - One credit is one REST API call or one MCP tool call, whatever it returns. Connecting an MCP client and listing its tools is free. - Credits reset on the 1st of each month at 00:00 UTC. Unused credits don't roll over. - A transcription request that goes straight into the queue (Pro and Business) costs one credit per minute of audio, at least 10, from the month's allowance. Elsewhere a request costs one credit and waits for review. - Per-minute rate limit: 10 calls on Free, 600 on Pro, 1,800 on Business, shared by all keys and by REST and MCP. Going over returns `429 rate_limited` with `Retry-After`. - Past the month's credits, paid plans keep working: extra credits cost $20 per 1,000 on Pro and $8 on Business, billed with the next invoice, up to 50,000 and 500,000 extra credits a month. On Free, and past the cap, calls return `402 credits_exhausted` until the reset or an upgrade. The website keeps working. - Every REST response carries `X-Credits-Limit`, `X-Credits-Remaining` and `X-Credits-Reset`, plus `X-Credits-Overage-Used` and `X-Credits-Overage-Remaining` on plans with extra credits. The `GET /api/v1/me` endpoint and the `get_usage` MCP tool return the plan and usage. ## Getting started 1. Create a free account (50 credits a month), or choose a paid plan: https://www.podcastlookup.com/pricing. 2. Create an API key on https://www.podcastlookup.com/account/api-keys. 3. Call the REST API at https://www.podcastlookup.com/api/v1, or add the MCP server at https://www.podcastlookup.com/api/mcp, with the key as `Authorization: Bearer `. 4. Manage or cancel your subscription at https://www.podcastlookup.com/account. ## Questions & answers ### What counts as a credit? One REST API call or one MCP tool call. A transcription request that goes straight into the queue (Pro and Business) costs one credit per minute of audio, at least 10. Searching on the website is free and unlimited. Credits reset on the 1st of each month (UTC). ### Which podcasts are covered? Every public podcast: about 4.7 million shows in 128 languages, refreshed daily. Episodes are read straight from each show's RSS feed. ### How do I connect the MCP server? Create a free account and an API key on your account page, then add `/api/mcp` to Claude Code, Claude Desktop or any MCP client with the key as a bearer token. The [Documentation](https://www.podcastlookup.com/documentation/mcp.md) has copy-paste setups for every client. ### Where do transcripts come from? Ours are speaker-labelled and timestamped. When a podcast publishes its own transcript in its feed, we read that too and label it as the publisher's. For anything else, request a transcript from the episode page or the API. ### What happens when I run out of credits? On Pro and Business, calls keep working and each extra 1,000 credits is billed with your next invoice: $20 on Pro and $8 on Business. Each plan caps extra credits (50,000 and 500,000 a month), so a runaway script can't run up a large bill. On Free, calls return a clear error until the next month or until you upgrade. The website keeps working either way. ### Is there a free plan? Yes. Every account gets 50 credits a month and 1 API key, without a card, to try the REST API and the MCP server. Upgrade when you need more. ### Can I cancel anytime? Yes. Manage or cancel your subscription from your account page; your subscription stays active until the end of the period you paid for. ### Are there rate limits? 10 calls per minute on Free, 600 on Pro and 1,800 on Business. Responses tell you how many credits remain. ### Do you store my API key? Only a fingerprint of it. The full key is shown once when you create it, so keep it somewhere safe. You can revoke it at any time. ## See also - [Credits & limits](https://www.podcastlookup.com/documentation/credits-and-limits.md): costs, rate limits and usage headers in detail - [Quickstart](https://www.podcastlookup.com/documentation/quickstart.md): the first call in a few minutes - [Compare](https://www.podcastlookup.com/compare.md): Podcast Lookup against the alternatives, prices included - [llms.txt](https://www.podcastlookup.com/llms.txt): every page for agents