← Species

Xexto

Classificationunknown
Designationsentient
Average height125
Skin colorsgrey, yellow, purple
Hair colorsnone
Eye colorsblack
Average lifespanunknown
LanguageXextese

Homeworld

People

curl

curl https://swapi.build/api/species/18

JavaScript

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

Python

requests.get('https://swapi.build/api/species/18').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":"SPECIES","id":18}
GET /api/species/18 200
{
  "average_height": "125",
  "average_lifespan": "unknown",
  "classification": "unknown",
  "created": "2014-12-20T10:02:13.915000Z",
  "designation": "sentient",
  "edited": "2014-12-20T21:36:42.175000Z",
  "eye_colors": "black",
  "films": [
    "https://swapi.build/api/films/4"
  ],
  "hair_colors": "none",
  "homeworld": "https://swapi.build/api/planets/40",
  "language": "Xextese",
  "name": "Xexto",
  "people": [
    "https://swapi.build/api/people/49"
  ],
  "skin_colors": "grey, yellow, purple",
  "url": "https://swapi.build/api/species/18"
}