← Species

Twi'lek

Classificationmammals
Designationsentient
Average height200
Skin colorsorange, yellow, blue, green, pink, purple, tan
Hair colorsnone
Eye colorsblue, brown, orange, pink
Average lifespanunknown
LanguageTwi'leki

Homeworld

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/species/15').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":15}
GET /api/species/15 200
{
  "average_height": "200",
  "average_lifespan": "unknown",
  "classification": "mammals",
  "created": "2014-12-20T09:48:02.406000Z",
  "designation": "sentient",
  "edited": "2014-12-20T21:36:42.169000Z",
  "eye_colors": "blue, brown, orange, pink",
  "films": [
    "https://swapi.build/api/films/3",
    "https://swapi.build/api/films/4",
    "https://swapi.build/api/films/5",
    "https://swapi.build/api/films/6"
  ],
  "hair_colors": "none",
  "homeworld": "https://swapi.build/api/planets/37",
  "language": "Twi'leki",
  "name": "Twi'lek",
  "people": [
    "https://swapi.build/api/people/45",
    "https://swapi.build/api/people/46"
  ],
  "skin_colors": "orange, yellow, blue, green, pink, purple, tan",
  "url": "https://swapi.build/api/species/15"
}