← Planets

Felucia

Rotation period34
Orbital period231
Diameter9100
Climatehot, humid
Gravity0.75 standard
Terrainfungus forests
Surface waterunknown
Population8500000

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/planets/17').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":17}
GET /api/planets/17 200
{
  "climate": "hot, humid",
  "created": "2014-12-10T13:44:50.397000Z",
  "diameter": "9100",
  "edited": "2014-12-20T20:58:18.447000Z",
  "films": [
    "https://swapi.build/api/films/6"
  ],
  "gravity": "0.75 standard",
  "name": "Felucia",
  "orbital_period": "231",
  "population": "8500000",
  "residents": [],
  "rotation_period": "34",
  "surface_water": "unknown",
  "terrain": "fungus forests",
  "url": "https://swapi.build/api/planets/17"
}