Ashley search suggestions

GET https://api.api.sh/ashley/v1/autocomplete
1 credit / call e-commerce try it in the playground →

Suggestions for a partial query as the shop's search box shows them: search terms, categories and products (SKU, name, link, image, rating).

Every response includes credits_used: the credits this call cost.

Part of the Ashley API: 6 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
qrequired string Partial query. Example: recl
limit integer Results per page (default 8, max 20).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/ashley/v1/autocomplete?q=recl" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"query": "recl","suggestions": [{"text": "recliner","category": null,"category_id": null},{"text": "reclining sofa","category": null,"category_id": null},"… 6 more"],"categories": [],"products": [{"sku": "1030125","name": "McGann Manual Rocker Recliner","url": "https://www.ashleyfurniture.com/p/mcgann_recliner/1030125.html","image": "https://cdn.ashley.com/assets/10301-25-SW-P1-KO.jpg","rating": 4.7,"review_count": 186},{"sku": "3740625","name": "Frohn Manual Rocker Recliner","url": "https://www.ashleyfurniture.com/p/frohn_recliner/3740625.html","image": "https://cdn.ashley.com/assets/37406-25-ANGLE-CLSD-SW-P1-KO.jpg","rating": 4.8,"review_count": 35},"… 4 more"],"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.