Piloterr

Grainger Product

Get a Grainger US or Canada product page: SKU, brand, price, images, description and specs via browser rendering.

Credit cost: 2 credits per call

GET
/v2/grainger/product

Authorization

ApiKeyAuth
x-api-key<token>

Your API key. Include it in the x-api-key header for every request.

In: header

Query Parameters

query*string

SKU, full Grainger product URL, or relative /product/... path.

Examples:

3FRU1
https://www.grainger.com/product/PENTAIR-PENTEK-Water-Filter-Cartridge-5-micron-3FRU1
/product/ROCKPORT-WORKS-6-Inch-Work-Boot-Men-s-16V679
region?string

Grainger country when query is not a full URL (default: com).

Supported: com (USD), ca (CAD).

return_page_source?boolean

When true, return rendered HTML as {"result": "..."} instead of JSON. Defaults to false.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.piloterr.com/v2/grainger/product?query=string"
{
  "sku": "3FRU1",
  "url": "https://www.grainger.com/product/PENTAIR-PENTEK-Water-Filter-Cartridge-5-micron-3FRU1",
  "brand": "PENTAIR/PENTEK",
  "model": "155030-43",
  "price": 6.67,
  "title": "PENTAIR/PENTEK Water Filter Cartridge: 5 micron, Melt Blown, 2 gpm, Polypropylene",
  "images": [
    "https://static.grainger.com/rp/s/is/image/Grainger/3FRU1_AS01"
  ],
  "region": "com",
  "currency": "USD",
  "product_id": "40161516",
  "description": "Product Description Melt blown filters use porous outer layers...",
  "specifications": {
    "Brand": "PENTAIR/PENTEK",
    "Series": "Pentek P",
    "Micron Rating": "5 micron",
    "Filter Media Material": "Polypropylene"
  }
}
{
  "error": "Bad Request"
}
{
  "error": "Invalid API Key"
}
{
  "error": "Payment required"
}
{
  "error": "Rate limit exceeded for the API key: quota monthly"
}
{
  "error": "Internal Error"
}