Tractor Supply product
One Tractor Supply product by item number: name, link, brand, the price at a store (nearest zip, else a default store) with list price, savings, map and pickup prices, rating, review count, availability, buyable, pickup and truck-delivery flags, state restrictions, description, image, category, specifications and variants with their options, plus raw.
Every response includes credits_used: the credits this call cost.
Part of the Tractor Supply API: 6 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
partrequired | string | Item number (the part number shown on the product page). Example: 238255499 |
zip | string | ZIP code for the nearest store's price. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/tractorsupply/v1/product?part=238255499" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/tractorsupply/v1/product",
params={"part": "238255499"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/tractorsupply/v1/product");
url.searchParams.set("part", "238255499");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"part_number": "238255499","name": "Grandpa's Feeders 20 lb. The Original and Genuine Automatic Chicken Feeder, Standard","url": "https://www.tractorsupply.com/tsc/product/grandpas-feeders-the-original-and-genuine-automatic-chicken-feeder-standard-20lb","brand": "Grandpa's Feeders","price": 189.99,"max_price": null,"list_price": null,"savings": null,"savings_percent": null,"see_price_in_cart": false,"map_price": null,"pickup_price": null,"store_number": "2314","price_store": {"store_number": "2314","name": null},"rating": 4.2453,"review_count": 53,"availability": "ONLINE_ONLY","buyable": true,"pickup_eligible": false,"truck_delivery": false,"case_pack": false,"state_restrictions": false,"ribbon": null,"description": "Grandpas Feeders is the original automatic chicken feeder invented and developed by us over 30 years ago. The product stands out from other …","image": "https://media.tractorsupply.com/is/image/TractorSupplyCompany/2382554?$456$","category_id": "1001435","specifications": [{"name": "Brand","value": "Grandpa's Feeders"},{"name": "Primary Material","value": "Galvanized Steel"},"… 11 more"],"variants": [{"part_number": "2382554","name": "Grandpa's Feeders 20 lb. The Original and Genuine Automatic Chicken Feeder, Standard","image": "https://media.tractorsupply.com/is/image/TractorSupplyCompany/2382554?$456$","buyable": true,"options": []}],"cached": false,"credits_used": 1}