← Planets

Skako

Rotation period27
Orbital period384
Diameterunknown
Climatetemperate
Gravity1
Terrainurban, vines
Surface waterunknown
Population500000000000

Residents

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/planets/56').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":56}
GET /api/planets/56 200
{
  "climate": "temperate",
  "created": "2014-12-20T17:50:47.864000Z",
  "diameter": "unknown",
  "edited": "2014-12-20T20:58:18.517000Z",
  "films": [],
  "gravity": "1",
  "name": "Skako",
  "orbital_period": "384",
  "population": "500000000000",
  "residents": [
    "https://swapi.build/api/people/76"
  ],
  "rotation_period": "27",
  "surface_water": "unknown",
  "terrain": "urban, vines",
  "url": "https://swapi.build/api/planets/56"
}