> ## Documentation Index
> Fetch the complete documentation index at: https://hsping.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Country List

The Country List endpoint lets you retrieve the full list of countries supported by HS Ping.

This is perfect for real-time lookups, interactive search features, or when you are classifying based on a single detailed query.

## HTTP Request

```text theme={null}
GET https://api.hsping.com/api/v1/countrylist
```

## Example Response

```json theme={null}
{
    "total_countries": 35,
    "alphabetical": [
        {
            "code": "AR",
            "name": "Argentina",
            "region": "South America"
        },
        {
            "code": "AU",
            "name": "Australia",
            "region": "Oceania"
        },
        {
            "code": "AT",
            "name": "Austria",
            "region": "Europe"
        },
        {...},
        {...},
        {...},
        {...}
    ],
    "by_region": {
        "North America": [
            {
                "code": "CA",
                "name": "Canada"
            },
            {
                "code": "US",
                "name": "United States"
            }
        ],
        "Europe": [...],
        "Asia": [...],
        "Oceania": [...]
    }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.