← Planets

Vulpter

Rotation period22
Orbital period391
Diameter14900
Climatetemperate, artic
Gravity1
Terrainurban, barren
Surface waterunknown
Population421000000

Residents

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/planets/39').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":39}
GET /api/planets/39 200
{
  "climate": "temperate, artic",
  "created": "2014-12-20T09:56:58.874000Z",
  "diameter": "14900",
  "edited": "2014-12-20T20:58:18.485000Z",
  "films": [],
  "gravity": "1",
  "name": "Vulpter",
  "orbital_period": "391",
  "population": "421000000",
  "residents": [
    "https://swapi.build/api/people/48"
  ],
  "rotation_period": "22",
  "surface_water": "unknown",
  "terrain": "urban, barren",
  "url": "https://swapi.build/api/planets/39"
}