← People

Owen Lars

Height178
Mass120
Hair colorbrown, grey
Skin colorlight
Eye colorblue
Birth year52BBY
Gendermale

Homeworld

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/people/6').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":6}
GET /api/people/6 200
{
  "birth_year": "52BBY",
  "created": "2014-12-10T15:52:14.024000Z",
  "edited": "2014-12-20T21:17:50.317000Z",
  "eye_color": "blue",
  "films": [
    "https://swapi.build/api/films/1",
    "https://swapi.build/api/films/5",
    "https://swapi.build/api/films/6"
  ],
  "gender": "male",
  "hair_color": "brown, grey",
  "height": "178",
  "homeworld": "https://swapi.build/api/planets/1",
  "mass": "120",
  "name": "Owen Lars",
  "skin_color": "light",
  "species": [],
  "starships": [],
  "url": "https://swapi.build/api/people/6",
  "vehicles": []
}