Tractor Supply
Tractor Supply Categories API
Tractor Supply's (tractorsupply.com, the US rural lifestyle retailer) departments, or one department's or category's categories two levels deep: each with its tree id (the input of parent_id), name and url (the input of category). No store needed. Costs 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonparent_idstringA category tree id (categories[].tree_id, e.g. 1004851 Poultry): its categories, two levels. Without it: the departments.
Example: 1004851
countrystringdefault:usus (tractorsupply.com), the default and the only market: Tractor Supply's web store serves the United States. Any other value answers 400, not charged.
Example: us
us— United States, tractorsupply.com, English, USD. 1 credit. The default.
Notes
Store. Tractor Supply (tractorsupply.com, the US rural lifestyle retailer, 2,486 Tractor Supply stores in 49 states at September 26, 2026): country us, the default and the only market. Petsense by Tractor Supply runs on its own site and is not served. Field names are English; prices are USD numbers. Every answer echoes country and currency. This endpoint costs 1 credit. On 2026-11-24 the department list had 23 entries (Christmas, Pet, Lawn & Garden, Truck & Automotive, Sporting Goods, Horse, Clothing, Livestock, Poultry and more). parent_id 1004851 (Poultry) answered 10 categories and 50 nodes (Poultry Feed & Treats, Live Birds, Chicken Coops & Housing, Brooder Supplies ...); parent_id 400000 (Pet) answered 7. tree_id values are the tree's own and differ from the listing ids in breadcrumbs[].category_id: send a category's url to category.
| Endpoint | Credits |
|---|---|
search | 1 credit |
product | 1 credit (2 on the first call for a store whose details are not yet known) |
store-prices | 1 credit per 5 lookups: the item, each store's price and, the first time a store is asked, its details (3 stores 2, 25 stores not yet looked up 11) |
store-stock | 1 credit, for up to 25 stores or the stores nearest a ZIP |
fulfillment | 1 credit |
stores | 1 credit |
store | 1 credit |
category | 1 credit |
categories | 1 credit |
brand | 1 credit |
deals | 1 credit |
promotions | 1 credit |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
d = client.tractorsupply.categories(parent_id="1004851")["data"]
print(d["count"], "categories,", d["node_count"], "nodes")
for c in d["categories"]:
print(c["tree_id"], c["name"], c["url"], len(c["children"]))Response