← Planets
Ord Mantell
Attributes
| Rotation period | 26 |
|---|---|
| Orbital period | 334 |
| Diameter | 14050 |
| Climate | temperate |
| Gravity | 1 standard |
| Terrain | plains, seas, mesas |
| Surface water | 10 |
| Population | 4000000000 |
Related records
Films
Use this record
curl
curl https://swapi.build/api/planets/27
JavaScript
fetch('https://swapi.build/api/planets/27').then((r) => r.json())
Python
requests.get('https://swapi.build/api/planets/27').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":27}
GET /api/planets/27 200
{
"climate": "temperate",
"created": "2014-12-15T12:23:41.661000Z",
"diameter": "14050",
"edited": "2014-12-20T20:58:18.464000Z",
"films": [
"https://swapi.build/api/films/2"
],
"gravity": "1 standard",
"name": "Ord Mantell",
"orbital_period": "334",
"population": "4000000000",
"residents": [],
"rotation_period": "26",
"surface_water": "10",
"terrain": "plains, seas, mesas",
"url": "https://swapi.build/api/planets/27"
}