To get McMaster-Carr part prices programmatically, send the part number to Scavio's McMaster-Carr API. POST /api/v1/mcmaster/product returns the price as the page shows it, the order unit (Each or Pack of N), the pack price and the per-piece price, the delivery message, the discontinued flag, the specifications and the compliance fields. POST /api/v1/mcmaster/search returns up to 100 part-number rows of a keyword or category page, each with its price basis and spec columns. Every call costs 1 credit, about $0.001 on the Growth plan.
McMaster-Carr's own Product Information API is for approved customers, with a client certificate and per-part subscriptions, so it is the wrong tool for a quick price check or a spreadsheet you want working today. Every number below was captured on November 29, 2026. Set a client timeout of at least 180 seconds on product and 300 on search.
Step 1: Read one part
curl -s https://api.scavio.dev/api/v1/mcmaster/product \
-H "Authorization: Bearer $SCAVIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"part_number": "91251A540"}'Trimmed to the price fields:
{
"part_number": "91251A540",
"title": "Black-Oxide Alloy Steel Socket Head Screw, US Origin, 1/4\"-20 Thread Size, 3/4\" Long",
"product_family": "Socket Head Screws",
"catalog_page": 3544,
"unit_of_measure": "Pack of 50",
"package_quantity": 50,
"price": 12.42,
"price_text": "$12.42 per pack of 50",
"package_price": 12.42,
"unit_price": 0.25,
"per_piece_price_text": "$0.25 per piece",
"price_levels": [],
"delivery_message": "Delivers Thursday",
"discontinued": false,
"replacement_part_number": null
}price is always for one order unit, so read it with unit_of_measure. price_levels carries quantity breaks when the page lists them; this part had none. discontinued and replacement_part_number flag parts McMaster-Carr has retired and the part it names in their place.
Step 2: Read the specs and compliance fields
The same answer holds specifications, 30 rows on this screw, each with the heading it sits under:
[
{ "name": "Size", "value": "1/4\"-20", "group": "Thread" },
{ "name": "Spacing", "value": "Coarse", "group": "Thread" },
{ "name": "Type", "value": "UNRC", "group": "Thread" }
]and a compliance object for purchasing and export paperwork:
{
"country_of_origin": "United States",
"dfars": "Specialty Metals Compliant (252.225-7009)",
"eccn": "EAR99",
"schedule_b": "731815.9000",
"rohs": "RoHS 3 (2015/863/EU) Compliant",
"reach": "REACH (EC 1907/2006) (02/04/2026, 253 SVHC) Compliant",
"usmca_qualifying": "Yes"
}Step 3: Search a listing for part numbers
When you have a description rather than a part number, search:
curl -s https://api.scavio.dev/api/v1/mcmaster/search \
-H "Authorization: Bearer $SCAVIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "1/4\"-20 socket head screw", "per_page": 100}'This opened the Socket Head Screws page with 154 part-number rows (the site counted 169 products) and returned the first 100 in 5.3 seconds, with has_more true, presentations such as Steel Socket Head Screws (108 rows) and Low-Profile Steel Socket Head Screws (20), and facets such as Thread Size and Length. One row:
{
"position": 1,
"part_number": "91864A720",
"presentation": "Steel Socket Head Screws",
"groups": ["Black-Oxide Alloy Steel", "1/4\"-20"],
"price": 6.45,
"price_basis": "Pkg.",
"package_quantity": 25,
"package_price": 6.45,
"unit_price": 0.258,
"specs": [
{ "name": "Lg.", "value": "5/16\"" },
{ "name": "Threading", "value": "Fully Threaded" },
{ "name": "GH - Default", "value": "Small Pack—Imported" }
],
"currency": "USD"
}price_basis says whether the price cell is per package (Pkg.) or per piece (Each); Scavio computes unit_price for package rows. Send offset: 100 for the rest: the second call returned the last 54 rows. Read side by side, the rows show the same screw sold in two pack sizes: 91864A246 is this 5/16" screw at $90.30 for 500, $0.181 each, against $0.258 in the pack of 25. Across the 35 screws on the page sold both ways, the large pack was 30% to 33% cheaper per piece, charted in the best McMaster-Carr part price APIs.
Step 4: Browse by category instead
curl -s https://api.scavio.dev/api/v1/mcmaster/categories \
-H "Authorization: Bearer $SCAVIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'This returned McMaster-Carr's 27 top-level categories, such as {"name": "Fastening & Joining", "slug": "fastening-joining"}. Send a slug to search as category instead of query, or use a slug from a result's product families, facets or breadcrumbs. {"category": "hose-clamps/worm-drive-clamps~~"} opened Worm-Drive Clamps with 327 rows; its first row, 5413K49, was $21.61 per Pkg. of 10, a unit_price of 2.161. Each facet value carries its own slug, such as a clamp ID range, to narrow the next call.
Step 5: Price a list of part numbers
For a bill of materials, loop over your part numbers and keep the order unit next to the price:
import csv, requests
API_KEY = "sk_live_your_key" # load from your secret store in real code
parts = ["9657K296", "91251A540", "5413K49"]
with open("bom_prices.csv", "w", newline="") as f:
w = csv.writer(f)
w.writerow(["part_number", "unit_of_measure", "package_quantity", "package_price", "unit_price", "delivery"])
for pn in parts:
r = requests.post("https://api.scavio.dev/api/v1/mcmaster/product",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"part_number": pn}, timeout=180)
d = r.json()["data"]
w.writerow([pn, d["unit_of_measure"], d["package_quantity"], d["package_price"],
d["unit_price"], d["delivery_message"]])On November 29 that wrote 9657K296 as a pack of 12 at $7.46 ($0.62 each), 91251A540 as a pack of 50 at $12.42 ($0.25 each) and 5413K49 as a pack of 10 at $21.61 ($2.16 each). Store each run with its date: there is no price history, so your own series is the history.
All three endpoints
| Endpoint | What it returns | Credits |
|---|---|---|
/api/v1/mcmaster/product | One part: price, order unit, pack and per-piece price, quantity breaks, delivery message, discontinued flag, specs, compliance | 1 |
/api/v1/mcmaster/search | Up to 100 part-number rows of a keyword or category page, with price basis, spec columns, families and facets | 1 |
/api/v1/mcmaster/categories | The top-level categories with the slug search takes | 1 |
United States only, prices in USD as shown to a visitor who is not signed in. McMaster-Carr shows no manufacturer part numbers, UPCs or stock counts, and CAD and PDF files are not returned. An unknown part number usually ends in an unbilled 502 after about 2 minutes. For the other options, see the best McMaster-Carr part price APIs, and for the spreadsheet question in full, pulling pack quantity and cost per pack into a BOM.
Getting started
- Sign up at dashboard.scavio.dev/sign-up: 50 free credits, no card required.
- Copy your API key from the dashboard.
- Send a POST to
/api/v1/mcmaster/productwith a part number.
Try the McMaster-Carr API free in the playground first, or call it from Claude and other agents through the MCP server.
Reference: McMaster-Carr API overview · product · search · categories
Frequently asked questions
How do I look up a McMaster-Carr part number with an API?
Send it to Scavio's /api/v1/mcmaster/product as part_number. The answer carries the title, product family, catalog page, the price as shown, the order unit, the per-piece price, the delivery message, the discontinued flag, the specifications and the compliance fields. Part 91251A540 returned $12.42 per pack of 50, $0.25 per piece, on November 29, 2026.
What does price_basis mean on McMaster-Carr search rows?
It says what a row's price cell is for, as the product table labels it: Pkg. for one package of package_quantity pieces, or Each for one piece. For Pkg. rows Scavio computes unit_price as package_price divided by package_quantity, so rows with different pack sizes can be compared per piece.
Can I get McMaster-Carr country of origin and ECCN through an API?
Yes. Scavio's product endpoint returns a compliance object with country_of_origin, dfars, eccn, schedule_b, rohs, reach and usmca_qualifying as separate fields. Part 91251A540 read United States, EAR99 and Schedule B 731815.9000.
Does the McMaster-Carr API return stock?
McMaster-Carr publishes no stock counts. Scavio returns the delivery message the page shows, such as "In stock" or "Delivers Friday", in delivery_message and stock_message. There are no stores and no store stock.
How much does McMaster-Carr data cost with Scavio?
Every McMaster-Carr call costs 1 credit, $1.00 per 1,000 calls on the Growth plan, whether it reads one part or a 100-row listing. New accounts get 50 free credits once, with no card. A failed upstream call is not charged; a not-found is.