GET
/
api
/
v2
/
finder
/
google-countries
Google Countries
curl --request GET \
  --url https://piloterr.com/api/v2/finder/google-countries \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>"
}'
[
    {
        "country_code": "fr",
        "country_name": "France"
    },
    {
        "country_code": "gf",
        "country_name": "French Guiana"
    },
    {
        "country_code": "pf",
        "country_name": "French Polynesia"
    },
    {
        "country_code": "tf",
        "country_name": "French Southern Territories"
    }
]
Countries API allows you to search Piloterr supported countries. It should return an array of countries ordered by reach. Countries that reach the most people will be first. This API is free to use.

Search Query

query
string
required
This parameter filters countries based on a search string. The search is non-case-sensitive and returns all countries whose names contain the specified string.Example: Searching for “FR” will return “France”, etc.

Response

country_code
string
Country code
country_name
string
Country name
[
    {
        "country_code": "fr",
        "country_name": "France"
    },
    {
        "country_code": "gf",
        "country_name": "French Guiana"
    },
    {
        "country_code": "pf",
        "country_name": "French Polynesia"
    },
    {
        "country_code": "tf",
        "country_name": "French Southern Territories"
    }
]