← Species

Trandoshan

Classificationreptile
Designationsentient
Average height200
Skin colorsbrown, green
Hair colorsnone
Eye colorsyellow, orange
Average lifespanunknown
LanguageDosh

Homeworld

People

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/species/7').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":7}
GET /api/species/7 200
{
  "average_height": "200",
  "average_lifespan": "unknown",
  "classification": "reptile",
  "created": "2014-12-15T13:07:47.704000Z",
  "designation": "sentient",
  "edited": "2014-12-20T21:36:42.151000Z",
  "eye_colors": "yellow, orange",
  "films": [
    "https://swapi.build/api/films/2"
  ],
  "hair_colors": "none",
  "homeworld": "https://swapi.build/api/planets/29",
  "language": "Dosh",
  "name": "Trandoshan",
  "people": [
    "https://swapi.build/api/people/24"
  ],
  "skin_colors": "brown, green",
  "url": "https://swapi.build/api/species/7"
}