Classificationgastropod
Designationsentient
Average height300
Skin colorsgreen, brown, tan
Hair colorsn/a
Eye colorsyellow, red
Average lifespan1000
LanguageHuttese

Homeworld

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/species/5').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":5}
GET /api/species/5 200
{
  "average_height": "300",
  "average_lifespan": "1000",
  "classification": "gastropod",
  "created": "2014-12-10T17:12:50.410000Z",
  "designation": "sentient",
  "edited": "2014-12-20T21:36:42.146000Z",
  "eye_colors": "yellow, red",
  "films": [
    "https://swapi.build/api/films/1",
    "https://swapi.build/api/films/3"
  ],
  "hair_colors": "n/a",
  "homeworld": "https://swapi.build/api/planets/24",
  "language": "Huttese",
  "name": "Hutt",
  "people": [
    "https://swapi.build/api/people/16"
  ],
  "skin_colors": "green, brown, tan",
  "url": "https://swapi.build/api/species/5"
}