Piloterr

Grainger Product

GET
/v2/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

Authorization

ApiKeyAuth
headerx-api-key<token>

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

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

Successful response

application/json
  1. response
sku?string
url?string
brand?string
model?string
price?number
title?string
images?array<string>
region?string
currency?string
product_id?string
description?string
specifications?
Example Request
curl -X GET 'https://api.piloterr.com/v2/grainger/product?query=string'
Example Response
{  "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"  }}