← Species

Rodian

Classificationsentient
Designationreptilian
Average height170
Skin colorsgreen, blue
Hair colorsn/a
Eye colorsblack
Average lifespanunknown
LanguageGalatic Basic

Homeworld

People

Films

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/species/4').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":4}
GET /api/species/4 200
{
  "average_height": "170",
  "average_lifespan": "unknown",
  "classification": "sentient",
  "created": "2014-12-10T17:05:26.471000Z",
  "designation": "reptilian",
  "edited": "2014-12-20T21:36:42.144000Z",
  "eye_colors": "black",
  "films": [
    "https://swapi.build/api/films/1"
  ],
  "hair_colors": "n/a",
  "homeworld": "https://swapi.build/api/planets/23",
  "language": "Galatic Basic",
  "name": "Rodian",
  "people": [
    "https://swapi.build/api/people/15"
  ],
  "skin_colors": "green, blue",
  "url": "https://swapi.build/api/species/4"
}