← Planets
Rodia
Attributes
| Rotation period | 29 |
|---|---|
| Orbital period | 305 |
| Diameter | 7549 |
| Climate | hot |
| Gravity | 1 standard |
| Terrain | jungles, oceans, urban, swamps |
| Surface water | 60 |
| Population | 1300000000 |
Related records
Residents
Use this record
curl
curl https://swapi.build/api/planets/23
JavaScript
fetch('https://swapi.build/api/planets/23').then((r) => r.json())
Python
requests.get('https://swapi.build/api/planets/23').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":23}
GET /api/planets/23 200
{
"climate": "hot",
"created": "2014-12-10T17:03:28.110000Z",
"diameter": "7549",
"edited": "2014-12-20T20:58:18.458000Z",
"films": [],
"gravity": "1 standard",
"name": "Rodia",
"orbital_period": "305",
"population": "1300000000",
"residents": [
"https://swapi.build/api/people/15"
],
"rotation_period": "29",
"surface_water": "60",
"terrain": "jungles, oceans, urban, swamps",
"url": "https://swapi.build/api/planets/23"
}