Search a mock movie catalog by title, filter films by genre or year, and test ratings. Try the JSON read endpoints in your browser without an API key.
Base URL: https://funapi.dev/api/movies/v1 · 9 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.
now showing: Edge Case (2024)
GET /movies/v1/movies — List movies (filter, sort, paginate) · Responds with 200 400 404 Link to this endpointGET /movies/v1/movies/{id} — Get one movie · Responds with 200 404 Link to this endpointGET /movies/v1/search — Full-text search movie titles · Responds with 200 Link to this endpointGET /movies/v1/search/fuzzy — Typo-tolerant search (fuzzy match, "did you mean") · Responds with 200 400 Link to this endpointPOST /movies/v1/movies — Add a movie (requires Bearer auth) · Responds with 201 400 401 Link to this endpointPUT /movies/v1/movies/{id}/rating — Rate a movie (0–10 inclusive) (requires Bearer auth) · Responds with 200 400 401 404 412 Link to this endpointDELETE /movies/v1/movies/{id} — Remove a movie (requires Bearer auth) · Responds with 204 401 403 404 412 Link to this endpointGET /movies/v1/movies/{id}/similar — Get movies with the same genre (recommendation) · Responds with 200 404 Link to this endpointsimulated multipart file uploads
POST /movies/v1/movies/{id}/poster — Upload a movie poster (simulated multipart file upload) (requires Bearer auth) · Responds with 201 400 401 404 413 415 Link to this endpointUse the Movies API to build or test a film search interface with fictional titles and ratings. A title search returns a total and matching movie records with an ID, title, genre, year and rating. The movie list also supports genre and year filters, sorting and pagination. Read requests are public. Rating a film or uploading a poster requires a sandbox token.
GET https://funapi.dev/api/movies/v1/search?q=edge — Full-text search movie titles. No token, no signup:
curl -i "https://funapi.dev/api/movies/v1/search?q=edge"
Response: 200 OK
{
"total": 1,
"data": [
{
"id": 8,
"title": "Edge Case",
"genre": "drama",
"year": 2024,
"rating": 8.4,
"_v": 1
}
]
}
The title search matches substrings without regard to case. The sample returns HTTP 200 with total set to 1 and Edge Case in data. A query with no matches also returns HTTP 200, with total set to 0 and an empty data array.
Last updated