GOAT Search
GET
Search GOAT products.
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*stringSearch text, for example jordan.
return_page_source?booleanReturn the suggestion JSON instead of the parsed cards.
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
results?array<>pagination?curl -X GET 'https://api.piloterr.com/v2/goat/search?query=string'Example Response
{ "results": [ { "id": "1403298", "url": "https://www.goat.com/en-us/sneakers/air-jordan-1", "name": "Air Jordan 1", "slug": "air-jordan-1", "image": "https://image.goat.com/air-jordan.png", "category": "shoes" } ], "pagination": { "next": null, "page": 1, "per_page": 8, "total_pages": 1, "total_results": 8 }}