
Get a list of planets
GET/v1/planets
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "api-ninjas",
"path": "/v1/planets",
"method": "GET"
}'
$0.001per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 450 ms median · 30 days
About this endpoint
Get a list of planets matching specified parameters. Returns at most 30 results. To access more than 30 results, use the offset parameter to offset results in multiple API calls.
Query parameters
namestringThe name of the planet.min_massnumberMinimum mass of the planet in Jupiters.max_massnumberMaximum mass of the planet in Jupiters.min_radiusnumberMinimum average radius of the planet in Jupiters.max_radiusnumberMaximum average radius of the planet in Jupiters.min_periodnumberMinimum orbital period of the planet in Earth days.max_periodnumberMaximum orbital period of the planet in Earth days.min_temperaturenumberMinimum average surface temperature of the planet in Kelvin.max_temperaturenumberMaximum average surface temperature of the planet in Kelvin.min_distance_light_yearnumberMinimum distance the planet is from Earth in light years.max_distance_light_yearnumberMaximum distance the planet is from Earth in light years.min_semi_major_axisnumberMinimum semi major axis of planet in astronomical units (AU).max_semi_major_axisnumberMaximum semi major axis of planet in astronomical units (AU).offsetnumberNumber of results to offset for pagination.More from API Ninjas
- Get current stock priceGET/v1/stockprice$0.001 per callFixed
- Convert between IATA and ICAO airport codes. Premium only.GET/v1/airportconvert$0.001 per callFixed
- Get bank holidays for a given country and year.GET/v1/bankholidays$0.001 per callFixed
- Lookup bank information by BINGET/v2/bin$0.001 per callFixed
- Get balance sheet data for a specific company, period, and yearGET/v1/balancesheet$0.001 per callFixed
- List which fiscal periods have cash flow data for a company (premium)GET/v1/cashflowavailability$0.001 per callFixed
- Get historical Bitcoin price dataGET/v1/bitcoinhistorical$0.001 per callFixed
- Get historical OHLCV data for a cryptocurrencyGET/v1/cryptopricehistorical$0.001 per callFixed
- Get a Chuck Norris jokeGET/v1/chucknorris$0.001 per callFixed
- Get aircraft detailsGET/v1/aircraft$0.001 per callFixed
- List models for a manufacturer. Premium only.GET/v2/carmodels$0.001 per callFixed
- Get country data from given parameters.GET/v1/country$0.001 per callFixed