Planets
https://core.hisend.hunnovate.com/api/v1/locations/planets?api_key={api_key}&search={search}
List of Planets
Query Params
search string optional
Search in all projects by name or description
api_key string required
The api key from your dashboard
200 Success Response Example
{
"current_page": 1,
"data": [
{
"id": 1,
"name": "Mercury",
"slug": "mercury",
"mass": 330110000000000000000000.000000,
"radius": 2439.70,
"orbital_period": 87.97,
"distance_from_sun": 57909227.00,
"type": "terrestrial",
"has_rings": 0,
"is_dwarf": 0,
"created_at": null,
"updated_at": null,
},
{
"id": 2,
"name": "Venus",
"slug": "venus",
"mass": 4867500000000000000000000.000000,
"radius": 6051.80,
"orbital_period": 224.70,
"distance_from_sun": 108209475.00,
"type": "terrestrial",
"has_rings": 0,
"is_dwarf": 0,
"created_at": null,
"updated_at": null,
},
{
"id": 3,
"name": "Earth",
"slug": "earth",
"mass": 5972370000000000000000000.000000,
"radius": 6371.00,
"orbital_period": 365.25,
"distance_from_sun": 149598262.00,
"type": "terrestrial",
"has_rings": 0,
"is_dwarf": 0,
"created_at": null,
"updated_at": null,
},
{
"id": 4,
"name": "Mars",
"slug": "mars",
"mass": 641710000000000000000000.000000,
"radius": 3389.50,
"orbital_period": 687.00,
"distance_from_sun": 227943824.00,
"type": "terrestrial",
"has_rings": 0,
"is_dwarf": 0,
"created_at": null,
"updated_at": null,
},
{
"id": 5,
"name": "Jupiter",
"slug": "jupiter",
"mass": 1898200000000000000000000000.000000,
"radius": 69911.00,
"orbital_period": 4331.00,
"distance_from_sun": 778340821.00,
"type": "gas_giant",
"has_rings": 1,
"is_dwarf": 0,
"created_at": null,
"updated_at": null,
},
{
"id": 6,
"name": "Saturn",
"slug": "saturn",
"mass": 568340000000000000000000000.000000,
"radius": 58232.00,
"orbital_period": 10747.00,
"distance_from_sun": 1426666422.00,
"type": "gas_giant",
"has_rings": 1,
"is_dwarf": 0,
"created_at": null,
"updated_at": null,
},
{
"id": 7,
"name": "Uranus",
"slug": "uranus",
"mass": 86810000000000000000000000.000000,
"radius": 25362.00,
"orbital_period": 30589.00,
"distance_from_sun": 2870658186.00,
"type": "ice_giant",
"has_rings": 1,
"is_dwarf": 0,
"created_at": null,
"updated_at": null,
},
{
"id": 8,
"name": "Neptune",
"slug": "neptune",
"mass": 102413000000000000000000000.000000,
"radius": 24622.00,
"orbital_period": 59800.00,
"distance_from_sun": 4498396441.00,
"type": "ice_giant",
"has_rings": 1,
"is_dwarf": 0,
"created_at": null,
"updated_at": null,
},
{
"id": 9,
"name": "Pluto",
"slug": "pluto",
"mass": 13030000000000000000000.000000,
"radius": 1188.30,
"orbital_period": 90560.00,
"distance_from_sun": 5906376272.00,
"type": "dwarf",
"has_rings": 0,
"is_dwarf": 1,
"created_at": null,
"updated_at": null,
},
],
"first_page_url": "https://core.hisend.hunnovate.com/api/v1/api/v1/planets?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://core.hisend.hunnovate.com/api/v1/api/v1/planets?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/api/v1/planets?page=1",
"label": 1,
"active": true,
},
{
"url": null,
"label": "Next »",
"active": false,
},
],
"next_page_url": null,
"path": "https://core.hisend.hunnovate.com/api/v1/api/v1/planets",
"per_page": 10,
"prev_page_url": null,
"to": 9,
"total": 9,
}