Dollar Tree
Dollar Tree Categories API
Dollar Tree's (dollartree.com, the US and Canada discount variety store chain) category tree: without a category, its 16 departments with every sub-category; with one, that category's sub-categories. Each has its id, name, dimension_id (the input of category and of search's category filter), dollartree.com link and children. United States only. 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/jsoncategorystringOne category (dimension_id, id or dollartree.com category link): its sub-categories. Without it: Dollar Tree's departments with every sub-category.
Example: 2264625405
countrystringdefault:usus (www.dollartree.com, USD), the default and the only market for categories. Dollar Tree Canada has no shopping site: ca answers 400, not charged (for Canada Scavio serves store).
Example: us
us— United States, www.dollartree.com, English, USD. 1 credit. The default.
languagestringdefault:enen, the default and only value: Dollar Tree publishes its US site and its Canadian store pages in English. Any other value answers 400, not charged.
Example: en
en— English (default).
Notes
Markets. Dollar Tree (dollartree.com, the US and Canada discount variety store chain; Dollar Tree, Inc. reported 9,511 stores at the end of its third quarter of fiscal 2026, October 31, 2026, in 48 contiguous states and seven Canadian provinces, and $19.4 billion in net sales for fiscal 2025; Family Dollar has been a separate company since July 2025 and is not served): country us (www.dollartree.com, English, USD) is the default and serves every endpoint; country ca serves Dollar Tree Canada's store pages (locations.dollartreecanada.com, English, no prices) on store only, because Dollar Tree Canada has no shopping site. Field names are English; prices are numbers in USD. Every answer echoes market { country, language, currency, locale }. This endpoint costs 1 credit and answers for country us. Without category the answer is Dollar Tree's 16 departments with every sub-category (520 categories in all on 2026-11-25): New Arrivals, Holidays, Seasons & Occasions, Arts & Crafts Supplies, Kitchen & Dining, Floral & Home Decor, Food, Candy & Drinks, Party Supplies, Office & School Supplies, Health & Beauty Supplies, Toys, Books, Puzzles & Games, Household & Pet Supplies, Cleaning & Storage, Clothing & Accessories, MORE CHOICES and Care Packages. MORE CHOICES (dimension_id 703144065) is Dollar Tree's multi-price department, with 9 sub-categories from MORE Party Supplies to MORE Food, Candy & Drinks. Send a category (a dimension_id, an id or a dollartree.com category link) for its sub-categories and parents: Holidays (2264625405) listed 8, from Halloween Shop and Christmas to Patriotic Party Supplies. The tree is Dollar Tree's own and includes seasonal categories that can be empty out of season. An unknown category is a charged 404.
| Endpoint | Credits | Markets |
|---|---|---|
search | 1 credit | us |
product | 1 credit | us |
store-stock | 1 credit | us |
category | 1 credit | us |
categories | 1 credit | us |
brand | 1 credit | us |
deals | 1 credit | us |
stores | 5 credits | us |
store | 1 credit | us, ca |
reviews | 1 credit | us |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=240)
# Walk the departments down to the dimension_ids category takes.
tree = client.dollartree.categories()["data"]
print(tree["count"], "departments,", tree["total_categories"], "categories")
for dept in tree["categories"]:
print(dept["dimension_id"], dept["name"], len(dept["children"]))Response