← Species
Yoda's species
Attributes
| Classification | mammal |
|---|---|
| Designation | sentient |
| Average height | 66 |
| Skin colors | green, yellow |
| Hair colors | brown, white |
| Eye colors | brown, green, yellow |
| Average lifespan | 900 |
| Language | Galactic basic |
Related records
Homeworld
People
Use this record
curl
curl https://swapi.build/api/species/6
JavaScript
fetch('https://swapi.build/api/species/6').then((r) => r.json())
Python
requests.get('https://swapi.build/api/species/6').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":6}
GET /api/species/6 200
{
"average_height": "66",
"average_lifespan": "900",
"classification": "mammal",
"created": "2014-12-15T12:27:22.877000Z",
"designation": "sentient",
"edited": "2014-12-20T21:36:42.148000Z",
"eye_colors": "brown, green, yellow",
"films": [
"https://swapi.build/api/films/2",
"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": "brown, white",
"homeworld": "https://swapi.build/api/planets/28",
"language": "Galactic basic",
"name": "Yoda's species",
"people": [
"https://swapi.build/api/people/20"
],
"skin_colors": "green, yellow",
"url": "https://swapi.build/api/species/6"
}