TriathlonLive API

getCountry Listings

Definition

Parameters

Query Params

region_id:

string

Pipe delimited list of region_ids to filter the results

country_id:

string

Pipe delimited list of country_ids to filter the results

Result Format

Documentation

The **Country Listings** method lists all country data for use with other API endpoints. Standard [ISO Alpha 2 codes](http://www.nationsonline.org/oneworld/country_code_list.htm) as well as [IOC country codes](https://en.wikipedia.org/wiki/List_of_IOC_country_codes) are returned.
Results may be restricted by a pipe delimited list of country_ids or region_ids. A `federation_id` is returned for all countries with an affiliated Federation.
[block:code]
{
"codes": [
{
"code": "curl --header \"apikey: [[app:key]]\" https://api.triathlon.org/v1/federations/countries",
"language": "curl"
}
]
}
[/block]