Movies API

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.

Basis-URL: https://funapi.dev/api/movies/v1 · 9 Endpunkte · OpenAPI-3.1-Spezifikation und Postman-Collection verfügbar. Neu hier? Lesen Sie die Einstiegsanleitung.

movies

Jetzt im Programm: Grenzfall (2024)

uploads

simulierte mehrteilige Datei-Uploads

Use 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.

Was du hier üben kannst

Beispiel für Anfrage und Antwort

GET https://funapi.dev/api/movies/v1/search?q=edge — Volltextsuche nach Filmtiteln. Kein Token, keine Anmeldung:

curl -i "https://funapi.dev/api/movies/v1/search?q=edge"

Antwort: 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.

Diesen Endpunkt öffnen und ausführen

Alle 55 Mock-REST-APIs

Diese Antwort anderswo verwenden

Zuletzt aktualisiert