Developer API
Read JollofRatings scores from your own apps: movies, WatchScores, genres, trending and recommendations.
Getting started
- Create an account and sign in.
- Make a key on your API keys page.
- Send it in the
X-API-Keyheader. - Call any endpoint below.
Authentication
Every request needs your key in a header:
curl -H "X-API-Key: jr_your_key_here" \
https://api.jollofratings.com/v1/videosRate limits
Limits are per key, per hour. Past the limit, requests get a 429 until the next hour starts.
| Tier | Requests an hour |
|---|---|
| Free | 100 |
| Pro | 1,000 |
| Internal | No limit |
New keys start on Free.
Endpoints
GET
/v1/videosList movies, with paging, filters and sorting.
GET
/v1/videos/:idOne movie, with its scores and what viewers said.
GET
/v1/videos/:id/ratingsThe public rating history for a movie.
GET
/v1/genresEvery genre.
GET
/v1/trendingMovies trending now.
GET
/v1/recommendationsPicks for the key’s owner. Takes strategy, limit and offset.
Example: trending movies
const response = await fetch('https://api.jollofratings.com/v1/trending?limit=10', {
headers: { 'X-API-Key': 'jr_your_key_here' },
})
const { data } = await response.json() // an array of moviesReady to build?
Get an API key