Piloterr

GOAT Prices

GET
/v2/goat/prices

Read GOAT size prices for US, France, or the UK.

Credit cost: 1 credit per call

Authentification

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Paramètres de requête

query*string

Numeric GOAT product id, a slug, or a goat.com product URL.

country?string

US, FR, or GB. GOAT still returns USD; the amount changes with the country.

Default"US"
return_page_source?boolean

Return the buy-bar JSON instead of the parsed sizes.

Defaultfalse
fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Corps de la réponse

Successful response

application/json
  1. response
id?string
country?string
currency?string
variants?array<>
Example Request
curl -X GET 'https://api.piloterr.com/v2/goat/prices?query=string'
Example Response
{  "id": "1403298",  "country": "US",  "currency": "USD",  "variants": [    {      "size": "10",      "price": 524,      "currency": "USD",      "stock_status": "in_stock",      "price_display": "$524.00",      "shoe_condition": "new_no_defects"    }  ]}