← Planets
Polis Massa
Attributes
| Rotation period | 24 |
|---|---|
| Orbital period | 590 |
| Diameter | 0 |
| Climate | artificial temperate |
| Gravity | 0.56 standard |
| Terrain | airless asteroid |
| Surface water | 0 |
| Population | 1000000 |
Related records
Films
Use this record
curl
curl https://swapi.build/api/planets/15
JavaScript
fetch('https://swapi.build/api/planets/15').then((r) => r.json())
Python
requests.get('https://swapi.build/api/planets/15').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":15}
GET /api/planets/15 200
{
"climate": "artificial temperate ",
"created": "2014-12-10T13:33:46.405000Z",
"diameter": "0",
"edited": "2014-12-20T20:58:18.444000Z",
"films": [
"https://swapi.build/api/films/6"
],
"gravity": "0.56 standard",
"name": "Polis Massa",
"orbital_period": "590",
"population": "1000000",
"residents": [],
"rotation_period": "24",
"surface_water": "0",
"terrain": "airless asteroid",
"url": "https://swapi.build/api/planets/15"
}