← People
Leia Organa
Attributes
| Height | 150 |
|---|---|
| Mass | 49 |
| Hair color | brown |
| Skin color | light |
| Eye color | brown |
| Birth year | 19BBY |
| Gender | female |
Related records
Homeworld
Vehicles
Use this record
curl
curl https://swapi.build/api/people/5
JavaScript
fetch('https://swapi.build/api/people/5').then((r) => r.json())
Python
requests.get('https://swapi.build/api/people/5').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":5}
GET /api/people/5 200
{
"birth_year": "19BBY",
"created": "2014-12-10T15:20:09.791000Z",
"edited": "2014-12-20T21:17:50.315000Z",
"eye_color": "brown",
"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": "female",
"hair_color": "brown",
"height": "150",
"homeworld": "https://swapi.build/api/planets/2",
"mass": "49",
"name": "Leia Organa",
"skin_color": "light",
"species": [],
"starships": [],
"url": "https://swapi.build/api/people/5",
"vehicles": [
"https://swapi.build/api/vehicles/30"
]
}