← Planets

Cato Neimoidia

Rotation period25
Orbital period278
Diameter0
Climatetemperate, moist
Gravity1 standard
Terrainmountains, fields, forests, rock arches
Surface waterunknown
Population10000000

Residents

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/planets/18').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":18}
GET /api/planets/18 200
{
  "climate": "temperate, moist",
  "created": "2014-12-10T13:46:28.704000Z",
  "diameter": "0",
  "edited": "2014-12-20T20:58:18.449000Z",
  "films": [
    "https://swapi.build/api/films/6"
  ],
  "gravity": "1 standard",
  "name": "Cato Neimoidia",
  "orbital_period": "278",
  "population": "10000000",
  "residents": [
    "https://swapi.build/api/people/33"
  ],
  "rotation_period": "25",
  "surface_water": "unknown",
  "terrain": "mountains, fields, forests, rock arches",
  "url": "https://swapi.build/api/planets/18"
}