← Planets
Dathomir
Attributes
| Rotation period | 24 |
|---|---|
| Orbital period | 491 |
| Diameter | 10480 |
| Climate | temperate |
| Gravity | 0.9 |
| Terrain | forests, deserts, savannas |
| Surface water | unknown |
| Population | 5200 |
Related records
Residents
Use this record
curl
curl https://swapi.build/api/planets/36
JavaScript
fetch('https://swapi.build/api/planets/36').then((r) => r.json())
Python
requests.get('https://swapi.build/api/planets/36').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":36}
GET /api/planets/36 200
{
"climate": "temperate",
"created": "2014-12-19T18:00:40.142000Z",
"diameter": "10480",
"edited": "2014-12-20T20:58:18.480000Z",
"films": [],
"gravity": "0.9",
"name": "Dathomir",
"orbital_period": "491",
"population": "5200",
"residents": [
"https://swapi.build/api/people/44"
],
"rotation_period": "24",
"surface_water": "unknown",
"terrain": "forests, deserts, savannas",
"url": "https://swapi.build/api/planets/36"
}