GOAT
Get GOAT countries
Returns every country GOAT recognizes -- the accepted values for GET /goat/product/{slug}'s country_code parameter -- with the currency and size unit (us, uk, eu) GOAT localizes to for each, plus whether GOAT ships and accepts returns there. Every country is listed, not only the shippable ones, because country_code localizes pricing and is accepted for all of them; filter on ships_to if you want only GOAT's shipping destinations.
get/goat/countries
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/goat/countries
- Auth: API key in header x-api-key
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"countries": [
{
"country_code": "US",
"currency": "USD",
"display_name": "United States",
"flag": "🇺🇸",
"local_name": "United States",
"name": "United States",
"phone_code": "1",
"returns_from": true,
"ships_to": true,
"size_unit": "us"
}
],
"ships_to_total": 170,
"total": 249
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.