ScavioScavio
Pricing
Tools
Sign InsGet Startedg
Blog
Dollar tree13 min readNov 25, 2026

How to Get Dollar Tree Case and Unit Prices With an API: Case Packs, Order Minimums, Store Units Near a ZIP and the Same UPC at Dollar General, Walmart and Target

Real Nov 24, 2026 Dollar Tree responses, step by step: search, read an item's case price and minimum, split cases into unit prices, find units near a ZIP.

Scavio Team

Nov 25, 2026

Try the Dollar Tree API free
scavio
Bulk prices / Case prices
Dollar tree

To get Dollar Tree case and unit prices with an API, call Scavio's Dollar Tree API: POST /api/v1/dollartree/product with a Dollar Tree item number returns the online unit price, Dollar Tree's case price, the units per case and the order minimum, and every search or department listing returns the same four figures for 48 items a page. The steps below use real responses from Tuesday, November 24, 2026 (00:15 to 00:46 UTC on November 25): search, read one item, split the case into a unit price, read a department by price point, match the same UPC at Dollar General, Walmart and Target, find the stores near a ZIP, read units at a store, and poll it all through Black Friday week. Every call is 1 credit except stores near a ZIP, 5.

Dollar Tree sells online by the case or a minimum quantity, and its stores sell single units. The price in every response is Dollar Tree's online price, one national price; Dollar Tree notes that prices and availability may vary between stores and online, and it does not publish shelf prices online. Dollar Tree itself has no public API for its catalog, prices or store stock. The comparison of 88 cases and the other providers is in the best Dollar Tree bulk price APIs.

Step 1: Find items by keyword or item number

Search takes q and returns 48 items a page (up to 250 with page_size), sorted by relevance, price_low, price_high, newest or rating:

Bash
curl -s https://api.scavio.dev/api/v1/dollartree/search \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "super glue"}'
JSON
{
  "data": {
    "query": "super glue",
    "page": 1,
    "page_size": 48,
    "total": 11,
    "total_pages": 1,
    "count": 11,
    "sort": "relevance",
    "items": [
      {
        "position": 1,
        "item_id": "185637",
        "name": "The Original Super Glue, 2-ct. Packs",
        "brand": "Super Glue",
        "price": 1.5,
        "list_price": 1.5,
        "on_sale": false,
        "case_price": 36,
        "case_pack": 24,
        "minimum_quantity": 4,
        "online_availability": "INSTOCK",
        "in_store_only": false,
        "upcs": ["000000073754123035", "000020073754123039", "000050073754123030"],
        "categories": ["Tape & Glue"]
      }
    ],
    "facets": [
      {"key": "price_point", "name": "Price", "values": [{"id": "3543933063", "label": "1.25", "count": 1}, {"id": "269960764", "label": "1.50", "count": 10}]}
    ]
  },
  "credits_used": 1
}
  • price is the unit price; case_price is Dollar Tree's price for case_pack units, and minimum_quantity is the smallest order it takes online. Here: $1.50 a 2-pack, $36.00 for 24, and a minimum of 4.
  • An item number in q returns that item. A UPC returns nothing: Dollar Tree's search does not match UPCs. The UPCs come back in upcs, zero-padded as Dollar Tree lists them; some items list several.
  • facets are Dollar Tree's filters with their counts; send a value's id back in filters, or use price_point, brand, rating, in_store_only, min_price and max_price directly.

Step 2: Read one item's case price and minimum

Product takes an item_id (or a dollartree.com product link):

Bash
curl -s https://api.scavio.dev/api/v1/dollartree/product \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "221159"}'
JSON
{
  "data": {
    "requested_item_id": "221159",
    "item_id": "221159",
    "name": "9-in. White Paper Plates, 40-ct. Packs",
    "brand": "The Home Store",
    "price": 1.5,
    "list_price": 1.5,
    "sale_price": null,
    "on_sale": false,
    "case_price": 45,
    "case_pack": 30,
    "minimum_quantity": 5,
    "split_case": {"available": true, "multiple": 5},
    "not_for_individual_sale": false,
    "in_store_only": false,
    "store_pickup_eligible": true,
    "shippable": true,
    "online_stock": {"status": "IN_STOCK", "in_stock": true, "units": 47340, "orderable_units": 47340},
    "categories": [
      {"id": "574", "name": "Party Supplies", "dimension_id": "4070223595"},
      {"id": "511", "name": "Disposable Tableware", "dimension_id": "334265920"}
    ],
    "currency": "USD"
  },
  "credits_used": 1
}
  • A case of 30 for $45.00, minimum order 5. Most items list the whole case as the minimum; this one can be ordered in smaller multiples (split_case.multiple 5, available true when the minimum is below the case pack). Of the 90 items in our department sample, 84 had a minimum equal to the case and 6 could be ordered in smaller multiples, with a minimum of 4.
  • online_stock is Dollar Tree's online inventory for the item (47,340 units that evening).
  • in_store_only, store_pickup_eligible and shippable are Dollar Tree's flags as given; specifications (dimensions, weight, flavor, allergens) is in the full response. Take sizes from the name: the weight in the specifications does not always describe the contents.
  • An unknown item number is a 404, charged 1 credit.

Step 3: Split the case into a unit price

The unit price of a case is case_price / case_pack. Run it over a listing:

Python
import requests

KEY = "YOUR_SCAVIO_API_KEY"
r = requests.post("https://api.scavio.dev/api/v1/dollartree/category",
                  headers={"Authorization": f"Bearer {KEY}"},
                  json={"category": "4070223595"}, timeout=120)
for it in r.json()["data"]["items"][:12]:
    if not it["case_pack"]:
        print(it["item_id"], it["name"], "no case listed")
        continue
    per_unit = round(it["case_price"] / it["case_pack"], 4)
    print(it["item_id"], it["name"][:40], it["case_pack"], it["case_price"], per_unit,
          "matches unit price" if abs(per_unit - it["price"]) < 0.005 else "differs")

On November 24 we ran this over the first 12 items of 8 departments: 90 items, 88 with a case. Every one of the 88 printed "matches unit price", and 38 came to $1.25 a unit. Two items (a 16 oz soda can and a glass tumbler) have no case: Dollar Tree lists a case of 0, which Scavio returns as null rather than computing one.

Step 4: Read a department by price point, and MORE CHOICES

Category takes a dimension_id from categories (16 departments, 520 categories) and the same sorts and filters as search. Add price_point to keep one price:

Bash
curl -s https://api.scavio.dev/api/v1/dollartree/category \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category": "4070223595", "price_point": 1.25}'

Without price_point, the Party Supplies listing answered with "total": 911 and Dollar Tree's Price facet counting 443 items at 1.25, 235 at 1.50 and 158 at 2.00, then 40 at 5.00 and a few others. Deals reads Dollar Tree's sale, clearance and New Arrivals lists and MORE CHOICES, its multi-price department, with type:

Bash
curl -s https://api.scavio.dev/api/v1/dollartree/deals \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type": "more_choices"}'
JSON
{
  "data": {
    "type": "more_choices",
    "total": 235,
    "total_pages": 5,
    "count": 48,
    "items": [
      {"item_id": "363692", "name": "Little Trees Black Ice Air Freshener, 3-pc Pack.", "brand": "Little Trees", "price": 3, "case_price": 48, "case_pack": 16, "minimum_quantity": 16, "in_store_only": true}
    ]
  },
  "credits_used": 1
}

MORE CHOICES counted 235 items that evening, 88 of them at $5.00, 59 at $3.00 and 36 at $4.00 by Dollar Tree's Price facet, up to $10.00. The sale list had 1 item and clearance 0; Dollar Tree publishes no validity dates and no weekly ad. Brand lists one brand's items the same way.

Step 5: The same UPC at Dollar General, Walmart and Target

Match on the UPC Dollar Tree gives, never on the name alone. For Dollar General, the product endpoint takes the UPC and a store number from Dollar General stores:

Bash
curl -s https://api.scavio.dev/api/v1/dollargeneral/product \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"upc": "027000381434", "store_id": "25814"}'
JSON
{
  "data": {
    "upc": "027000381434",
    "store_id": "25814",
    "title": "Hunt's Tomato Ketchup, Squeeze Bottle, 20 oz",
    "brand": "Hunts",
    "price": 1.75,
    "original_price": 1.75,
    "available_quantity": 12,
    "in_stock": true
  },
  "credits_used": 1
}

For Walmart and Target, search by brand, name and size, then read the product and keep it only when its barcode matches: Walmart's product returns gtin, Target's product returns upc. Pin a store, because both price by store. The Walmart product with "store_id": "1401", "delivery_zip": "60540" (2 credits) answered "gtin": "027000381434", "price": 1.67, sold by Walmart.com at the Naperville store. Dollar Tree listed the same ketchup online at $1.50, $18.00 for 12. Across 10 brand-name items with a same-UPC match, Dollar Tree's online price was the lowest listed for 1, tied for 1 and above at least one other for 8; the table is in the best-post comparison.

Step 6: Find the Dollar Tree stores near a ZIP

Stores takes a zip or a city and returns 20 stores in the locator's order, 5 credits:

Bash
curl -s https://api.scavio.dev/api/v1/dollartree/stores \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"zip": "60540"}'
JSON
{
  "data": {
    "location": "60540",
    "count": 20,
    "stores": [
      {
        "position": 1,
        "store_number": "9207",
        "name": "Dollar Tree",
        "location_note": "Green Trails Shopping Center",
        "address": {"line1": "2709 Maple Avenue", "line2": null, "city": "Lisle", "state": "IL", "zip": "60532-3280", "country": "US"},
        "phone": "+13312511513",
        "distance_miles": 2.38,
        "closed": false,
        "timezone": "America/Chicago",
        "hours": [{"day": "monday", "open": "08:00", "close": "22:00", "closed": false}],
        "holiday_hours": [{"date": "2026-11-26", "open": "08:00", "close": "17:00", "closed": false}],
        "accepts_ebt": true,
        "frozen_foods": true,
        "more_choices": true,
        "slug": "il/lisle/2709-maple-avenue"
      }
    ]
  },
  "credits_used": 5
}
  • store_number is the input of store-stock; slug is the input of store, which reads one store page (1 credit) with hours, holiday hours, amenities and its nearby stores.
  • holiday_hours carried Thanksgiving, November 26, 08:00 to 17:00, at every store we read.
  • The response also has a total; it is the locator's own count around the place, not a count of stores in a city.

Step 7: Units at a store and the stores near it

Store-stock takes an item and a store number (a ZIP alone does not pick a store); zip and state are optional:

Bash
curl -s --max-time 300 https://api.scavio.dev/api/v1/dollartree/store-stock \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "221159", "store": "5262", "zip": "07087", "state": "NJ"}'
JSON
{
  "data": {
    "item_id": "221159",
    "item": {"name": "9-in. White Paper Plates, 40-ct. Packs", "price": 1.5},
    "store": {"store_number": "5262", "units": 199, "status": "AVAILABLE", "in_stock": true, "unit_size": 1},
    "nearby_stores": [
      {"store_number": "5849", "units": 66, "status": "AVAILABLE", "in_stock": true},
      {"store_number": "3789", "units": 168, "status": "AVAILABLE", "in_stock": true},
      {"store_number": "4514", "units": 104, "status": "AVAILABLE", "in_stock": true}
    ],
    "nearby_in_stock": 52,
    "ship_to_home": {"available": true, "case_size": 30, "eta": "2026-12-02", "express_eta": "2026-11-30", "back_order": false},
    "ship_to_store": {"available": true, "eta": "2026-12-05"}
  },
  "credits_used": 1
}
  • 199 units at the Union City, New Jersey store (the first store the locator lists for ZIP 10001), and 52 of the 57 nearby stores Dollar Tree listed had the plates. Stores sell single units (unit_size 1).
  • How many nearby stores come back is up to Dollar Tree: 57 here, 22 near Lisle, Illinois, and none for a rural store in Lebanon, Virginia.
  • Delivery dates: ship-to-home December 2 (express November 30), ship-to-store December 5, on every read that evening.
  • It is slow: this answer took 56 seconds after one retry; our reads took 14 to 90 seconds each when they answered, and some needed a retry. Use a long timeout; a failed read is not charged.

Step 8: Read the reviews

Reviews returns up to about 98 of the newest English reviews with the rating breakdown, 1 credit:

Bash
curl -s --max-time 300 https://api.scavio.dev/api/v1/dollartree/reviews \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "185637"}'
JSON
{
  "data": {
    "item_id": "185637",
    "rating": 4.75,
    "review_count": 4,
    "rating_breakdown": [{"stars": 5, "count": 3, "percent": 75}, {"stars": 4, "count": 1, "percent": 25}],
    "recommended_count": 4,
    "total": 4,
    "count": 4,
    "sort": "newest",
    "reviews": [
      {"rating": 5, "date": "2026-04-05T03:08:03.000+00:00", "recommended": true, "syndicated": false, "syndication_source": null, "locale": "en_US"}
    ]
  },
  "credits_used": 1
}

Each review also has a title, text, badges and helpful votes; there are no reviewer names. syndicated marks reviews written on another site: for the Cheez-It White Cheddar item, 98 of the 98 text reviews returned were syndicated from the brand's site. review_count counts every rating, so it can exceed total, the reviews with text (the paper plates had 9 ratings and 3 text reviews).

Step 9: Poll a list through Black Friday week

Scavio keeps no price history, so store your own readings. This reads a list of item numbers and appends one CSV row per item with the time, the unit price, the case figures and the credits each call reports. Run it once a day from Tuesday, November 24 through Cyber Monday, November 30:

Python
import csv, datetime, requests

KEY = "YOUR_SCAVIO_API_KEY"
ITEMS = ["221159", "185637", "188369", "360930", "386606", "427541"]

with open("dollartree-cases.csv", "a", newline="") as f:
    out = csv.writer(f)
    for item in ITEMS:
        r = requests.post("https://api.scavio.dev/api/v1/dollartree/product",
                          headers={"Authorization": f"Bearer {KEY}"}, json={"item_id": item}, timeout=120)
        now = datetime.datetime.now(datetime.timezone.utc).isoformat()
        if r.status_code != 200:
            out.writerow([now, item, "", "", "", "", "", r.status_code, ""])
            continue
        j = r.json()
        d = j["data"]
        per_unit = round(d["case_price"] / d["case_pack"], 4) if d["case_pack"] else ""
        out.writerow([now, item, d["price"], d["list_price"], d["case_pack"], d["case_price"],
                      d["minimum_quantity"], per_unit, j["credits_used"]])

Six items a day is 6 credits, 42 for the week. Reading the 8 department pages instead (48 items each) is 8 credits a day, 56 for the week.

All Dollar Tree endpoints

EndpointWhat it returnsCredits
searchKeywords or an item number: 48 a page with Dollar Tree's total, unit and case prices, five sorts, price point and other filters1
productUnit, list and sale price, case price, case pack, order minimum, UPCs, online stock, flags, specifications1
categoryOne department or category listing, sorted, filtered and paged like search1
categoriesThe 16 departments with every category, or one category's sub-categories1
brandOne brand's items, with other spellings Dollar Tree uses1
dealsSale, clearance, New Arrivals or MORE CHOICES items1
store-stockUnits of one item at a store and the stores near it, ship-to-home and ship-to-store dates; 14 to 90 seconds1
storesThe 20 stores near a US ZIP or city with hours, holiday hours and services5
storeOne store page with hours and nearby stores; Dollar Tree Canada store pages with country ca1
reviewsUp to about 98 of the newest reviews with stats and syndication flags1

Not available: shelf prices (Dollar Tree does not publish them online), UPC search, search suggestions, the weekly ad, deal validity dates, Quick Order, gift cards, Canada products and prices (Dollar Tree Canada has no shopping site), price history and checkout.

Getting started

  1. Sign up free for 50 credits, no card.
  2. Try an item number in the playground.
  3. Every call is 1 credit except stores near a ZIP (5), $1 per 1,000 credits on Growth; the Hobby plan is $15 a month for 3,000 credits.

Try the Dollar Tree API free.

Reference: Dollar Tree API · product docs · store-stock docs · best Dollar Tree bulk price APIs · what is actually cheaper at Dollar Tree? · Dollar General API · Walmart API · Target API · Instacart API

Frequently asked questions

How do I get a Dollar Tree item's case price with an API?

Read the item with Scavio's Dollar Tree product endpoint, or any listing (search, category, brand, deals). Each item carries Dollar Tree's online unit price, case_price, case_pack and minimum_quantity. On November 24, 2026 the 9-inch white paper plates (item 221159) were $1.50 each, $45.00 for a case of 30, with a minimum order of 5.

Can I search Dollar Tree by UPC?

No. Dollar Tree's own search does not match UPCs, so a UPC query returns nothing. Search by keyword or by Dollar Tree item number (the number at the end of a dollartree.com product link); the item's UPCs come back in the response, as Dollar Tree lists them, for matching at other retailers.

Is Dollar Tree's online price the store price?

It is Dollar Tree's online price, which is the same at every store: Scavio measured one national online price at six stores in six states. Dollar Tree says prices and availability may vary between stores and online, and it does not publish shelf prices online.

How long does a Dollar Tree store stock call take?

Between 14 and 90 seconds per answer in our November 24, 2026 reads, and some reads needed a retry; a failed read is not charged. Give the call a long timeout (300 seconds) and read one store at a time.

Dollar Tree case and unit prices as JSON

  • Send a Dollar Tree item number, get the online unit price, case price, units per case and order minimum
  • Units at a Dollar Tree store and the stores near it, and the stores near a US ZIP with hours
  • 1 credit a call (stores near a ZIP 5); credits_used in every answer
Try the Dollar Tree API free

50 free credits, no credit card

On this page

  1. Step 1: Find items by keyword or item number
  2. Step 2: Read one item's case price and minimum
  3. Step 3: Split the case into a unit price
  4. Step 4: Read a department by price point, and MORE CHOICES

Related articles

View all
  • scavio
    Bulk prices / Case prices
    Dollar tree
    7 Best Dollar Tree Bulk Price APIs in 2026: Scavio Split 88 Case Prices Into Unit Prices, and 38 of Them Came to $1.25 Each
  • scavio
    Tire prices / Americas tire
    Discount tire
    How to Get Discount Tire Prices by Tire Size With an API: One Size at One Store, the Same Tire at Another Store, Vehicle Fitment and Units Near a ZIP
ScavioScavio

One scraper API for every social, search, e-commerce and real estate platform. Built for AI agents.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative
  • Serper Alternative
  • Tavily vs Scavio
  • SerpAPI vs Scavio
  • All alternatives
  • Compare Scavio vs alternatives

Search APIs

  • Google Search API
  • Amazon Product API
  • YouTube API
  • Reddit API
  • Walmart Product API
  • TikTok API
  • Instagram API

Tools

  • All Tools

Ask AI about Scavio

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy