← Species

Besalisk

Classificationamphibian
Designationsentient
Average height178
Skin colorsbrown
Hair colorsnone
Eye colorsyellow
Average lifespan75
Languagebesalisk

Homeworld

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/species/31').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":31}
GET /api/species/31 200
{
  "average_height": "178",
  "average_lifespan": "75",
  "classification": "amphibian",
  "created": "2014-12-20T17:28:28.821000Z",
  "designation": "sentient",
  "edited": "2014-12-20T21:36:42.200000Z",
  "eye_colors": "yellow",
  "films": [
    "https://swapi.build/api/films/5"
  ],
  "hair_colors": "none",
  "homeworld": "https://swapi.build/api/planets/55",
  "language": "besalisk",
  "name": "Besalisk",
  "people": [
    "https://swapi.build/api/people/71"
  ],
  "skin_colors": "brown",
  "url": "https://swapi.build/api/species/31"
}