← People

Watto

Height137
Massunknown
Hair colorblack
Skin colorblue, grey
Eye coloryellow
Birth yearunknown
Gendermale

Homeworld

Species

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/people/40').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":40}
GET /api/people/40 200
{
  "birth_year": "unknown",
  "created": "2014-12-19T17:48:54.647000Z",
  "edited": "2014-12-20T21:17:50.395000Z",
  "eye_color": "yellow",
  "films": [
    "https://swapi.build/api/films/4",
    "https://swapi.build/api/films/5"
  ],
  "gender": "male",
  "hair_color": "black",
  "height": "137",
  "homeworld": "https://swapi.build/api/planets/34",
  "mass": "unknown",
  "name": "Watto",
  "skin_color": "blue, grey",
  "species": [
    "https://swapi.build/api/species/13"
  ],
  "starships": [],
  "url": "https://swapi.build/api/people/40",
  "vehicles": []
}