Tractor Supply store stock

GET https://api.api.sh/tractorsupply/v1/stock
1 credit / call e-commerce try it in the playground →

Stock of a Tractor Supply product at the stores near a ZIP code: per store and variant the stock status, quantity available for store pickup, incoming quantity, quantity available to ship and for same-day delivery, with the store's details.

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

nametypedescription
partrequired string Item number. Example: 238255499
ziprequired string 5-digit ZIP code. Example: 37027
limit integer Stores to check, 1-10 (default 5). Example: 5

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/tractorsupply/v1/stock?part=238255499&zip=37027" \
  -H "x-api-key: $APISH_KEY"

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","availability": "ONLINE_ONLY","skus": [{"part_number": "2382554","name": "Grandpa's Feeders 20 lb. The Original and Genuine Automatic Chicken Feeder, Standard"}],"zip": "37027","count": 5,"stores": [{"store": {"store_number": "2314","name": "GRASSLAND (FRANKLIN) TN","address": "2176 Hillsboro RD STE 122","city": "Franklin","state": "TN","zip": "37069","phone": "+1 555 010 0000","latitude": 35.99565,"longitude": -86.88578,"distance_miles": 5.8,"time_zone": "CST","zone": "53","hours": [{"…": "2 fields"},{"…": "2 fields"},"… 5 more"],"today": "Open at 8:00 am","services": ["TRAILER RENTAL","PROPANE TANK REFILL","… 6 more"],"pickup": true,"aisle_info": true},"items": [{"sku": "2382554","status": "OK","in_store_quantity": 0,"in_store_incoming": 0,"ship_quantity": 1055,"same_day_delivery_quantity": null}]},{"store": {"store_number": "263","name": "FRANKLIN TN","address": "1101 Hillview LN","city": "Franklin","state": "TN","zip": "37064","phone": "+1 555 010 0000","latitude": 35.89097,"longitude": -86.87777,"distance_miles": 9.6,"time_zone": "CST","zone": "53","hours": [{"…": "2 fields"},{"…": "2 fields"},"… 5 more"],"today": "Open at 8:00 am","services": ["TRAILER RENTAL","PROPANE TANK EXCHANGE","… 4 more"],"pickup": true,"aisle_info": false},"items": [{"sku": "2382554","status": "OK","in_store_quantity": 0,"in_store_incoming": 0,"ship_quantity": 1055,"same_day_delivery_quantity": null}]},"… 3 more"],"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.