Countries GraphQL API GraphQL API
A free, public GraphQL API exposing queryable data about countries, continents, and languages worldwide. No authentication is required. The schema centers on three core object types — Country, Continent, and Language — each queryable individually by code or as filtered lists. Country records include capital city, currency, emoji flag, AWS region mapping, phone codes, spoken languages, administrative states, and subdivisions.
Overview
Countries GraphQL API GraphQL API is a GraphQL API specification published by Countries GraphQL API on the APIs.io network.
A free, public GraphQL API exposing queryable data about countries, continents, and languages worldwide. No authentication is required. The schema centers on three core object types — Country, Continent, and Language — each queryable individually by code or as filtered lists. Country records include capital city, currency, emoji flag, AWS region mapping, phone codes, spoken languages, administrative states, and subdivisions.
The GraphQL endpoint is available at https://countries.trevorblades.com/graphql. documentation is published at https://github.com/trevorblades/countries.
The specification includes 3 reference links.
Tagged areas include Countries, Geography, Open Data, Free, and Language.
Endpoint
References
- Documentation https://github.com/trevorblades/countries
- GettingStarted https://github.com/trevorblades/countries#readme
- GitHub https://github.com/trevorblades/countries
Work with this as data
Every GraphQL 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 graphql
4 MCP tools reach this
find_graphqlBrowse and filter every GraphQL 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
curl "https://apis.io/api/v1/graphql/countries-graphql-graphql"
curl "https://apis.io/api/v1/graphql?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.