Star Wars API · Example Payload

Film

Star WarsScience FictionEntertainmentFilmCharactersPlanetsStarshipsVehiclesSpeciesOpen-Source

Film is an example object payload from Star Wars API, with 14 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titleepisode_idopening_crawldirectorproducerrelease_datecharactersplanetsstarshipsvehiclesspeciescreatededitedurl

Example Payload

Raw ↑
{
  "title": "A New Hope",
  "episode_id": 4,
  "opening_crawl": "It is a period of civil war.\r\nRebel spaceships, striking\r\nfrom a hidden base, have won\r\ntheir first victory against\r\nthe evil Galactic Empire.\r\n\r\nDuring the battle, Rebel\r\nspies managed to steal secret\r\nplans to the Empire's\r\nultimate weapon, the DEATH\r\nSTAR, an armored space\r\nstation with enough power\r\nto destroy an entire planet.\r\n\r\nPursued by the Empire's\r\nsinister agents, Princess\r\nLeia races home aboard her\r\nstarship, custodian of the\r\nstolen plans that can save her\r\npeople and restore\r\nfreedom to the galaxy....",
  "director": "George Lucas",
  "producer": "Gary Kurtz, Rick McCallum",
  "release_date": "1977-05-25",
  "characters": [
    "https://swapi.info/api/people/1",
    "https://swapi.info/api/people/2",
    "https://swapi.info/api/people/3",
    "https://swapi.info/api/people/4",
    "https://swapi.info/api/people/5"
  ],
  "planets": [
    "https://swapi.info/api/planets/1",
    "https://swapi.info/api/planets/2",
    "https://swapi.info/api/planets/3"
  ],
  "starships": [
    "https://swapi.info/api/starships/2",
    "https://swapi.info/api/starships/3",
    "https://swapi.info/api/starships/5"
  ],
  "vehicles": [
    "https://swapi.info/api/vehicles/4",
    "https://swapi.info/api/vehicles/6"
  ],
  "species": [
    "https://swapi.info/api/species/1",
    "https://swapi.info/api/species/2",
    "https://swapi.info/api/species/3"
  ],
  "created": "2014-12-10T14:23:31.880000Z",
  "edited": "2014-12-20T19:49:45.256000Z",
  "url": "https://swapi.info/api/films/1"
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/film"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.