← Planets
Champala
Attributes
| Rotation period | 27 |
|---|---|
| Orbital period | 318 |
| Diameter | unknown |
| Climate | temperate |
| Gravity | 1 |
| Terrain | oceans, rainforests, plateaus |
| Surface water | unknown |
| Population | 3500000000 |
Related records
Residents
Use this record
curl
curl https://swapi.build/api/planets/50
JavaScript
fetch('https://swapi.build/api/planets/50').then((r) => r.json())
Python
requests.get('https://swapi.build/api/planets/50').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":50}
GET /api/planets/50 200
{
"climate": "temperate",
"created": "2014-12-20T10:52:51.524000Z",
"diameter": "unknown",
"edited": "2014-12-20T20:58:18.506000Z",
"films": [],
"gravity": "1",
"name": "Champala",
"orbital_period": "318",
"population": "3500000000",
"residents": [
"https://swapi.build/api/people/59"
],
"rotation_period": "27",
"surface_water": "unknown",
"terrain": "oceans, rainforests, plateaus",
"url": "https://swapi.build/api/planets/50"
}