← Films

Return of the Jedi

Episode6
DirectorRichard Marquand
ProducerHoward G. Kazanjian, George Lucas, Rick McCallum
Release date1983-05-25

Opening crawl

Luke Skywalker has returned to his home planet of Tatooine in an attempt to rescue his friend Han Solo from the clutches of the vile gangster Jabba the Hutt. Little does Luke know that the GALACTIC EMPIRE has secretly begun construction on a new armored space station even more powerful than the first dreaded Death Star. When completed, this ultimate weapon will spell certain doom for the small band of rebels struggling to restore freedom to the galaxy...

curl

curl https://swapi.build/api/films/3

JavaScript

fetch('https://swapi.build/api/films/3').then((r) => r.json())

Python

requests.get('https://swapi.build/api/films/3').json()

MCP

Connect your agent once:

claude mcp add --transport http swapi-build https://swapi.build/mcp

then call the tool sw_get with:

{"resource":"FILMS","id":3}
GET /api/films/3 200
{
  "characters": [
    "https://swapi.build/api/people/1",
    "https://swapi.build/api/people/2",
    "https://swapi.build/api/people/3",
    "https://swapi.build/api/people/4",
    "https://swapi.build/api/people/5",
    "https://swapi.build/api/people/10",
    "https://swapi.build/api/people/13",
    "https://swapi.build/api/people/14",
    "https://swapi.build/api/people/16",
    "https://swapi.build/api/people/18",
    "https://swapi.build/api/people/20",
    "https://swapi.build/api/people/21",
    "https://swapi.build/api/people/22",
    "https://swapi.build/api/people/25",
    "https://swapi.build/api/people/27",
    "https://swapi.build/api/people/28",
    "https://swapi.build/api/people/29",
    "https://swapi.build/api/people/30",
    "https://swapi.build/api/people/31",
    "https://swapi.build/api/people/45"
  ],
  "created": "2014-12-18T10:39:33.255000Z",
  "director": "Richard Marquand",
  "edited": "2014-12-20T09:48:37.462000Z",
  "episode_id": 6,
  "opening_crawl": "Luke Skywalker has returned to\r\nhis home planet of Tatooine in\r\nan attempt to rescue his\r\nfriend Han Solo from the\r\nclutches of the vile gangster\r\nJabba the Hutt.\r\n\r\nLittle does Luke know that the\r\nGALACTIC EMPIRE has secretly\r\nbegun construction on a new\r\narmored space station even\r\nmore powerful than the first\r\ndreaded Death Star.\r\n\r\nWhen completed, this ultimate\r\nweapon will spell certain doom\r\nfor the small band of rebels\r\nstruggling to restore freedom\r\nto the galaxy...",
  "planets": [
    "https://swapi.build/api/planets/1",
    "https://swapi.build/api/planets/5",
    "https://swapi.build/api/planets/7",
    "https://swapi.build/api/planets/8",
    "https://swapi.build/api/planets/9"
  ],
  "producer": "Howard G. Kazanjian, George Lucas, Rick McCallum",
  "release_date": "1983-05-25",
  "species": [
    "https://swapi.build/api/species/1",
    "https://swapi.build/api/species/2",
    "https://swapi.build/api/species/3",
    "https://swapi.build/api/species/5",
    "https://swapi.build/api/species/6",
    "https://swapi.build/api/species/8",
    "https://swapi.build/api/species/9",
    "https://swapi.build/api/species/10",
    "https://swapi.build/api/species/15"
  ],
  "starships": [
    "https://swapi.build/api/starships/2",
    "https://swapi.build/api/starships/3",
    "https://swapi.build/api/starships/10",
    "https://swapi.build/api/starships/11",
    "https://swapi.build/api/starships/12",
    "https://swapi.build/api/starships/15",
    "https://swapi.build/api/starships/17",
    "https://swapi.build/api/starships/22",
    "https://swapi.build/api/starships/23",
    "https://swapi.build/api/starships/27",
    "https://swapi.build/api/starships/28",
    "https://swapi.build/api/starships/29"
  ],
  "title": "Return of the Jedi",
  "url": "https://swapi.build/api/films/3",
  "vehicles": [
    "https://swapi.build/api/vehicles/8",
    "https://swapi.build/api/vehicles/16",
    "https://swapi.build/api/vehicles/18",
    "https://swapi.build/api/vehicles/19",
    "https://swapi.build/api/vehicles/24",
    "https://swapi.build/api/vehicles/25",
    "https://swapi.build/api/vehicles/26",
    "https://swapi.build/api/vehicles/30"
  ]
}