Authentication
All API endpoints require authentication via a Bearer token in the Authorization header.
Include your API key in every request:
Authorization: Bearer YOUR_API_KEY
Getting an API Key
Contact us to receive your personal API key. Each key is unique and tied to your account.
Example Request
fetch("https://movieapi.jabez.co.ke/api/v1/trending", {
headers: {
"Authorization": "Bearer Mantra_movieapi_your_key_here"
}
})
curl -H "Authorization: Bearer Mantra_movieapi_your_key_here" \
https://movieapi.jabez.co.ke/api/v1/trending
import requests
headers = {"Authorization": "Bearer Mantra_movieapi_your_key_here"}
response = requests.get("https://movieapi.jabez.co.ke/api/v1/trending", headers=headers)
data = response.json()
Get homepage data including banners, featured movie sections, and platform lists.
Parameters
No parameters required.
Example Response
{
"status": 200,
"success": true,
"results": {
"operatingList": [
{
"type": "BANNER",
"banner": {
"items": [
{
"id": "...",
"title": "Movie Title",
"subjectId": "123456",
"image": { "url": "https://..." }
}
]
}
},
{
"type": "SUBJECTS_MOVIE",
"title": "Trending Now",
"subjects": [ ... ]
}
],
"platformList": [
{ "name": "Netflix" },
{ "name": "Disney" }
]
}
}
Get currently trending movies and TV shows.
Parameters
No parameters required.
Example Response
{
"status": 200,
"success": true,
"results": {
"subjectList": [
{
"subjectId": "8906247916759695608",
"subjectType": 1,
"title": "Avatar",
"releaseDate": "2009-12-18",
"duration": 9720,
"genre": "Action,Adventure,Fantasy",
"cover": { "url": "https://..." },
"imdbRatingValue": "7.9",
"imdbRatingCount": 1400000,
"hasResource": true
}
]
}
}
Search for movies and TV shows by title.
Parameters
| Name | Type | Description |
| query | string required | Search term (URL path parameter) |
| page | number optional | Page number for pagination (default: 1) |
Example Request
GET /api/v1/search/avatar?page=1
Example Response
{
"status": 200,
"success": true,
"results": {
"pager": {
"hasMore": true,
"nextPage": "2",
"page": "1",
"perPage": 24,
"totalCount": 72
},
"items": [
{
"subjectId": "8906247916759695608",
"title": "Avatar",
"subjectType": 1,
"genre": "Action,Adventure,Fantasy",
...
}
]
}
}
Get detailed information about a specific movie or TV show.
Parameters
| Name | Type | Description |
| id | string required | Subject ID of the movie or show |
Subject Types
subjectType: 1 = Movie · subjectType: 2 = TV Series
Example Response
{
"status": 200,
"success": true,
"results": {
"subject": {
"subjectId": "8906247916759695608",
"subjectType": 1,
"title": "Avatar",
"description": "A paraplegic Marine...",
"releaseDate": "2009-12-18",
"duration": 9720,
"genre": "Action,Adventure,Fantasy",
"cover": { "url": "https://..." },
"countryName": "United States",
"imdbRatingValue": "7.9",
"imdbRatingCount": 1400000,
"hasResource": true,
"trailer": { ... },
"staffList": [ ... ]
},
"episodeList": []
}
}
Get streaming and download links for a movie or TV episode in multiple qualities.
Parameters
| Name | Type | Description |
| id | string required | Subject ID of the movie or show |
| season | number optional | Season number (for TV shows only) |
| episode | number optional | Episode number (for TV shows only) |
Example Request (Movie)
GET /api/v1/sources/8906247916759695608
Example Request (TV Episode)
GET /api/v1/sources/123456?season=1&episode=3
Example Response
{
"status": 200,
"success": true,
"results": [
{
"id": "1223777318477397960",
"quality": "360p",
"download_url": "https://...",
"stream_url": "https://...",
"size": "251658240",
"format": "mp4"
},
{
"quality": "720p",
...
},
{
"quality": "1080p",
...
}
]
}
Error Handling
Error responses follow this format:
{
"status": 401,
"success": false,
"error": "Missing or invalid Authorization header"
}
Status Codes
200Success
400Bad Request
401Unauthorized (missing/invalid API key)
403Forbidden (revoked/expired API key)
429Too Many Requests (rate limit or daily limit)
502Upstream API error
500Internal server error