Successful country lookups always return an array, even when a filter yields a single match.
Guides
Errors
JSON error envelope for 400 and 404.
Failed requests return JSON, not an empty array disguised as success.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
JSON error envelope for 400 and 404.
{
"message": "Country not found",
"status": 404
}
| Status | When |
|---|---|
| 400 | Invalid query (limit, offset, page, independent status, empty name). |
| 404 | Filter matched no countries, or a flag code has no asset. |