Ace Hardware product

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

One Ace Hardware product by item number or link: name, link, brand, price and sale price, images, online stock, fulfillment options, UPC, manufacturer part number, description, feature bullets, specifications, measurements, variations and categories, plus raw.

Every response includes credits_used: the credits this call cost.

Part of the Ace Hardware API: 3 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
coderequired string Item number (e.g. 2493427) or an acehardware.com product link (as code or url). Example: 2493427

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

Example

curl "https://api.api.sh/acehardware/v1/product?code=2493427" \
  -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)

{"code": "2493427","name": "DeWalt 20V MAX ATOMIC 1/2 in. Brushless Cordless Drill/Driver Kit (Battery & Charger)","url": "https://www.acehardware.com/departments/tools/power-tools/cordless-drills/2493427","brand": "DeWalt","price": 169,"regular_price": null,"max_price": null,"on_sale": false,"price_type": "List","image": "https://cdn-tp6.mozu.com/24645-37138/cms/37138/files/37e4a7ba-174f-41a0-b633-8f19e5c1a6f9","in_stock_online": true,"online_stock": 1,"manage_stock": true,"fulfillment": ["DirectShip","InStorePickup","… 1 more"],"store_pickup": true,"delivery": true,"purchasable": true,"upc": "885911593168","manufacturer_part_number": "DCD708C2","added": "2018-04-07T17:47:37.331Z","summary": "20V MX ATMC DRL 1/2 2BAT","categories": [{"id": 3002,"name": "Cordless Drills"},{"id": 3143,"name": "Exclusions-Global Categories"},"… 28 more"],"description": "This Brushless Compact Drill/Driver Kit is only 6.3 in. front to back and its high-performance brushless motor delivers 340 unit watts outs …","images": ["https://cdn-tp6.mozu.com/24645-37138/cms/37138/files/37e4a7ba-174f-41a0-b633-8f19e5c1a6f9","https://cdn-tp6.mozu.com/24645-37138/cms/37138/files/21a04ca2-b265-43a6-a343-9608fe21f1a7","… 7 more"],"features": ["1/2 in. ratcheting chuck provides superior bit gripping strength","LED foot light for superior visibility","… 2 more"],"specifications": [{"name": "What's Included","value": "(2) 20V MAX Lithium Ion Batteries, (1) DCB107 Charger, (1) Carrying Bag and (1) Belt Clip"},{"name": "Accessory SKUs","value": "2014087;2137305;2304723;2400869;2466795;2895555"},"… 52 more"],"measurements": {"packageHeight": {"unit": "in","value": 12},"packageWidth": {"unit": "in","value": 9.6},"packageLength": {"unit": "in","value": 3.8},"packageWeight": {"unit": "lbs","value": 5.6}},"variations": [],"options": [],"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.