LOOKFANTASTIC Autocomplete API returns instant search corrections, suggested queries and product hits with sku, title and full-size images. The skus pass unchanged into the product and reviews routes.
Cost: 1 credit per request. Failed requests are not billed.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
1 optional filter available.
string
Required
Search text, 2 to 100 characters.
coffee shops
integer
Optional
Maximum product hits, 1 to 20 (default 5).
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"query": "serum",
"products": [
{
"sku": "14300780",
"url": "https://www.lookfantastic.com/p/vitamin-c-serum/14300780/",
"title": "Vitamin C Serum",
"images": []
}
],
"corrections": [],
"suggested_queries": [
"vitamin c serum"
]
},
"meta": {
"credits": 1,
"billable": true,
"endpoint_family": "autocomplete"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
HTTP VALIDATION_ERROR
The query or limit is invalid. Not billed.
HTTP UPSTREAM_UNAVAILABLE
The public source could not be reached. Not billed.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.