Properties
| Name | Type | Description |
|---|---|---|
| gdp | number | |
| sex_ratio | number | |
| surface_area | number | |
| life_expectancy_male | number | |
| unemployment | number | |
| imports | number | |
| homicide_rate | number | |
| currency | object | |
| iso2 | string | |
| gdp_growth | number | |
| employment_services | number | |
| urban_population_growth | number | |
| secondary_school_enrollment_female | number | |
| employment_agriculture | number | |
| capital | string | |
| co2_emissions | number | |
| forested_area | number | |
| tourists | number | |
| exports | number | |
| life_expectancy_female | number | |
| post_secondary_enrollment_female | number | |
| post_secondary_enrollment_male | number | |
| primary_school_enrollment_female | number | |
| infant_mortality | number | |
| secondary_school_enrollment_male | number | |
| threatened_species | number | |
| population | number | |
| urban_population | number | |
| employment_industry | number | |
| name | string | |
| pop_growth | number | |
| region | string | |
| pop_density | number | |
| internet_users | number | |
| gdp_per_capita | number | |
| fertility | number | |
| refugees | number | |
| primary_school_enrollment_male | number | |
| telephone_country_codes | array | |
| flag_url | string | URL to the country's flag image (4:3 rectangle, SVG). |
| flag_square_url | string | URL to the country's flag image (1:1 square, SVG). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/api-ninjas-com/json-schema/api-ninjas-com-country-response-schema.json",
"title": "CountryResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/api-ninjas-com-country-api-openapi.yml#/components/schemas/CountryResponse",
"type": "object",
"properties": {
"gdp": {
"type": "number"
},
"sex_ratio": {
"type": "number"
},
"surface_area": {
"type": "number"
},
"life_expectancy_male": {
"type": "number"
},
"unemployment": {
"type": "number"
},
"imports": {
"type": "number"
},
"homicide_rate": {
"type": "number"
},
"currency": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"iso2": {
"type": "string"
},
"gdp_growth": {
"type": "number"
},
"employment_services": {
"type": "number"
},
"urban_population_growth": {
"type": "number"
},
"secondary_school_enrollment_female": {
"type": "number"
},
"employment_agriculture": {
"type": "number"
},
"capital": {
"type": "string"
},
"co2_emissions": {
"type": "number"
},
"forested_area": {
"type": "number"
},
"tourists": {
"type": "number"
},
"exports": {
"type": "number"
},
"life_expectancy_female": {
"type": "number"
},
"post_secondary_enrollment_female": {
"type": "number"
},
"post_secondary_enrollment_male": {
"type": "number"
},
"primary_school_enrollment_female": {
"type": "number"
},
"infant_mortality": {
"type": "number"
},
"secondary_school_enrollment_male": {
"type": "number"
},
"threatened_species": {
"type": "number"
},
"population": {
"type": "number"
},
"urban_population": {
"type": "number"
},
"employment_industry": {
"type": "number"
},
"name": {
"type": "string"
},
"pop_growth": {
"type": "number"
},
"region": {
"type": "string"
},
"pop_density": {
"type": "number"
},
"internet_users": {
"type": "number"
},
"gdp_per_capita": {
"type": "number"
},
"fertility": {
"type": "number"
},
"refugees": {
"type": "number"
},
"primary_school_enrollment_male": {
"type": "number"
},
"telephone_country_codes": {
"type": "array",
"items": {
"type": "string"
}
},
"flag_url": {
"type": "string",
"format": "uri",
"description": "URL to the country's flag image (4:3 rectangle, SVG)."
},
"flag_square_url": {
"type": "string",
"format": "uri",
"description": "URL to the country's flag image (1:1 square, SVG)."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/api-ninjas-com-country-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.