← Planets
unknown
Attributes
| Rotation period | 0 |
|---|---|
| Orbital period | 0 |
| Diameter | 0 |
| Climate | unknown |
| Gravity | unknown |
| Terrain | unknown |
| Surface water | unknown |
| Population | unknown |
Related records
Residents
Use this record
curl
curl https://swapi.build/api/planets/28
JavaScript
fetch('https://swapi.build/api/planets/28').then((r) => r.json())
Python
requests.get('https://swapi.build/api/planets/28').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":28}
GET /api/planets/28 200
{
"climate": "unknown",
"created": "2014-12-15T12:25:59.569000Z",
"diameter": "0",
"edited": "2014-12-20T20:58:18.466000Z",
"films": [],
"gravity": "unknown",
"name": "unknown",
"orbital_period": "0",
"population": "unknown",
"residents": [
"https://swapi.build/api/people/20",
"https://swapi.build/api/people/23",
"https://swapi.build/api/people/29",
"https://swapi.build/api/people/32",
"https://swapi.build/api/people/75"
],
"rotation_period": "0",
"surface_water": "unknown",
"terrain": "unknown",
"url": "https://swapi.build/api/planets/28"
}