Ashley Furniture
Ashley Furniture Search API
Search Ashley Furniture by keyword on ashleyfurniture.com (us) or on Ashley's licensed storefronts in Canada, Mexico, the Philippines, Saudi Arabia and Turkey. On us: 48 results per page with the exact total, sorted by best sellers, price, newest, customer rating or name; each item has its item number (sku), brand, price, Ashley's Regular Price, percent off, sale, clearance and other badges, rating, review count and every color or size variant with its own price; facets are returned for reference. Every us answer reports the ZIP and price zone it was priced for (priced_for). On the licensed storefronts: up to 10 best matches (tr: its first results page, 36) with the handle the product endpoint takes. Costs 2 credits on us and mx, 1 on ca, ph, sa and tr.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonquerystringrequiredSearch keywords, 1-200 characters.
Example: sofa
countrystringdefault:usThe Ashley market: us (ashleyfurniture.com), or one of Ashley's licensed storefronts ca (ashleyhomestore.ca), mx (store.ashleyfurniture.com.mx), ph (store.ashleyfurniture.ph), sa (store.ashley.sa) or tr (ashleyturkiye.com). Prices come back in the market's currency, never converted; the answer echoes country, language, currency and source_domain. An unknown market answers 400 before anything is charged.
Example: us
us— ashleyfurniture.com, USD, English. The default. 2 credits.ca— ashleyhomestore.ca, CAD, English. Licensed storefront. 1 credit.mx— store.ashleyfurniture.com.mx, MXN, Spanish. Licensed storefront. 2 credits.ph— store.ashleyfurniture.ph, PHP, English. Licensed storefront. 1 credit.sa— store.ashley.sa, SAR, English. Licensed storefront. 1 credit.tr— ashleyturkiye.com, TRY, Turkish. Licensed storefront. 1 credit.
pageintegerdefault:1us only: results page, 1-based, 48 per page, up to 100. The licensed storefronts return their best matches in one page; page above 1 there answers 400.
Example: 2
sortenum<string>default:best_sellersus only. On the licensed storefronts sort answers 400.
Example: price_asc
best_sellers— Ashley's best sellers. The default.price_asc— Price, low to high.price_desc— Price, high to low.newest— Newest first.rating— Customer rating, best first.name— Name, A to Z.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
# Sofas on ashleyfurniture.com, cheapest first.
r = client.ashley.search(query="sofa", sort="price_asc")["data"]
print(r["total"], "results, priced for", r["priced_for"])
for i in r["items"]:
print(i["sku"], i["name"], i["price"], "regular", i["regular_price"], i["badges"]["sale"])Response