Skip to content

Search Movies

This API allows developers to build full-scale movie catalogues. It retrieves rich metadata, cover images, torrent distributions, and more based on advanced search queries.

POST /api/v1/movies/search

The following parameters are accepted in the request body:

FieldTypeRequiredDescriptionExample
querystringOptionalSearch query / Movie title."Inception"
pageintegerOptionalPage number for pagination.1
limitintegerOptionalResults per page (Max 50, Default 10).10
genrestringOptionalGenre filter (e.g., Action, Drama, Sci-Fi)."Action"
sort_bystringOptionalSort by: title, year, rating, peers, seeds, download_count, like_count, date_added."rating"
min_ratingnumberOptionalMinimum IMDb rating (0-9).7.5
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/movies/search \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"query": "Inception", "limit": 1}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"cached": true,
"cache_ttl": 43190,
"data": {
"count": 1,
"total": 1,
"page": 1,
"movies": [
{
"id": 1,
"title": "Inception",
"description": "A thief who steals corporate secrets through the use of dream-sharing technology...",
"year": 2010,
"rating": 8.8,
"genres": ["Action", "Adventure", "Sci-Fi"],
"poster": "https://yts.gg/assets/images/movies/inception_2010/large-cover.jpg",
"torrents": [
{
"quality": "1080p",
"type": "web",
"size": "2.1 GB",
"seeds": 1250,
"peers": 340,
"url": "https://yts.gg/torrent/download/..."
}
]
}
]
}
}