← Species

Chagrian

Classificationamphibian
Designationsentient
Average height190
Skin colorsblue
Hair colorsnone
Eye colorsblue
Average lifespanunknown
LanguageChagria

Homeworld

People

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/species/27').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":27}
GET /api/species/27 200
{
  "average_height": "190",
  "average_lifespan": "unknown",
  "classification": "amphibian",
  "created": "2014-12-20T10:53:28.795000Z",
  "designation": "sentient",
  "edited": "2014-12-20T21:36:42.193000Z",
  "eye_colors": "blue",
  "films": [
    "https://swapi.build/api/films/4",
    "https://swapi.build/api/films/6"
  ],
  "hair_colors": "none",
  "homeworld": "https://swapi.build/api/planets/50",
  "language": "Chagria",
  "name": "Chagrian",
  "people": [
    "https://swapi.build/api/people/59"
  ],
  "skin_colors": "blue",
  "url": "https://swapi.build/api/species/27"
}