Macy's API endpoint
Returns Macy's own search-box suggestions (typeahead) for a partial query: a flat list of suggested search phrases, no product data. A partial query with no real matches returns a normal, empty result rather than an error.
/macys/suggestquery is required, 1 to 200 characters.
Notable response behavior:
suggestions is a single flat list (up to 10 entries).count: 0, empty suggestions) rather than an error.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| query | string | Yes | Partial search query | dress | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/macys/suggest?query=dress" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "dress",
"count": 10,
"suggestions": [
"dresses",
"womens summer dresses",
"wedding guest dresses",
"women petite dresses",
"women formal dresses",
"donna karan dresses",
"women cocktail dresses",
"womens plus size dresses",
"calvin klein dresses",
"adrianna papell dresses"
],
"source_url": "https://www.macys.com/suggester?...",
"fetched_at": "2026-08-12T10:00:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/macys.suggestResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | macys.SuggestResponse | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.query | string | No | ||||
| data.source_url | string | No | ||||
| data.suggestions | array | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/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/macys/suggest?query=dress" \
-H "x-api-key: $CRAWLORA_API_KEY"