GOAT Product
GET
Read a GOAT product.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringGOAT slug, or a goat.com product URL. The locale is the first path segment, for example /en-us/ or /fr-fr/.
return_page_source?booleanReturn the Next.js product JSON instead of the parsed product.
Default
falsefields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
Default
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
Default
falseSuccessful response
application/json- response
id?stringurl?stringname?stringslug?stringbrand?stringprice?integercategory?stringcurrency?stringprice_display?stringcurl -X GET 'https://api.piloterr.com/v2/goat/product?query=string'Example Response
{ "id": "1403298", "url": "https://www.goat.com/en-us/sneakers/air-jordan-1", "name": "Air Jordan 1 Retro High OG", "slug": "air-jordan-1", "brand": "Air Jordan", "price": 524, "category": "sneakers", "currency": "USD", "price_display": "$524.00"}