tv-shows
tv-shows
Page 5 of 5.
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tv-shows?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/tv-shows?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/tv-shows.d.ts https://example-data.com/types/tv-shows.d.ts
import type { TvShow, ListEnvelope } from "./types/tv-shows";
const res = await fetch(
"https://example-data.com/api/v1/tv-shows?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<TvShow>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tv-shows",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 97,
"title": "Virgo vicinus exercitationem",
"slug": "virgo-vicinus-exercitationem-97",
"firstAired": "1998-07-09",
"lastAired": "2021-11-21",
"seasonCount": 11,
"episodeCount": 30,
"genres": [
"fantasy",
"romance",
"mystery"
],
"language": "Japanese",
"posterUrl": "https://picsum.photos/seed/tvshow-97/400/600",
"rating": 9.7,
"ratingCount": 224881,
"status": "ended",
"createdAt": "2023-12-25T08:21:26.346Z"
},
{
"id": 98,
"title": "Eius sollicito",
"slug": "eius-sollicito-98",
"firstAired": "2019-11-13",
"lastAired": "2026-03-14",
"seasonCount": 7,
"episodeCount": 108,
"genres": [
"action",
"comedy",
"drama"
],
"language": "Spanish",
"posterUrl": "https://picsum.photos/seed/tvshow-98/400/600",
"rating": 0.7,
"ratingCount": 381397,
"status": "ended",
"createdAt": "2025-04-30T04:18:20.621Z"
},
{
"id": 99,
"title": "Sed bellum",
"slug": "sed-bellum-99",
"firstAired": "2023-06-28",
"lastAired": null,
"seasonCount": 13,
"episodeCount": 86,
"genres": [
"action",
"reality"
],
"language": "Mandarin",
"posterUrl": "https://picsum.photos/seed/tvshow-99/400/600",
"rating": 8,
"ratingCount": 142717,
"status": "running",
"createdAt": "2024-02-16T21:35:01.728Z"
}
],
"meta": {
"page": 5,
"limit": 24,
"total": 100,
"totalPages": 5
},
"links": {
"self": "/api/v1/tv-shows?page=5&limit=24",
"first": "/api/v1/tv-shows?page=1&limit=24",
"last": "/api/v1/tv-shows?page=5&limit=24",
"next": null,
"prev": "/api/v1/tv-shows?page=4&limit=24"
}
}