← Planets
Kashyyyk
Attributes
| Rotation period | 26 |
|---|---|
| Orbital period | 381 |
| Diameter | 12765 |
| Climate | tropical |
| Gravity | 1 standard |
| Terrain | jungle, forests, lakes, rivers |
| Surface water | 60 |
| Population | 45000000 |
Related records
Films
Use this record
curl
curl https://swapi.build/api/planets/14
JavaScript
fetch('https://swapi.build/api/planets/14').then((r) => r.json())
Python
requests.get('https://swapi.build/api/planets/14').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":"PLANETS","id":14}
GET /api/planets/14 200
{
"climate": "tropical",
"created": "2014-12-10T13:32:00.124000Z",
"diameter": "12765",
"edited": "2014-12-20T20:58:18.442000Z",
"films": [
"https://swapi.build/api/films/6"
],
"gravity": "1 standard",
"name": "Kashyyyk",
"orbital_period": "381",
"population": "45000000",
"residents": [
"https://swapi.build/api/people/13",
"https://swapi.build/api/people/80"
],
"rotation_period": "26",
"surface_water": "60",
"terrain": "jungle, forests, lakes, rivers",
"url": "https://swapi.build/api/planets/14"
}