Network API v3:

- GET Countries

⚠️ Experimental Version

This version of the API is currently in beta and may undergo changes. For production use, please consider using the current stable version (v2).

Returns a list of all available countries in the localtunity network. Although more are supported, the USA is currently our main launchpad.

Example

- Resource URL: https://api.takeoutnearby.com//v3/network/countries

curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer {access_token}" https://api.takeoutnearby.com/v3/network/countries

Headers

Content-Type: (string, required) Must be "application/json"
Authorization: (string, required) Bearer {access_token}

Parameters

search: (string, optional) The name or initials of the country to search for.

Response 200 Status Code

                    {"status": "success", "results": [{"id":"226","name":"United States","iso1_code":"US","iso3_code":"USA"}, {"...":"repeat for each country"}]}