To check a Costco item's warehouse price and stock in code, send its item number and the warehouse ids to Scavio's Costco API. POST /api/v1/costco/prices returns the costco.com price next to the shelf price at up to 10 warehouses. POST /api/v1/costco/availability returns each warehouse's stock status. Each costs 1 credit for most requests. Costco itself has no public API, and its app shows one warehouse at a time to a signed-in member.
This is the question that keeps coming up in r/CostcoPM: "Has anyone figured out a URL for checking prices / in stock at a warehouse? ... where you'd put in the SKU and warehouse number?" Here is the working version.
Step 1: find the warehouse ids
curl -s https://api.scavio.dev/api/v1/costco/warehouses \
-H "Authorization: Bearer $SCAVIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"zip": "60601", "limit": 10}'For downtown Chicago this returned 10 warehouses in 1.2 seconds, from Chicago South Loop (1107, 2.8 miles) to Orland Park (647, 23.2 miles).
Step 2: price the item at every warehouse in one call
import os, requests
r = requests.post(
"https://api.scavio.dev/api/v1/costco/prices",
headers={"Authorization": f"Bearer {os.environ['SCAVIO_API_KEY']}"},
json={"item_ids": ["692731"],
"warehouse_ids": ["1107", "380", "1153", "580", "1085", "383", "388", "348", "779"]},
timeout=90,
)
item = r.json()["data"]["items"][0]
print("online", item["online"]["price"])
for w in item["warehouses"]:
print(w["warehouse_id"], w["available"], w["final_price"])On October 10, 2026, Kirkland Signature Organic Extra Virgin Olive Oil (2 L, item 692731) was $20.99 on costco.com and $15.59 at all 8 warehouses that carry it. The ninth, a Business Center, returned no shelf price. That was one request, 1 credit, 4.9 seconds. Each warehouse row also carries the discount, promotion dates, per-member limits and the price code.
The gap is the norm, not an exception. Across 24 "olive oil" results priced at Costco's Manhattan warehouse, 18 were cheaper on the shelf, 3 were dearer and 3 matched, with a median gap of 15.7% below the website.
Step 3: check stock before anyone drives there
{"item_number": "692731", "warehouse_ids": ["1107", "380", "1153", "1085", "383"]}Sent to /api/v1/costco/availability, this returned in_stock at all five warehouses. The call cost 1 credit, because availability is billed at 1 credit per 5 warehouses. Costco reports a status (in_stock, low_stock, out_of_stock, not_available), never a unit count, so no API can tell you how many are on the pallet.
What you are signing up to maintain
A price tracker or stock alert for Costco needs every tracked item priced at every warehouse your users care about, every day, plus the ids, promotions and markdown codes kept straight. Scavio returns all of that in the same JSON shape for each call. A prices request covers up to 20 items at up to 9 warehouses for 1 credit. Tracking 1,000 items across 9 warehouses daily is therefore about 1,500 credits a month: $3 at the Growth-yearly rate of $2 per 1,000 credits, and inside the $30 Project plan.
Get 50 free credits, no card and run the same calls in the playground.
Reference: Costco API overview · prices · availability · warehouses · clearance
Frequently asked questions
Does Costco have a stock checker?
Not a public one. The Costco app shows warehouse stock one item at a time for a signed-in member, and Costco offers no API. Scavio's Costco availability endpoint returns the stock status of an item at up to 10 warehouses in one call.
Are Costco online prices higher than in the warehouse?
Usually. In our October 2026 test, 18 of the 24 results for an "olive oil" search were cheaper at a Manhattan warehouse than on costco.com, with a median gap of 15.7 percent. Three cost more in the warehouse and three matched, so check per item.
How do I look up an item at Costco?
Use the item number from the shelf tag or receipt. Costco's search accepts it, and Scavio's product, prices and availability endpoints take an item number, a product id or a costco.com product URL.
How can I see Costco clearance items at my warehouse?
Members read a shelf price ending in .97 as clearance and .00 or .88 as a manager markdown; Costco does not publish these codes. Scavio's clearance endpoint scans a search or category at one warehouse and returns the items whose shelf price carries those codes, for items Costco lists online.