REST Countries Alpha API
Lookup countries by ISO 3166-1 alpha-2, alpha-3, numeric, or CIOC code.
REST Countries Alpha API is one of 11 APIs that REST Countries publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 2 JSON Schema definitions.
Tagged areas include Alpha. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a GitHub repository, a JSON-LD context, rate-limit docs, and 2 JSON Schemas.
This API exposes 2 operations across 2 paths, and defines 12 schemas. It is described by OpenAPI 3.1.0, at version 3.1.
Requests are made against a single base URL, https://restcountries.com/v3.1.
Metadata
The identity and technical contract details declared by the specification.
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.
Lookup countries by ISO 3166-1 alpha-2, alpha-3, numeric, or CIOC code.
Schemas 12
The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are Country (35 properties), Name (3 properties), Flags (3 properties), Car (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from REST Countries 10
Other APIs REST Countries publishes across the network.