Dollar Tree
Dollar Tree Stores API
The Dollar Tree (dollartree.com, the US and Canada discount variety store chain) stores near a US ZIP or city, 20 per answer in the store locator's order: store number, address, phone, coordinates, distance, weekly hours, dated holiday hours, EBT, frozen foods, MORE CHOICES and pickup flags, payment options and the store page link. United States only. Costs 5 credits.
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/jsonzipstringA US ZIP code. zip or city is required.
Example: 60540
citystringA US city and state, e.g. "Naperville, IL", instead of zip.
Example: Naperville, IL
countrystringdefault:usus (www.dollartree.com, USD), the default and the only market for stores. 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. 5 credits. 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 5 credits and answers for country us. Send zip (a US ZIP code) or city (a city and state, such as "Naperville, IL"). The answer is the 20 stores Dollar Tree's store locator lists for the place, in its order, with no paging; total is the number of stores the locator counts around the place. On 2026-11-25 ZIP 60540 (Naperville, IL) listed 20 stores from 2.38 miles (store 9207, Lisle, IL) to 8.97 miles, total 263; all 20 accept EBT, 19 carry MORE CHOICES, and each listed Thanksgiving hours for 2026-11-26 of 08:00 to 17:00 in holiday_hours. distance_miles is computed by Scavio from the locator's distance. store_number is the input of store-stock; slug and url are the input of store. stores costs 5 credits, and it can answer an unbilled 502 (Dollar Tree's store locator is temporarily unavailable): retry it. It takes about 10 to 15 seconds. A place the locator does not find 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=300)
# 20 stores near a ZIP (5 credits): the store numbers store-stock takes.
d = client.dollartree.stores(zip="60540")["data"]
print(d["count"], "of", d["total"], "stores")
for s in d["stores"]:
print(s["store_number"], s["address"]["city"], s["distance_miles"], s["accepts_ebt"], s["more_choices"], s["holiday_hours"])Response