← Planets
Ryloth
Attributes
| Rotation period | 30 |
|---|---|
| Orbital period | 305 |
| Diameter | 10600 |
| Climate | temperate, arid, subartic |
| Gravity | 1 |
| Terrain | mountains, valleys, deserts, tundra |
| Surface water | 5 |
| Population | 1500000000 |
Related records
Residents
Use this record
curl
curl https://swapi.build/api/planets/37
JavaScript
fetch('https://swapi.build/api/planets/37').then((r) => r.json())
Python
requests.get('https://swapi.build/api/planets/37').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":37}
GET /api/planets/37 200
{
"climate": "temperate, arid, subartic",
"created": "2014-12-20T09:46:25.740000Z",
"diameter": "10600",
"edited": "2014-12-20T20:58:18.481000Z",
"films": [],
"gravity": "1",
"name": "Ryloth",
"orbital_period": "305",
"population": "1500000000",
"residents": [
"https://swapi.build/api/people/45",
"https://swapi.build/api/people/46"
],
"rotation_period": "30",
"surface_water": "5",
"terrain": "mountains, valleys, deserts, tundra",
"url": "https://swapi.build/api/planets/37"
}