← People

Chewbacca

Height228
Mass112
Hair colorbrown
Skin colorunknown
Eye colorblue
Birth year200BBY
Gendermale

Homeworld

Species

Vehicles

curl

curl https://swapi.build/api/people/13

JavaScript

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

Python

requests.get('https://swapi.build/api/people/13').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":"PEOPLE","id":13}
GET /api/people/13 200
{
  "birth_year": "200BBY",
  "created": "2014-12-10T16:42:45.066000Z",
  "edited": "2014-12-20T21:17:50.332000Z",
  "eye_color": "blue",
  "films": [
    "https://swapi.build/api/films/1",
    "https://swapi.build/api/films/2",
    "https://swapi.build/api/films/3",
    "https://swapi.build/api/films/6"
  ],
  "gender": "male",
  "hair_color": "brown",
  "height": "228",
  "homeworld": "https://swapi.build/api/planets/14",
  "mass": "112",
  "name": "Chewbacca",
  "skin_color": "unknown",
  "species": [
    "https://swapi.build/api/species/3"
  ],
  "starships": [
    "https://swapi.build/api/starships/10",
    "https://swapi.build/api/starships/22"
  ],
  "url": "https://swapi.build/api/people/13",
  "vehicles": [
    "https://swapi.build/api/vehicles/19"
  ]
}