← People

Bail Prestor Organa

Height191
Massunknown
Hair colorblack
Skin colortan
Eye colorbrown
Birth year67BBY
Gendermale

Homeworld

Species

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/people/68').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":68}
GET /api/people/68 200
{
  "birth_year": "67BBY",
  "created": "2014-12-20T16:53:08.575000Z",
  "edited": "2014-12-20T21:17:50.463000Z",
  "eye_color": "brown",
  "films": [
    "https://swapi.build/api/films/5",
    "https://swapi.build/api/films/6"
  ],
  "gender": "male",
  "hair_color": "black",
  "height": "191",
  "homeworld": "https://swapi.build/api/planets/2",
  "mass": "unknown",
  "name": "Bail Prestor Organa",
  "skin_color": "tan",
  "species": [
    "https://swapi.build/api/species/1"
  ],
  "starships": [],
  "url": "https://swapi.build/api/people/68",
  "vehicles": []
}