Key Features#
Free and public: No API key or authentication required.
GraphQL Schema: Explore relationships between countries, continents, and languages easily.
Use cases: Testing GraphQL clients, learning schema navigation, building demos, etc.
Usage Instructions#
In the "success" debug base under this endpoint, you can directly make requests to the GraphQL API.The query field has already been filled out.
Click the refresh button next to "Schema fetched" to fetch the schema.
Click send to directly send the request and receive a response.
Endpoint#
https://countries.trevorblades.com/
Main Schema Objects#
Fields: code, name, native (native name), phone (country calling code), continent, capital, currency, languages, emoji, etc.
Fields: code, name, countries (list of countries in the continent)
Fields: code, name, native (native name)
Example Queries#
Get all countries with their code and name:Get details of a single country:List all continents and the countries in each:
How to Use#
Supports introspection, so you can see the full schema and documentation directly in the GraphQL Playground.
Common Use-Cases#
Frontend prototyping: For dropdowns (countries, continents, etc.)
Demo apps: Populate select inputs without backend work.
GraphQL learning: Practice writing queries and navigating relationships with real data.
Request
Body Params application/json
{
"query": "string",
"variables": {
"property1": "string",
"property2": "string"
}
}
Request Code Samples
curl --location --globoff '/?q_on_gp=q_on_gp_value&query_same_1=query_same_1_gp&q_on_gp_request_off=q_on_gp_request_off_value&glo_qparam_use_glo={{id_glo}}&glo_qparam_use_env={{id_env}}&glo_qparam_use_prior={{priority_env}}' \
--header 'h_on_gp: h_on_gp_value' \
--header 'header_same_1: header_same_1_gp' \
--header 'plat-form: {{header}}' \
--header 'h_on_gp_request_off: h_on_gp_case_off_value' \
--header 'glo_hparam_use_glo: {{id_glo}}' \
--header 'glo_hparam_use_env: {{id_env}}' \
--header 'glo_hparam_use_prior: {{priority_env}}' \
--header 'header_long: l=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmnl=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmn=end' \
--header 'Cookie: c_on_gp=c_on_gp_value;c_on_gp_request_off=c_on_gp_request_off_value;c_on_gp=c_on_gp_value;cookie_same_1=cookie_same_1_gp;cookie_long=l=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmn;c1=cookieInGlobalCookie;c_on_gp_request_off=c_on_gp_request_off_value;glo_cparam_use_glo={{id_glo}};glo_cparam_use_env={{id_env}};glo_cparam_use_prior={{priority_env}};c1=cookieInGlobalHeader' \
--header 'Content-Type: application/json' \
--data '{
"query": "string",
"variables": {
"property1": "string",
"property2": "string"
}
}'
Responses
successful GraphQL response
Modified at 2026-07-13 05:55:08