Piloterr

GOAT Product

GET
/v2/goat/product

Read a GOAT product.

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

GOAT slug, or a goat.com product URL. The locale is the first path segment, for example /en-us/ or /fr-fr/.

return_page_source?boolean

Return the Next.js product JSON instead of the parsed product.

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
url?string
name?string
slug?string
brand?string
price?integer
category?string
currency?string
price_display?string
Example Request
curl -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"}