Skip to content

Search TV Shows

This API provides a fast and reliable way to search for TV shows by name. It returns a clean array of matching shows, including basic metadata like status, genres, rating, and cover images.

POST /api/v1/tv/search

The following parameters are accepted in the request body:

FieldTypeRequiredDescriptionExample
querystringYesThe TV show name to search for.Breaking Bad
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/tv/search \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"query": "Breaking Bad"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"cached": false,
"cache_ttl": 43200,
"data": {
"count": 1,
"shows": [
{
"id": 169,
"name": "Breaking Bad",
"status": "Ended",
"genres": ["Drama", "Crime", "Thriller"],
"rating": 9.2,
"image": "https://static.tvmaze.com/uploads/images/medium_portrait/0/2400.jpg",
"summary": "Breaking Bad follows protagonist Walter White, a chemistry teacher who lives in New Mexico with his wife and teenage son who has cerebral palsy."
}
]
}
}