← Planets

Kalee

Rotation period23
Orbital period378
Diameter13850
Climatearid, temperate, tropical
Gravity1
Terrainrainforests, cliffs, canyons, seas
Surface waterunknown
Population4000000000

Residents

curl

curl https://swapi.build/api/planets/59

JavaScript

fetch('https://swapi.build/api/planets/59').then((r) => r.json())

Python

requests.get('https://swapi.build/api/planets/59').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":59}
GET /api/planets/59 200
{
  "climate": "arid, temperate, tropical",
  "created": "2014-12-20T19:43:51.278000Z",
  "diameter": "13850",
  "edited": "2014-12-20T20:58:18.523000Z",
  "films": [],
  "gravity": "1",
  "name": "Kalee",
  "orbital_period": "378",
  "population": "4000000000",
  "residents": [
    "https://swapi.build/api/people/79"
  ],
  "rotation_period": "23",
  "surface_water": "unknown",
  "terrain": "rainforests, cliffs, canyons, seas",
  "url": "https://swapi.build/api/planets/59"
}