GOAT API endpoint
Returns the search terms GOAT is currently surfacing as popular, in GOAT's own ranking order -- the same list its own search box shows. Each term is free text ready to pass to GET /goat/search's query parameter.
/goat/searches/trendingNo parameters.
Response fields:
searches — trending search terms, most prominent firsttotal — number of terms returnedNotable response behavior:
GET /goat/search's query parameter.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/goat/searches/trending" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"searches": [
"Jordan 4",
"Jordan 1",
"Kobe 6",
"Jordan 8",
"Essentials",
"Travis Scott",
"Yeezy",
"New Balance"
],
"total": 25
}
}Request schema
No body schema
Response schema
#/definitions/goat.trendingSearchesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | goat.TrendingSearchesResponse | No | ||||
| data.searches | array | No | Jordan 4,Jordan 1,Kobe 6 | |||
| data.total | integer | No | 25 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/goat/searches/trending" \
-H "x-api-key: $CRAWLORA_API_KEY"