Discover/graybar.com API
live

graybar.com APIgraybar.com

Search Graybar's electrical product catalog by keyword, SKU, or manufacturer part number. Retrieve specs, brand, pricing, and availability for any Graybar SKU.

Endpoints
3
Updated
14d ago
Try it
Zero-based page number for pagination.
Search keyword or SKU to search for.
api.parse.bot/scraper/7bac221b-f933-4c61-a16c-d944abe43fb5/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/7bac221b-f933-4c61-a16c-d944abe43fb5/search_products?page=2&query=circuit+breaker' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for products by keyword or SKU on Graybar.com. Returns a paginated list of products with SKUs and names. Prices may be null for unauthenticated sessions.

Input
ParamTypeDescription
pageintegerZero-based page number for pagination.
queryrequiredstringSearch keyword or SKU to search for.
Response
{
  "type": "object",
  "fields": {
    "page": "the page number echoed back",
    "query": "the search query echoed back",
    "products": "array of product objects, each with sku (string), name (string), and price (number or null)",
    "manufacturers": "array of manufacturer name strings extracted from search facets"
  },
  "sample": {
    "data": {
      "page": 0,
      "query": "conduit",
      "products": [
        {
          "sku": "25186635",
          "name": "1/2 in. PVC Coated Aluminum Rigid Conduit",
          "price": null
        },
        {
          "sku": "88272874",
          "name": "Galvanized Rigid Steel Conduit 1/2 in.",
          "price": null
        }
      ],
      "manufacturers": []
    },
    "status": "success"
  }
}

About the graybar.com API

The Graybar API provides 3 endpoints to search and retrieve product data from Graybar.com, one of the largest electrical and industrial supply distributors in North America. search_products returns paginated results with SKUs, names, and prices for any keyword or SKU query. get_product_details exposes structured fields including brand, manufacturer part number, pack size, attributes, list price, unit price, and shipping/pickup availability for a given Graybar SKU.

Searching the Graybar Catalog

search_products accepts a required query string (keyword or Graybar SKU) and an optional zero-based page integer for pagination. Each response returns the echoed query and page, an array of products (each with sku, name, and price), and a manufacturers array pulled from search facets — useful for filtering or understanding which brands carry matching products. Prices may be null when no pricing is publicly visible for a given session.

Manufacturer Part Number Lookup

search_by_mpn targets searches by Manufacturer Part Number (MPN) rather than Graybar's own SKU or a text keyword. The response shape is identical to search_products (same products and manufacturers arrays), with page always returning 0. Results can include fuzzy matches, so cross-checking the returned sku values against get_product_details is advisable for strict MPN matching.

Full Product Details

get_product_details takes a Graybar sku (a numeric string such as '88225178') and returns the deepest level of product data available: name, brand, mfr_no (the manufacturer's own part number), pack_size, and an attributes object containing key-value pairs from the product specification sheet. Pricing is split into list_price and unit_price, both of which may be null for publicly unauthenticated lookups. The availability object exposes to_ship and for_pickup strings indicating stock status for each fulfillment channel. An alternate_products array lists related Graybar SKUs when alternatives are cataloged.

Common use cases
  • Cross-reference a vendor invoice's manufacturer part numbers against Graybar SKUs using search_by_mpn.
  • Build a procurement comparison tool that pulls list_price and unit_price for a list of Graybar SKUs.
  • Catalog electrical components by iterating search_products results and enriching with attributes from get_product_details.
  • Monitor availability fields (to_ship, for_pickup) to track in-stock status across Graybar's fulfillment channels.
  • Extract the manufacturers facet from search results to identify which brands Graybar carries for a product category.
  • Map internal part numbers to Graybar SKUs by querying search_by_mpn with each MPN in a bill of materials.
  • Identify substitute products using the alternate_products array returned by get_product_details.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Graybar have an official public developer API?+
Graybar does not offer a publicly documented developer API for catalog or product data. Access to structured product information is available through this Parse API.
Why are `price`, `list_price`, and `unit_price` sometimes null?+
Graybar requires an account login to display pricing for many products. When pricing is not publicly visible, search_products returns price: null and get_product_details returns list_price: null and unit_price: null. Product names, SKUs, brand, manufacturer part numbers, and specification attributes are still returned regardless of pricing visibility.
What does the `attributes` object in `get_product_details` contain?+
It contains key-value pairs drawn from the product's specification sheet on Graybar — fields like voltage rating, amperage, conduit type, or material depending on the product category. The exact keys vary per product and are not normalized to a fixed schema.
Does the API return product images or documents such as datasheets?+
Not currently. The API covers product names, specifications, pricing, availability, and alternate SKUs, but does not return image URLs or linked documents. You can fork this API on Parse and revise it to add an endpoint that retrieves product media.
How does pagination work in `search_products`?+
The page parameter is zero-based, so the first page is page=0. The response echoes the page number back. search_by_mpn always returns page 0 and does not currently support pagination. If a search returns a large number of matches, iterating page in search_products is the way to walk through results.
Page content last updated . Spec covers 3 endpoints from graybar.com.
Related APIs in EcommerceSee all →
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
jula.fi API
Search and browse products from Jula.fi to find hardware items with detailed information including prices (with and without VAT), stock availability, brand details, and product SKUs. Explore products by category or search for specific items to compare pricing and check real-time stock status.
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
industrynet.com API
Find industrial suppliers and browse product categories across a comprehensive marketplace directory. Connect directly with suppliers by viewing detailed listings and submitting contact inquiries programmatically.
carsforsale.com API
Search vehicle listings and browse detailed car inventory by make, model, and trim to find the perfect vehicle on CarsForSale.com. Access comprehensive listing details including pricing, specifications, and availability all in one place.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
x-kom.pl API
Access product data from x-kom.pl, a major Polish electronics retailer. Search products by keyword or category, retrieve detailed product pages, customer reviews, Q&A, promotions, flash deals, and physical store locations.