Lab Supplies
McMaster-Carr logo

McMaster-Carr API

mcmaster.com

McMaster-Carr - fasteners, tools, motion components, hardware, and workplace materials.

Actions
4
Category
Lab Supplies
Login
Some actions
Output
JSON

Call the McMaster-Carr API

Submit a task, then poll the job until it settles. This example runs mcmaster_product_detail.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "mcmaster_product_detail",
    "params": {
      "part_number": "4649T33"
    }
  }'

4 actions on mcmaster.com

Read

  • Cart Contents

    mcmaster_view_cartreadlogin required2 credits / call

    Returns the current cart with line items, part numbers, quantities, prices, and subtotal.

  • Product Details

    mcmaster_product_detailread2 credits / call

    Returns full product details by part number including price, stock, specs, and variants.

    part_number
    string · required
  • Product Search

    mcmaster_search_productsread2 credits / call

    Returns catalog products matching a keyword with part number, name, price, and image.

    query
    string · required
    page_size
    integer
    start_index
    integer

Write

Write actions change state on mcmaster.com and run as the account you connect.

  • Add to Cart

    mcmaster_add_to_cartwritelogin required3 credits / call

    Adds a part to the cart and returns the updated cart, requires sign-in.

    part_number
    string · required
    quantity
    integer

McMaster-Carr API questions

Is there an API for McMaster-Carr?
McMaster-Carr does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for mcmaster.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape McMaster-Carr data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when mcmaster.com changes its markup, Anakin updates the action.
Do I need a McMaster-Carr account?
Some McMaster-Carr actions read data that is only visible when signed in, so those need a credential you connect once. Actions marked "read" without a login requirement run anonymously.
What does the McMaster-Carr API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Lab Supplies APIs

All Lab Supplies sites