Classificationmammal
Designationsentient
Average height100
Skin colorsbrown
Hair colorswhite, brown, black
Eye colorsorange, brown
Average lifespanunknown
LanguageEwokese

Homeworld

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/species/9').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":9}
GET /api/species/9 200
{
  "average_height": "100",
  "average_lifespan": "unknown",
  "classification": "mammal",
  "created": "2014-12-18T11:22:00.285000Z",
  "designation": "sentient",
  "edited": "2014-12-20T21:36:42.155000Z",
  "eye_colors": "orange, brown",
  "films": [
    "https://swapi.build/api/films/3"
  ],
  "hair_colors": "white, brown, black",
  "homeworld": "https://swapi.build/api/planets/7",
  "language": "Ewokese",
  "name": "Ewok",
  "people": [
    "https://swapi.build/api/people/30"
  ],
  "skin_colors": "brown",
  "url": "https://swapi.build/api/species/9"
}