← People

Quarsh Panaka

Height183
Massunknown
Hair colorblack
Skin colordark
Eye colorbrown
Birth year62BBY
Gendermale

Homeworld

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/people/42').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":42}
GET /api/people/42 200
{
  "birth_year": "62BBY",
  "created": "2014-12-19T17:55:43.348000Z",
  "edited": "2014-12-20T21:17:50.399000Z",
  "eye_color": "brown",
  "films": [
    "https://swapi.build/api/films/4"
  ],
  "gender": "male",
  "hair_color": "black",
  "height": "183",
  "homeworld": "https://swapi.build/api/planets/8",
  "mass": "unknown",
  "name": "Quarsh Panaka",
  "skin_color": "dark",
  "species": [],
  "starships": [],
  "url": "https://swapi.build/api/people/42",
  "vehicles": []
}