← Species

Cerean

Classificationmammal
Designationsentient
Average height200
Skin colorspale pink
Hair colorsred, blond, black, white
Eye colorshazel
Average lifespanunknown
LanguageCerean

Homeworld

People

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/species/20').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":20}
GET /api/species/20 200
{
  "average_height": "200",
  "average_lifespan": "unknown",
  "classification": "mammal",
  "created": "2014-12-20T10:15:33.765000Z",
  "designation": "sentient",
  "edited": "2014-12-20T21:36:42.179000Z",
  "eye_colors": "hazel",
  "films": [
    "https://swapi.build/api/films/4",
    "https://swapi.build/api/films/6"
  ],
  "hair_colors": "red, blond, black, white",
  "homeworld": "https://swapi.build/api/planets/43",
  "language": "Cerean",
  "name": "Cerean",
  "people": [
    "https://swapi.build/api/people/52"
  ],
  "skin_colors": "pale pink",
  "url": "https://swapi.build/api/species/20"
}