
Get country data from given parameters.
GET/v1/country
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/country",
"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
Returns geographic, demographic, and economic statistics for countries matching filters such as name, currency, GDP, population, area, or unemployment rate.
Query parameters
namestringPlain English name, 2-letter ISO-3166 alpha-2, or 3-letter ISO-3166 alpha-3 code of country.currencystring3-letter currency code of country (e.g. USD).min_gdpstringMinimum gross domestic product (GDP) of country, in US Dollars.max_gdpstringMaximum gross domestic product (GDP) of country, in US Dollars.min_populationstringMinimum population of country (in thousands).max_populationstringMaximum population of country (in thousands).min_areastringMinimum surface area of country in km2.max_areastringMaximum surface area of country in km2.min_unemploymentstringMinimum unemployment rate in %.max_unemploymentstringMaximum unemployment rate in %.min_gdp_growthstringMinimum GDP growth rate in %.max_gdp_growthstringMaximum GDP growth rate in %.min_infant_mortalitystringMinimum infant mortality rate per 1,000 live births.max_infant_mortalitystringMaximum infant mortality rate per 1,000 live births.min_fertilitystringMinimum fertility rate (average number of children per woman).max_fertilitystringMaximum fertility rate (average number of children per woman).min_urban_pop_ratestringMinimum urban population rate in %.max_urban_pop_ratestringMaximum urban population rate in %.limitnumberHow many results to return. Must be between 1 and 30. Default is 5. (Default: 5)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 air quality by city or location coordinates.GET/v1/airquality$0.001 per callFixed