Tractor Supply store locator
Tractor Supply stores near a ZIP code, nearest first: store number, name, address, phone, coordinates, distance in miles, time zone, opening hours by day, today's hours, services (propane refill, trailer rental, pet wash, vet clinic, same-day delivery, ...) and pickup flags. Filter by one service.
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 |
|---|---|---|
ziprequired | string | 5-digit ZIP code. Example: 37027 |
service | string | Only stores offering this service, e.g. PROPANE TANK REFILL (values in services). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/tractorsupply/v1/stores?zip=37027" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/tractorsupply/v1/stores",
params={"zip": "37027"},
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/stores");
url.searchParams.set("zip", "37027");
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)
{"zip": "37027","count": 10,"stores": [{"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": [{"day": "Sunday","hours": "09:00 AM-07:00 PM"},{"day": "Monday","hours": "08:00 AM-09:00 PM"},"… 5 more"],"today": "Open at 8:00 am","services": ["TRAILER RENTAL","PROPANE TANK REFILL","… 6 more"],"pickup": true,"aisle_info": true},{"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": [{"day": "Sunday","hours": "09:00 AM-07:00 PM"},{"day": "Monday","hours": "08:00 AM-09:00 PM"},"… 5 more"],"today": "Open at 8:00 am","services": ["TRAILER RENTAL","PROPANE TANK EXCHANGE","… 4 more"],"pickup": true,"aisle_info": false},"… 8 more"],"cached": false,"credits_used": 1}