About this endpoint
What it does
Returns a list of countries available from the service, along with the total count and per-country beach counts.
Response
Returns a JSON object with a count integer field and a results array field. Each item in results is an object containing a country string and a beach_count integer.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| count | Integer | Yes | Total number of countries in the response. |
| results | Object Array | Yes | List of country records. Each item includes country and beach_count. |
| results[].country | String | Yes | Country name. |
| results[].beach_count | Integer | Yes | Number of beaches in this country. |