← Planets

Sullust

Rotation period20
Orbital period263
Diameter12780
Climatesuperheated
Gravity1
Terrainmountains, volcanoes, rocky deserts
Surface water5
Population18500000000

Residents

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/planets/33').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":33}
GET /api/planets/33 200
{
  "climate": "superheated",
  "created": "2014-12-18T11:25:40.243000Z",
  "diameter": "12780",
  "edited": "2014-12-20T20:58:18.474000Z",
  "films": [],
  "gravity": "1",
  "name": "Sullust",
  "orbital_period": "263",
  "population": "18500000000",
  "residents": [
    "https://swapi.build/api/people/31"
  ],
  "rotation_period": "20",
  "surface_water": "5",
  "terrain": "mountains, volcanoes, rocky deserts",
  "url": "https://swapi.build/api/planets/33"
}