GOAT

Autocomplete a GOAT search

Returns GOAT's own search-box autocomplete for a partial query: matching curated collections and matching products. The collections carry the slug values accepted by GET /goat/collection and by GET /goat/search's collection_slug parameter, making this the way to discover collection slugs.

get/goat/suggest

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/goat/suggest
  • Auth: API key in header x-api-key

Query parameters

querystring required

Partial search text to autocomplete

limitinteger

Maximum curated collections to return. Defaults to 8, maximum 20. Does not affect the product count, which upstream fixes at 25

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "collections": [
      {
        "id": "2fbf8b62-8899-4323-89ab-efdbc672d9d0",
        "slug": "michael-jordan",
        "title": "Michael Jordan",
        "type": "StaticCollection"
      }
    ],
    "products": [
      {
        "category": "shoes",
        "id": "1403298",
        "slug": "air-jordan-5-og-metallic-2025-hf3975-001",
        "source_url": "https://www.goat.com/sneakers/air-jordan-5-og-metallic-2025-hf3975-001",
        "title": "Air Jordan 5 Retro OG 'Black Metallic Reimagined'"
      }
    ],
    "query": "jord"
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.