Skip to main content
GET
/
v1
/
countries
cURL
curl --request GET \
  --url https://api.example.com/v1/countries
{
  "success": true,
  "message": "Operation successful",
  "data": [
    {
      "id": 1,
      "code": "NGA",
      "name": "Nigeria",
      "currencyCode": "NGN",
      "dialCode": "234",
      "flag": "assets/flags/nga.png",
      "active": true,
      "createdAt": "2026-03-25T07:09:06Z",
      "updatedAt": "2026-03-25T07:09:06Z"
    }
  ],
  "meta": {
    "timestamp": "2023-11-07T05:31:56Z"
  }
}

Response

Successful response with list of countries

success
boolean
Example:

true

message
string
Example:

"Operation successful"

data
object[]
meta
object