The RealReal API endpoint
Returns The RealReal's own search-box typeahead suggestions for a partial query.
/therealreal/autocompleteQuery parameters:
term (required) — partial free-text query to get search-box
suggestions for.Notable response behavior:
term returns 400 before any upstream request is made.term with no suggestions returns 200 with "suggestions": [].| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| text | 20 | “gucci” and 19 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| term | string | Yes | Partial free-text query to get search-box suggestions for | gucci | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/therealreal/autocomplete?term=gucci" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"suggestions": [
{
"text": "gucci"
},
{
"text": "gucci handbags"
},
{
"text": "gucci shoes"
}
],
"source_url": "https://api.therealreal.com/graphql"
}
}Request schema
No body schema
Response schema
#/definitions/therealreal.autocompleteResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | therealreal.AutocompleteResponse | No | ||||
| data.source_url | string | No | ||||
| data.suggestions | array | No | ||||
| data.suggestions[].text | string | No | gucci handbags | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 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/therealreal/autocomplete?term=gucci" \
-H "x-api-key: $CRAWLORA_API_KEY"