# PodcastDataAPI > JSON REST API for search, details and transcripts of 4.3+ million podcasts and 154+ million episodes, read from publishers' RSS feeds. Base URL: https://api.podcastdataapi.com - Documentation: https://podcastdataapi.com/documentation - OpenAPI 3.1 specification (full schemas): https://api.podcastdataapi.com/openapi.yaml ## Basics - Authenticate with the `X-API-KEY` header (preferred) or the `api_key` query parameter. Never put the key in client-side code. - Successful responses are `{"data": ...}`, with `meta` on lists. Errors are `{"error": {"code": "...", "message": "..."}}` with the matching HTTP status; on `400`, `param` names the field to fix (e.g. `limit`, `ids[1]`). - Ids are typed: `pod_` (podcast), `ep_` (episode), `tr_` (transcript), `feed_` (feed), followed by 26 lowercase characters. - Lists page with cursors: pass `meta.next_cursor` as `cursor` with the same other parameters until `meta.has_more` is false. `limit` is 1 to 100 (default 20). - Times are full date-times such as `2026-10-01T00:00:00Z`; a date on its own is rejected. - URL-encode query values, especially feed URLs and GUIDs, which often contain `?` or `&`. - A `308` with `resource_moved` means the podcast or episode now has a different id; follow the `Location` header. ## Start from what you have - A show name or a topic: `GET /v1/search` - An RSS feed URL: `GET /v1/podcasts/lookup?feed_url=...`, then `GET /v1/podcasts/{podcast_id}/episodes` - An Apple Podcasts link: `GET /v1/podcasts/lookup?itunes_id=...` (the number after `id` in the link) - Many feed URLs or ids: `POST /v1/podcasts/batch` - An episode's GUID from its feed: `GET /v1/episodes/lookup?guid=...&podcast_id=...` - Podcasts to watch for new episodes: `GET /v1/episodes?podcast_id=...` - An episode's transcript: `GET /v1/episodes/{episode_id}`, then `GET /v1/transcripts/{transcript_id}?include=segments` ## Endpoints - `GET /v1/search`: search episodes (default) or podcasts. Required `q` (up to 200 characters; quote "a phrase" to require it). Optional `type` (`episode` or `podcast`), `sort` (`relevance` or `newest`), `limit`, `cursor`. Filters: `language`, `category`, `explicit`, `published_after`, `published_before`, `only_in`; episodes only: `duration_min`, `duration_max`, `episode_type`, `has_transcript`, `podcast_id` (up to 5), `exclude_podcast_id` (up to 5), `unique_podcasts`; podcasts only: `episode_count_min`, `episode_count_max`, `active`. Results include `highlight` (matches wrapped in ``, safe as HTML). Up to 1,000 results deep. Re-uploads of another podcast (podcast `duplicate_of` set) are left out of search and `/v1/episodes`. - `GET /v1/categories`: every category you can filter by, e.g. `arts/books`. A parent such as `arts` includes its subcategories. Not counted against quota. - `GET /v1/podcasts/{podcast_id}`: a podcast with publisher details, all feeds with their status, and episode counts. `owner_email` is null on Free and for generic hosting addresses (e.g. feeds@spreaker.com) on every plan. - `GET /v1/podcasts/{podcast_id}/episodes`: every episode of a podcast. Optional `sort` (`newest` or `oldest`), `published_after`, `published_before`, `limit`, `cursor`. For only the episodes with a transcript, use `GET /v1/episodes?podcast_id=...&has_transcript=true`. - `GET /v1/podcasts/lookup`: find a podcast from exactly one of `feed_url`, `podcast_guid`, `itunes_id` (Apple Podcasts id) or `feed_id`. Feed URLs also match after redirects, across http/https and www, and regardless of letter case when that leaves one podcast. `409 ambiguous_identifier` lists candidates (`id`, `title`, `feed_url`, `episode_count`, `latest_published_at`) when several podcasts share a GUID or Apple id. - `POST /v1/podcasts/batch` (paid plans): JSON body with exactly one of `ids`, `feed_urls`, `podcast_guids` or `itunes_ids` (numbers), up to 25 items. Each result has `status` `found`, `not_found` or `ambiguous`, in request order. - `GET /v1/episodes/{episode_id}`: an episode with its podcast, media, people, chapters link and transcript list. - `GET /v1/episodes/lookup`: find an episode by required `guid` plus exactly one of `podcast_id`, `feed_id` or `feed_url` (GUIDs repeat across podcasts). - `GET /v1/episodes`: newest episodes, either for up to 100 comma-separated `podcast_id`s or across all podcasts over the last 30 days. Optional `published_after`, `published_before`, `language`, `category`, `explicit`, `duration_min`, `duration_max`, `episode_type`, `has_transcript`, `limit`, `cursor`. To watch for new episodes, pass 7 days before the newest `published_at` you have as `published_after` and skip episode ids you already stored. The overlap catches episodes indexed after newer ones from other shows (a feed checked late, or an episode dated in the future that appears when its date arrives). - `POST /v1/episodes/batch` (paid plans): JSON body `{"ids": [...]}`, up to 25 episode ids. - `GET /v1/transcripts/{transcript_id}`: transcript details and links to the publisher's files on every plan. Optional `include`: `segments` adds the text with timings and speakers (every plan). `status` is `available`, `pending` or `unavailable`. ## Plans and limits - Free: 500 requests/month, 2 requests/second (up to 5 at once), transcript text included, no batch or owner email, non-commercial use with attribution. - Starter: 25,000/month, 5/second (15 at once). Pro: 100,000/month, 10/second (25). Business: 350,000/month, 25/second (60). Enterprise: custom. - Search has its own limit, shared by all keys on an account: Free 2/second (5 at once), Starter and Pro 5/second (15), Business 10/second (25). - Every call is one request, including searches with no results and whole batches. Not-found podcasts, episodes and transcripts count; other errors, `/v1/categories` and `304` responses do not. - The quota is shared by all keys on an account; the rate limit applies per key. Read `X-Quota-Remaining` and `X-RateLimit-Remaining`; on `429`, wait for `Retry-After`. ## Errors - `400` `invalid_request`, `unsupported_parameter`, `api_key_conflict` - `401` `api_key_required`, `api_key_invalid` - `403` `plan_upgrade_required` (batch on Free) - `404` `podcast_not_found`, `episode_not_found`, `transcript_not_found`, `not_found` - `409` `ambiguous_identifier` - `429` `rate_limit_exceeded`, `quota_exceeded` - `500` `internal_error`; `503` `service_unavailable` (retry shortly)