← People

Padmé Amidala

Height185
Mass45
Hair colorbrown
Skin colorlight
Eye colorbrown
Birth year46BBY
Genderfemale

Homeworld

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/people/35').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":35}
GET /api/people/35 200
{
  "birth_year": "46BBY",
  "created": "2014-12-19T17:28:26.926000Z",
  "edited": "2014-12-20T21:17:50.381000Z",
  "eye_color": "brown",
  "films": [
    "https://swapi.build/api/films/4",
    "https://swapi.build/api/films/5",
    "https://swapi.build/api/films/6"
  ],
  "gender": "female",
  "hair_color": "brown",
  "height": "185",
  "homeworld": "https://swapi.build/api/planets/8",
  "mass": "45",
  "name": "Padmé Amidala",
  "skin_color": "light",
  "species": [],
  "starships": [
    "https://swapi.build/api/starships/39",
    "https://swapi.build/api/starships/49",
    "https://swapi.build/api/starships/64"
  ],
  "url": "https://swapi.build/api/people/35",
  "vehicles": []
}