# TVmaze on Onekey > 14 endpoints for TVmaze (14 stable, 0 beta), 1 to 5 credits each. Category: Entertainment, art & culture. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/tvmaze Reference (Markdown): https://onekey.dev/docs/api/tvmaze.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 14 mapped TVmaze endpoints return each: - `media.thumbnailUrl` (URL): 9 - `content.id` (string): 5 - `content.url` (URL): 5 - `entity.id` (string): 5 - `entity.name` (string): 5 - `entity.url` (URL): 5 - `author.avatarUrl` (URL): 4 - `author.birthDate` (ISO 8601 date): 4 - `author.country` (string): 4 - `author.displayName` (string): 4 - `author.id` (string): 4 - `author.url` (URL): 4 - `content.createdAt` (ISO 8601 date): 4 - `content.text` (string): 4 - `content.title` (string): 4 - `entity.category` (string): 4 - `entity.description` (string): 4 - `entity.language` (string): 4 - `entity.stats.rating` (number): 4 - `entity.status` (string): 4 - `media.url` (URL): 4 - `entity.stats.score` (number): 1 - plus 12 platform-specific fields under `ext.` ## Endpoints ### tvmaze.episode One episode by season and number. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tvmaze/episode?id=169&season=1&number=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): iTunes/Apple id - `season` (string, required): Season number - `number` (string, required): Episode number - Fields returned: `content.id`, `content.title`, `content.url`, `content.createdAt`, `content.text`, `media.thumbnailUrl`, `ext.season`, `ext.number`, `ext.airDate`, `ext.runtime` - Reference: https://onekey.dev/docs/api/tvmaze/episode.md ### tvmaze.episode_by_id Episode by TVmaze episode id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tvmaze/episode_by_id?id=12192` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): iTunes/Apple id - Fields returned: `content.id`, `content.title`, `content.url`, `content.createdAt`, `content.text`, `media.thumbnailUrl`, `ext.season`, `ext.number`, `ext.airDate`, `ext.runtime` - Reference: https://onekey.dev/docs/api/tvmaze/episode_by_id.md ### tvmaze.people_search Search people in TV. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tvmaze/people_search?q=lauren` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `author.id`, `author.displayName`, `author.url`, `author.country`, `author.birthDate`, `author.avatarUrl` - Reference: https://onekey.dev/docs/api/tvmaze/people_search.md ### tvmaze.person Person (actor/crew) by TVmaze id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tvmaze/person?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): iTunes/Apple id - Fields returned: `author.id`, `author.displayName`, `author.url`, `author.country`, `author.birthDate`, `author.avatarUrl` - Reference: https://onekey.dev/docs/api/tvmaze/person.md ### tvmaze.person_cast_credits Cast credits (shows) of a person. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tvmaze/person_cast_credits?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): iTunes/Apple id - Fields returned: `entity.id`, `entity.name`, `entity.url` - Reference: https://onekey.dev/docs/api/tvmaze/person_cast_credits.md ### tvmaze.schedule TV schedule for a country and date. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tvmaze/schedule?country=US&date=2026-09-28` with header `x-api-key: YOUR_API_KEY` - Parameters: - `country` (string, optional, default US): 2-letter country code, e.g. US - `date` (string, required): Date YYYY-MM-DD - Fields returned: `content.id`, `content.title`, `content.url`, `content.createdAt`, `content.text`, `media.thumbnailUrl`, `ext.season`, `ext.number`, `ext.airDate`, `ext.runtime`, `ext.show` - Reference: https://onekey.dev/docs/api/tvmaze/schedule.md ### tvmaze.search Search TV shows. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tvmaze/search?q=girls` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.language`, `entity.status`, `entity.category`, `entity.stats.rating`, `media.thumbnailUrl`, `media.url`, `entity.stats.score`, `ext.premiered`, `ext.runtime`, `ext.network`, `ext.imdbId` - Reference: https://onekey.dev/docs/api/tvmaze/search.md ### tvmaze.show TV show by TVmaze id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tvmaze/show?id=169` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): iTunes/Apple id - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.language`, `entity.status`, `entity.category`, `entity.stats.rating`, `media.thumbnailUrl`, `media.url`, `ext.premiered`, `ext.runtime`, `ext.network`, `ext.imdbId` - Reference: https://onekey.dev/docs/api/tvmaze/show.md ### tvmaze.show_by_imdb TV show by IMDb id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tvmaze/show_by_imdb?imdb=tt0944947` with header `x-api-key: YOUR_API_KEY` - Parameters: - `imdb` (string, required): IMDb id, e.g. tt0944947 - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.language`, `entity.status`, `entity.category`, `entity.stats.rating`, `media.thumbnailUrl`, `media.url`, `ext.premiered`, `ext.runtime`, `ext.network`, `ext.imdbId` - Reference: https://onekey.dev/docs/api/tvmaze/show_by_imdb.md ### tvmaze.show_cast Cast of a TV show. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tvmaze/show_cast?id=169` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): iTunes/Apple id - Fields returned: `author.id`, `author.displayName`, `author.url`, `author.country`, `author.birthDate`, `author.avatarUrl`, `media.thumbnailUrl`, `ext.character` - Reference: https://onekey.dev/docs/api/tvmaze/show_cast.md ### tvmaze.show_crew Crew of a TV show. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tvmaze/show_crew?id=169` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): iTunes/Apple id - Fields returned: `author.id`, `author.displayName`, `author.url`, `author.country`, `author.birthDate`, `author.avatarUrl`, `ext.role` - Reference: https://onekey.dev/docs/api/tvmaze/show_crew.md ### tvmaze.show_episodes All episodes of a TV show. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tvmaze/show_episodes?id=169` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): iTunes/Apple id - Fields returned: `content.id`, `content.title`, `content.url`, `content.createdAt`, `content.text`, `media.thumbnailUrl`, `ext.season`, `ext.number`, `ext.airDate`, `ext.runtime` - Reference: https://onekey.dev/docs/api/tvmaze/show_episodes.md ### tvmaze.show_seasons Seasons of a TV show. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tvmaze/show_seasons?id=169` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): iTunes/Apple id - Fields returned: `content.id`, `content.url`, `ext.number`, `ext.episodes`, `ext.premiered`, `ext.ended` - Reference: https://onekey.dev/docs/api/tvmaze/show_seasons.md ### tvmaze.show_single_search Best-matching TV show for a name. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tvmaze/show_single_search?q=girls` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.language`, `entity.status`, `entity.category`, `entity.stats.rating`, `media.thumbnailUrl`, `media.url`, `ext.premiered`, `ext.runtime`, `ext.network`, `ext.imdbId` - Reference: https://onekey.dev/docs/api/tvmaze/show_single_search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/tvmaze/episode?id=169&season=1&number=1" \ -H "x-api-key: YOUR_API_KEY" ```