Dollar Tree Bulk Prices Api 标志

Dollar Tree Bulk Prices Api

社区
scavio-ai
dollar-tree-bulk-prices-api

Dollar Tree API,适用于 Dollar Tree(dollartree.com,美国和加拿大的折扣杂货连锁店)——查询 Dollar Tree 的批量价格和门店库存,包括网站所示整箱价格及拆分后的单件价格(9-in. White Paper Plates, 40-ct. 标价为每包 $1.50、每箱 30 包 $45.00,最低订购量为 5 箱)、最低订购量和拆箱订购倍数;查看 Dollar Tree 展示的价格档位(Christmas Decor 分类有 $1.00、$1.25、$1.50、$1.75、$3.00、$5.00、$7.00 和 $10.00)及其多价商品专区 MORE CHOICES;每件商品采用统一的全国线上价格(同一商品在 6 个州的 6 家门店均显示为 $1.50,整箱均为 $45.00);按门店编号查询单件商品的准确库存,并可查询附近约 63 家门店(纽约州 East Harlem 的 5126 号门店有 116 包,附近 63 家门店中有 59 家有货);查询送货上门的整箱商品及最多可订购数量和预计送达日期,也可选择送至门店;支持关键词和商品编号搜索,以及分类、品牌、促销、清仓、新品和 MORE CHOICES 列表;默认每页 48 条(最多 250 条),可翻至第 200 页;支持按相关性、价格、新品或评分排序,并按价格档位、品牌、评分、仅限门店商品、价格区间或任意筛选项过滤;查看单个商品完整信息,包括 Dollar Tree 提供的 UPC、规格、线上库存数量、SNAP 标记及所属分类;按美国 ZIP 邮编或城市查询附近门店,包括营业时间、节假日营业时间、EBT、冷冻食品和 MORE CHOICES 标记;查看单家门店页面(也包括 Dollar Tree Canada 门店页面,但不含价格);还提供分类树和最新的英语评论(每次最多约 98 条,标记联合发布的评论,不含评论者姓名)。共 10 个端点,每次调用消耗 1 个额度;查询门店消耗 5 个额度。不提供 UPC 搜索、搜索建议、每周广告、优惠日期、Quick Order、礼品卡、加拿大商品或价格、价格历史或结账功能。

概览

发布者scavio-ai
代码仓库skills
技能名称dollar-tree-bulk-prices-api
星标数
145
复刻数
1
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 scavio-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Dollar Tree Bulk Prices Api AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scavio-ai/skills/tree/main/skills/dollar-tree-bulk-prices-api
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/dollar-tree-bulk-prices-api .claude/skills/dollar-tree-bulk-prices-api
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Dollar Tree Bulk Prices Api,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Dollar Tree Bulk Prices Api。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Dollar Tree Bulk Prices Api 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Dollar Tree API - Bulk Prices, Case Packs, Store Stock

Read Dollar Tree (dollartree.com, the US and Canada discount variety store chain): keyword and item-number search, category, brand and deal lists (sale, clearance, New Arrivals, MORE CHOICES), one product in full with its unit price, case price, case pack, order minimum and split-case multiple, the units of one item at a Dollar Tree store and the stores near it, the stores near a US ZIP or city, one store page, the category tree and the newest reviews. www.dollartree.com (USD, English) for all 10 endpoints; Dollar Tree Canada store pages (English, no prices) for store only. Every endpoint returns structured JSON at 1 credit per call, except stores at 5.

The job this skill is for: Dollar Tree bulk prices. What a Dollar Tree item costs on dollartree.com today by the unit and by the case, the order minimum and split-case multiple, the price point Dollar Tree shows, and how many units a store has. On 2026-11-25 (UTC) the 9-in. White Paper Plates, 40-ct. Packs (item 221159, brand The Home Store) read price 1.5 with case_price 45 for a case_pack of 30 ($1.50 x 30 = $45.00), minimum_quantity 5 and split_case {available true, multiple 5}. /store-stock at store 5126 (2182 3rd Avenue, East Harlem, New York, NY) read 116 units on hand (unit_size 1: stores sell single packs) and listed 63 nearby stores by number, 59 of them in stock; ship to home came from distribution centre 99006 with 2,374 cases of 30, max_order_units 75,570 (the most units orderable for delivery) and an estimated delivery of 2026-12-02. A search for paper plates read 61 items: Heavy-Duty 10-in Ultra Paper Plates, 10-pc (380886) $1.50 a pack, $36.00 for 24; Round Paper Plates - Black, 9 in., 24 ct. (356742) $1.25, $22.50 for 18; Serv Heavy Duty 10-in Ultra Paper Plates, 50-pc (376763) $5.00, $50.00 for 10. Pair it with dollar-general-api, walmart-product-data, target-product-data and instacart-api for the same item (same UPC).

Ten limits shape every answer, so say them plainly:

  • 1 credit per call, stores 5. credits_used in the response is the truth. A not-found (404) is charged; a refused input (400) and an upstream failure (502, 503) are not.
  • One national online price. price is Dollar Tree's online unit price from one national online price list: item 221159 read $1.50 and the same $45.00 case at 6 stores in 6 states (5126 NY, 5262 NJ, 2461 IL, 8170 MT, 7796 TX, 5441 CA) on 2026-11-24, and no endpoint takes a ZIP or store for prices. Dollar Tree's own footer says prices and availability may vary between stores and online, and store shelf prices are not published online. Write "the online price at dollartree.com", never a store's shelf price.
  • Case price against unit price. Online orders go by the case or in split-case multiples. case_price is Dollar Tree's price for case_pack units (unit price x case pack: $1.50 x 30 = $45.00); minimum_quantity is Dollar Tree's order minimum; split_case {available, multiple}: available is computed by Scavio as minimum_quantity < case_pack (Dollar Tree's own split-case flag reads N on every item), multiple is Dollar Tree's split-case multiple as given. On the product only, split_case_fee is Dollar Tree's raw field as given: Dollar Tree does not publish what it means or its unit, so never call it a fee. Report them and show the arithmetic; stores sell single units.
  • Case pack 0 means no case price. Where Dollar Tree gives a case pack or case price of 0 (Red Bull Zero, item 403802, measured 2026-11-24), case_pack and case_price are null. Never compute one.
  • The prices Dollar Tree shows, as given. Items come at many price points: the Christmas Decor Price facet listed $1.00, $1.25, $1.50, $1.75, $3.00, $5.00, $7.00 and $10.00; paper plates listed $1.25, $1.50, $4.00 and $5.00. MORE CHOICES (deals type more_choices) is Dollar Tree's multi-price department. Never write that everything costs $1.25.
  • Store stock needs a store number and is slow. /store-stock takes item_id and store (a number from /stores); a ZIP alone does not pick a store. It returns the store's exact units (store.status can be null), up to about 63 nearby_stores by store number with their units (none at some rural stores), ship_to_home and ship_to_store. It is the slowest endpoint: 16 seconds in the capture, 16 to 72 seconds measured. Allow a client timeout of 300 seconds.
  • No UPC search. Dollar Tree's search does not match UPCs: a UPC finds nothing. Look items up by the Dollar Tree item number (items[].item_id, the number at the end of a dollartree.com product link, such as 221159 or FD1402202). upcs are listed as Dollar Tree gives them, zero-padded to 18 digits, and an assorted item can list several (221159 lists 10).
  • Reviews: the newest only. /reviews returns up to about 98 of the newest English reviews, newest first. No other sort, no star filter, no questions and answers, no reviewer names. Many reviews are syndicated from brand sites: syndicated and syndication_source say so (95 of 97 on Crest Tartar Protection came from crest.com).
  • Canada: store pages only. Dollar Tree Canada has no shopping site. country ca is served by /store only (locations.dollartreecanada.com pages, English, no prices, currency null); every other endpoint is US only.
  • No history, no deal dates. Dollar Tree publishes no validity dates for sale, clearance or new items and no weekly ad. Nothing is cached or kept: poll and store your own series.

Dollar Tree publishes no public API for its catalog, prices, store stock or stores. Publishers can join its affiliate programme through affiliate networks (a links-and-commission programme, not a price API); suppliers work through Dollar Tree's vendor portal on SAP Ariba and EDI. API directory profiles carrying a Dollar Tree name are third-party listings, not Dollar Tree documentation. Prices are shown on dollartree.com, and this skill reads those public pages with one Scavio key.

Dollar Tree, Inc. reported 9,511 stores across the Dollar Tree U.S. and Dollar Tree Canada banners at the end of Q3 fiscal 2026 (October 31, 2026; 8-K filed 2026-11-24), 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. Quote these with their source, never from the samples.

See also: for the same item (same UPC) at Dollar General use dollar-general-api (it looks products up by UPC); at Walmart walmart-product-data; at Target target-product-data; Dollar Tree is also an Instacart retailer, and instacart-api reads Instacart's prices for it (label them as Instacart's, never as Dollar Tree's shelf price); per-unit prices at other retailers staples-ink-prices-api, michaels-craft-prices-api.

When to trigger

Use this skill when the user asks to:

  • Price a Dollar Tree item by the unit and by the case, with the case pack, the order minimum and the split-case multiple, as dollartree.com lists them
  • List Dollar Tree items at one price point ($1.25, $1.50, $5.00, ...) or in MORE CHOICES, Dollar Tree's multi-price department
  • Check how many units of one item a Dollar Tree store has, with the nearby stores' units and the ship-to-home order maximum and delivery estimate
  • Find the Dollar Tree stores near a US ZIP or city with hours, holiday hours and EBT, frozen foods or MORE CHOICES flags, or read one store page (US or Dollar Tree Canada)
  • Search dollartree.com by keyword or item number, sorted by price, newest or rating, or filtered by brand, rating, in-store only, price range or any facet
  • List a Dollar Tree category (party supplies, Christmas decor, cleaning), one brand's items, or the sale, clearance and New Arrivals items
  • Read one Dollar Tree product in full: UPCs, specifications, online stock units, SNAP flag, categories
  • Read the newest reviews of a Dollar Tree item with Dollar Tree's rating breakdown and syndication flags
  • Compare one item at Dollar Tree, Dollar General, Walmart and Target by UPC (with dollar-general-api, walmart-product-data and target-product-data)

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Every call in this skill costs 1 credit except stores (5), so 50 credits cover 50 calls.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working. Paid plans start with Hobby at $15 per month for 3,000 credits; on Growth, 1,000 credits cost $1.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. In the captures, deals took about 1 second, search, product, category, categories, brand and store 2-4, stores 14, store-stock 27 and reviews 31. Store stock was measured at 17 to 72 seconds. Allow a client timeout of at least 300 seconds: a busy moment can queue a request.

EndpointWhat it returnsMarketsCredits
POST /api/v1/dollartree/searchKeywords or an item number: 48 per page by default (up to 250) with total, facets, unit price, case price, case pack, order minimum and split caseus1
POST /api/v1/dollartree/productOne item by item number or link: unit price, list price, sale price, case price, case pack, order minimum, split case, banner code, UPCs, specifications, online stock units, SNAP flag, categoriesus1
POST /api/v1/dollartree/categoryOne category listing (dimension_id or a dollartree.com category link), sorted, filtered and paged like searchus1
POST /api/v1/dollartree/categoriesDollar Tree's departments with every sub-category, or one category's sub-categoriesus1
POST /api/v1/dollartree/brandOne brand's items as Dollar Tree writes the brand, with its other spellingsus1
POST /api/v1/dollartree/dealsSale, clearance, New Arrivals or MORE CHOICES items, sorted, filtered and paged like searchus1
POST /api/v1/dollartree/store-stockUnits of one item at a store (by store number) and up to about 63 nearby stores, ship-to-home cases and order maximum with an estimated delivery date, ship-to-storeus1
POST /api/v1/dollartree/storesThe Dollar Tree stores near a US ZIP or city (20 per answer): address, phone, distance, hours, holiday hours, EBT, frozen foods, MORE CHOICES, pickup and deliveryus5
POST /api/v1/dollartree/storeOne store page by link or slug: hours, holiday hours, amenities and the stores nearbyus, ca1
POST /api/v1/dollartree/reviewsThe newest English reviews of one item (up to about 98), with rating breakdown and syndication flagsus1

country is us (default, www.dollartree.com, USD) or ca (Dollar Tree Canada store pages: store only); language is en (the default and only value). An endpoint asked for a market it does not serve is a 400, not charged.

Prices: unit price, case price, order minimum, split case

Every priced item carries:

FieldMeaning
priceDollar Tree's online unit price (USD), from one national online price list
list_priceDollar Tree's list price as given
sale_priceProduct: Dollar Tree's sale price, null without one
on_saleDollar Tree's own sale flag, as given
unit_price_textThe unit price as Dollar Tree writes it ("1.50")
case_priceDollar Tree's price for case_pack units; null where Dollar Tree gives 0
case_packUnits in a case; null where Dollar Tree gives 0
minimum_quantityDollar Tree's order minimum (units)
split_case{available, multiple}: available computed by Scavio as minimum_quantity < case_pack; multiple as Dollar Tree gives it
split_case_feeProduct only: Dollar Tree's raw field as given; its meaning and unit are not published, so it is not a fee
banner_codeProduct only: Dollar Tree's banner code as given (DT or FD), not a store-brand flag
not_for_individual_sale, varying_case_packs, assortment, assortment_detailsDollar Tree's flags and assortment text (the last three on the product)
upcsThe UPCs Dollar Tree lists for the item, zero-padded to 18 digits as given
snap_eligible, in_store_only, clearance, newDollar Tree's flags
  • Per unit: quote price with the date: "$1.50 a pack at dollartree.com on 2026-11-25". Per case: quote case_price with case_pack and show the division ($45.00 / 30 = $1.50).
  • Order rules: quote minimum_quantity and split_case as given. Item 221159 read minimum_quantity 5, split_case {available: true, multiple: 5}, split_case_fee 0; most listing items read minimum_quantity equal to case_pack (380886: 24 and 24).
  • Price points: the Price facet (facets[] with key price_point) lists the price points in a listing with counts; send one as price_point (1.25) or its id in filters.
  • Matching another retailer: match on the UPC. The last 12 digits of an 18-digit upcs value are the UPC-A, the last 13 an EAN-13. An assortment can carry several UPCs: compare only the one that names the same product.
  • Report the labels and the arithmetic. Never call a price a store's shelf price, never describe a price as a rise, a cut or a bargain, and never compute a price Dollar Tree does not show.

Workflow

  1. Find the item. /search with q (keywords such as paper plates, or a Dollar Tree item number), or /category (a dimension_id from /categories or from a product's categories[]), /brand or /deals. Each item's item_id is the input of product, store-stock and reviews. Never search a UPC: it finds nothing.
  2. Read it in full. /product with item_id (or the item's url): unit price, case price, case pack, order minimum, split case, UPCs, online stock units.
  3. Per unit and per case. Quote price, then case_price for case_pack units with the division; quote minimum_quantity and split_case.
  4. Pick a store. /stores with zip (a US ZIP) or city ("Naperville, IL"), 5 credits: 20 stores in Dollar Tree's order with store_number, slug, address, hours and flags.
  5. Units at the store. /store-stock with item_id and store (a store_number), optionally zip and state of the store. Read store.units, nearby_stores[] (store numbers with units; empty at some rural stores), nearby_in_stock and ship_to_home.max_order_units. Nearby stores carry no address: /stores near the same ZIP and /store (its nearby_stores) give store numbers with addresses. Expect tens of seconds.
  6. Narrow a list. sort, price_point, brand, rating (1-5, and up), in_store_only, min_price / max_price and facet filters (up to 10 facets[].values[].id strings, sent exactly as given); page (1-200) and page_size (1-250, default 48).
  7. Reviews. /reviews with item_id: the newest English reviews, with syndicated and syndication_source on each.
  8. Canada. /store with country ca and a locations.dollartreecanada.com url or its slug. Nothing else is served for Canada.
  9. Watching prices: there is no history. Poll the same items on a schedule and store each answer with its fetched_at; that stored series is the history.

Parameters

Product (/product) and reviews (/reviews)

ParameterTypeDefaultDescription
item_idstring or integerone ofA Dollar Tree item number (221159, FD1402202; items[].item_id). UPCs are not item numbers
urlstringone ofA dollartree.com product link (items[].url) instead of item_id
country, languagestringus, enus only; en only

Store stock (/store-stock)

ParameterTypeDefaultDescription
item_id or urlstring or integerone requiredA Dollar Tree item number or product link
storestring or integerrequiredA Dollar Tree store number (stores[].store_number, e.g. 5126). A ZIP alone does not pick a store
zipstring or integernoneOptional: the store's ZIP, sent along with the store
statestringnoneOptional: the store's two-letter state (NY)

Search (/search), category (/category), brand (/brand), deals (/deals)

ParameterTypeDefaultDescription
qstringsearch: requiredKeywords or a Dollar Tree item number (1-200 chars); category, deals: keywords inside the listing
categorystring or integercategory: requiredA category dimension_id (3804024826, Christmas Decor) or a dollartree.com category link. Search and brand: a filter; deals: with type sale or clearance only
brandstringbrand: requiredA brand as Dollar Tree writes it (the Brand facet's labels, Dixie); matched case-insensitively. Search, category, deals: a filter
typestringsaleDeals: sale, clearance, new (New Arrivals, newest first by default) or more_choices (MORE CHOICES)
sortstringrelevancerelevance, price_low, price_high, newest, rating
price_pointnumber or stringnoneOnly items at this price point, as the Price facet lists them (1.25, 1.50, 5.00)
ratingintegernoneOnly items rated this many stars and up (1-5)
in_store_onlybooleanfalseOnly items Dollar Tree sells in stores only
min_price, max_pricenumbernoneUnit price range (USD); max_price must be above 0.05
filtersarraynone1-10 refinement ids exactly as an earlier answer gives them in facets[].values[].id; several are combined
pageinteger11-200
page_sizeinteger481-250 (48 is the site's own page size)

Stores (/stores), store (/store), categories (/categories)

/stores takes zip (a US ZIP) or city ("Naperville, IL"); with both, zip is used. /store takes url (stores[].url, a locations.dollartree.com page, or with country ca a locations.dollartreecanada.com page) or slug (stores[].slug, ny/new-york/2182-3rd-avenue). /categories takes an optional category (a dimension_id, id or category link) for its sub-categories; without it, the departments with every sub-category.

Examples

One product with its case price, order minimum and online stock

bash
curl -X POST https://api.scavio.dev/api/v1/dollartree/product \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "221159"}'

Captured data (2026-11-25 UTC; images, long_description and notes dropped, upcs cut to 2 of 10, specifications to 4 of 12):

json
{
  "market": { "country": "us", "language": "en", "currency": "USD", "locale": "en-US" },
  "requested_item_id": "221159",
  "item_id": "221159",
  "name": "9-in. White Paper Plates, 40-ct. Packs",
  "brand": "The Home Store",
  "banner_code": "DT",
  "url": "https://www.dollartree.com/the-home-store-9-in-uncoated-white-paper-plates-40-pc-pack/221159",
  "image": "https://www.dollartree.com/ccstore/v1/images/?source=/file/v5770587485520967755/products/221159.jpg",
  "description": "PAPER PLATES 9IN",
  "price": 1.5,
  "list_price": 1.5,
  "sale_price": null,
  "on_sale": false,
  "unit_price_text": "1.50",
  "case_price": 45,
  "case_pack": 30,
  "minimum_quantity": 5,
  "split_case": { "available": true, "multiple": 5 },
  "split_case_fee": 0,
  "not_for_individual_sale": false,
  "varying_case_packs": false,
  "assortment": true,
  "assortment_details": "40-pc Pack The Home Store 9-in Uncoated White Paper Plate",
  "upcs": ["000000639277128775", "000000076955101000"],
  "rating": 3.4444,
  "review_count": 9,
  "in_store_only": false,
  "store_pickup_eligible": true,
  "shippable": true,
  "online_only": false,
  "delivery_options": "2",
  "order_limit": null,
  "clearance": false,
  "new": true,
  "deals": null,
  "snap_eligible": false,
  "gift_card": false,
  "available_since": "2026-03-31",
  "online_stock": { "status": "IN_STOCK", "in_stock": true, "units": 47340, "orderable_units": 47340 },
  "specifications": [
    { "name": "Length", "value": "9 in" },
    { "name": "Width", "value": "9 in" },
    { "name": "Material", "value": "Paper" },
    { "name": "Microwave Safe", "value": "Yes" }
  ],
  "categories": [
    { "id": "574", "name": "Party Supplies", "dimension_id": "4070223595", "url": "https://www.dollartree.com/department/party-supplies" },
    { "id": "511", "name": "Disposable Tableware", "dimension_id": "334265920", "url": "https://www.dollartree.com/party-supplies/disposable-tableware" }
  ],
  "child_skus": [
    { "sku_id": "221159", "color": "Default", "size": "Default", "list_price": 1.5, "sale_price": null, "sale_starts": null, "sale_ends": null, "active": true }
  ],
  "currency": "USD"
}

$45.00 / 30 = $1.50 a pack, the same as price; the order minimum is 5 packs as Dollar Tree gives it, below the case of 30, so split_case.available is true. banner_code DT is Dollar Tree's banner code, not a store brand. online_stock is Dollar Tree's online stock answer as given, not a store's units and not store-stock's ship_to_home numbers. An unknown item is a charged 404.

Units at a store and the stores nearby

bash
curl -X POST 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": "5126"}'

Captured data (2026-11-25 UTC, 16 seconds; 3 of 63 nearby stores shown, notes dropped):

json
{
  "market": { "country": "us", "language": "en", "currency": "USD", "locale": "en-US" },
  "item_id": "221159",
  "item": {
    "name": "9-in. White Paper Plates, 40-ct. Packs",
    "url": "https://www.dollartree.com/the-home-store-9-in-uncoated-white-paper-plates-40-pc-pack/221159",
    "price": 1.5
  },
  "store": { "store_number": "5126", "units": 116, "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": 59,
  "ship_to_home": { "available": true, "dc_number": "99006", "cases": 2374, "case_size": 30, "max_order_units": 75570, "eta": "2026-12-02", "express_eta": "2026-11-30", "back_order": false },
  "ship_to_store": { "available": false, "dc_number": "99010", "units": 0, "cases": 0, "case_size": 30, "eta": "2026-12-05" },
  "split_case_ship_to_home": false
}

Store 5126 is 2182 3rd Avenue, New York, NY (East Harlem). 59 of the 63 nearby stores were in stock; 4 read OUT_OF_STOCK with 0 units. unit_size 1 means the store sells single packs. ship_to_home is delivery from the distribution centre Dollar Tree names (dc_number), counted in whole cases of 30; max_order_units (75,570) is the most units Dollar Tree lets you order for delivery, the same at every store, and is not cases x case_size. ship_to_store names its own dc_number. store.status can be null (Dollar Tree gave no on-hand status), and some rural stores list no nearby stores. Units are as Dollar Tree reports them at the moment of the call. An unknown item or store number is a charged 404.

Stores near a ZIP (5 credits)

bash
curl -X POST https://api.scavio.dev/api/v1/dollartree/stores \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"zip": "60540"}'

Captured data (2026-11-25 UTC; 1 of 20 stores shown, hours cut to 1 of 7, notes dropped):

json
{
  "market": { "country": "us", "language": "en", "currency": "USD", "locale": "en-US" },
  "location": "60540",
  "total": 263,
  "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",
      "latitude": 41.77916091329374,
      "longitude": -88.1048094079519,
      "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 }],
      "reopen_date": null,
      "amenities": ["Frozen/Refrigerated Foods", "Snack Zone™", "Greeting Cards: Expressions from Hallmark", "Accepts EBT", "New Items, Great Value"],
      "accepts_ebt": true,
      "frozen_foods": true,
      "more_choices": true,
      "store_pickup": false,
      "pickup_and_delivery": ["In-Store Pickup", "Delivery"],
      "payment_options": ["American Express", "Cash", "MasterCard", "Visa"],
      "slug": "il/lisle/2709-maple-avenue",
      "url": "https://locations.dollartree.com/il/lisle/2709-maple-avenue"
    }
  ]
}

total is the number of stores Dollar Tree's locator counts around the place (263 here); 20 come back, in its order. store_number is the input of store-stock; slug and url are the input of store. 19 of the 20 read more_choices true (store 1340, Glen Ellyn, read false).

Newest reviews with syndication flags

bash
curl -X POST https://api.scavio.dev/api/v1/dollartree/reviews \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "206652"}'

Captured data (2026-11-25 UTC, 31 seconds; 2 of 97 reviews shown, notes dropped):

json
{
  "market": { "country": "us", "language": "en", "currency": "USD", "locale": "en-US" },
  "item_id": "206652",
  "item": { "name": "Crest Tartar Protection Toothpaste, 2.9 oz. Tubes", "url": "https://www.dollartree.com/crest-tartar-protection-toothpaste-29oz-tubes/206652" },
  "rating": 4.3,
  "review_count": 98,
  "rating_breakdown": [
    { "stars": 5, "count": 75, "percent": 76.5 },
    { "stars": 4, "count": 5, "percent": 5.1 },
    { "stars": 3, "count": 3, "percent": 3.1 },
    { "stars": 2, "count": 2, "percent": 2 },
    { "stars": 1, "count": 13, "percent": 13.3 }
  ],
  "recommended_count": 81,
  "not_recommended_count": 13,
  "total": 97,
  "count": 97,
  "sort": "newest",
  "reviews": [
    {
      "id": "249191960",
      "rating": 5,
      "rating_range": 5,
      "title": "Good for teeth",
      "text": "When I started using the tartar control toothpaste (back before all these other EXPENSIVE options were available), my teeth cleanings at the dentist went much better and faster.  So I know this works.  It is so hard to find any more (even on Crest's website it doesn't come up), so I'm happy Dollar Tree still carries it.",
      "date": "2026-04-01T18:23:21.000+00:00",
      "recommended": null,
      "syndicated": false,
      "syndication_source": null,
      "badges": [],
      "secondary_ratings": [],
      "helpful_votes": 0,
      "unhelpful_votes": 0,
      "locale": "en_US",
      "photos": [],
      "responses": []
    },
    {
      "id": "242826608",
      "rating": 5,
      "rating_range": 5,
      "title": "Great product!",
      "text": "I’ve been using this toothpaste for years. It’s exactly what I need, tarter control & cavity prevention with no harsh whitening chemicals. But now I can’t find this anywhere! I’m so upset. Please, please, please bring this back.",
      "date": "2021-02-27T18:35:56.000+00:00",
      "recommended": true,
      "syndicated": true,
      "syndication_source": "crest.com",
      "badges": [],
      "secondary_ratings": [],
      "helpful_votes": 0,
      "unhelpful_votes": 0,
      "locale": "en_US",
      "photos": [],
      "responses": []
    }
  ]
}

95 of the 97 reviews were syndicated from crest.com; the oldest read 2010-01-12. rating, review_count and rating_breakdown cover every rating of the item, ratings without text included, so review_count (98) can exceed total (97). There is no paging past the newest batch, no other sort and no star filter.

Search, category, brand, deals, categories, store and Canada

  • /search {"q": "paper plates"}: total 61, 48 per page, 2 pages; Heavy-Duty 10-in Ultra Paper Plates, 10-pc Pack. (380886) $1.50, case_price 36 for 24, minimum_quantity 24 first. Facets: Category, Product Availability, Average Rating And Up, Price (1.25: 32, 1.50: 26, 4.00: 2, 5.00: 1), Brand, Material Base, Finish Base, Dishwasher Safe, Microwave Safe, BPA Free. An item number as q answers with that item.
  • /category {"category": "3804024826"}: Christmas Decor, total 153, 4 pages, such as Christmas Theme Car Decor, Assorted Cars (355419) $7.00, $84.00 for 12, and Metal Mini Tree Decor (427551) $1.00, $36.00 for 36. An unknown category is a charged 404.
  • /brand {"brand": "Dixie"}: 6 items, all $4.00, such as Dixie Ultra Paper Bowls, 20 oz., 26-ct. (390704) $24.00 for 6 and Dixie Ultra Paper Plate, 20-pc Pack (412887) $160.00 for 40. Brand names are as Dollar Tree writes them; other_spellings lists the same brand under other spellings (send an id in filters). A brand Dollar Tree does not list is a charged 404.
  • /deals {} (type sale): 1 item that day, RUSSELL STOVER Christmas Milk Chocolate Marshmallow Candy Ornament, 1.3 oz. (405615) with price 1 and list_price 1.25, case_price 18 for 18, snap_eligible true. Dollar Tree publishes no validity dates. {"type": "more_choices"} reads MORE CHOICES, {"type": "new"} New Arrivals.
  • /categories {}: 16 departments with 520 categories in all, such as Party Supplies (4070223595), Holidays (2264625405) and MORE CHOICES (703144065). The tree includes seasonal categories that can be empty out of season.
  • /store {"slug": "ny/new-york/2182-3rd-avenue"}: store 5126, 3rd Avenue East Harlem, open 08:00-21:00 every day, holiday hours 08:00-17:00 on 2026-11-26, accepts_ebt true, frozen_foods true, and 4 nearby stores with addresses. An unknown store page is a charged 404.
  • Canada: /store {"slug": "on/toronto/2340-eglinton-ave-west", "country": "ca"}: store 40144, Westside Mall, Toronto, ON, currency null, accepts_ebt null, with nearby Canadian stores. No Canadian products or prices exist on any endpoint.

Python

python
import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

def dollartree(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/dollartree/{endpoint}", headers=HEADERS, json=body, timeout=300)
    r.raise_for_status()
    return r.json()

# 1. Items for a keyword, lowest unit price first (1 credit)
hits = dollartree("search", {"q": "paper plates", "sort": "price_low"})["data"]
for i in hits["items"][:5]:
    line = f'{i["item_id"]} {i["name"]} ${i["price"]:.2f} a unit'
    if i["case_price"] is not None:
        # Dollar Tree's own case figures; show the division.
        line += f' / ${i["case_price"]:.2f} for {i["case_pack"]} = ${i["case_price"] / i["case_pack"]:.2f}'
    print(line, "min", i["minimum_quantity"])

# 2. Stores near a ZIP (5 credits): store numbers for store-stock
stores = dollartree("stores", {"zip": "60540"})["data"]["stores"]
first = stores[0]
print(first["store_number"], first["address"]["city"], first["distance_miles"])

# 3. Units at that store and the stores nearby (1 credit, tens of seconds)
stock = dollartree("store-stock", {"item_id": "221159", "store": first["store_number"]})["data"]
print("store", stock["store"]["store_number"], stock["store"]["units"], stock["store"]["status"])
print("nearby in stock", stock["nearby_in_stock"], "of", len(stock["nearby_stores"]))
print("ship to home: up to", stock["ship_to_home"]["max_order_units"], "units, eta", stock["ship_to_home"]["eta"])

# Prices and units can change between calls. Store each answer with fetched_at
# and run this on a schedule: that stored series is your history (Dollar Tree
# shows only the current price and the current units).

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. Everything is fetched when the request asks for it; nothing is cached. Every data carries market {country, language, currency, locale} (USD, or null for a Canadian store page) and notes.

  • item (search, category, brand, deals) - position, item_id, name, brand, url, image, price, list_price, on_sale, unit_price_text, case_price, case_pack, minimum_quantity, split_case {available, multiple}, not_for_individual_sale, rating, review_count, online_availability, in_stock_online, in_store_only, clearance, new, snap_eligible, upcs, categories (names).
  • lists - page, page_size, total, total_pages, count, sort, filters_applied[] {facet, label, count}, resolved_filters[] {facet, requested, id, label, other_spellings}, price_range, items[], facets[] {key, name, multi_select, values[] {id, label, count}} (send id back in filters). Search adds query, corrected_query, category; category category_id, query, category (name); brand brand, brand_id, other_spellings[] {id, label, count}, category; deals type, query, category.
  • product - requested_item_id, item_id, name, brand, banner_code, url, image, images, description, long_description, price, list_price, sale_price, on_sale, unit_price_text, case_price, case_pack, minimum_quantity, split_case {available, multiple}, split_case_fee, not_for_individual_sale, varying_case_packs, assortment, assortment_details, upcs, rating, review_count, in_store_only, store_pickup_eligible, shippable, online_only, delivery_options, order_limit, clearance, new, deals, snap_eligible, gift_card, available_since, online_stock {status, in_stock, units, orderable_units}, specifications[] {name, value}, categories[] {id, name, dimension_id, url}, child_skus[] {sku_id, color, size, list_price, sale_price, sale_starts, sale_ends, active}, currency.
  • store-stock - item_id, item {name, url, price}, store {store_number, units, status, in_stock, unit_size}, nearby_stores[] {store_number, units, status, in_stock}, nearby_in_stock, ship_to_home {available, dc_number, cases, case_size, max_order_units, eta, express_eta, back_order}, ship_to_store {available, dc_number, units, cases, case_size, eta}, split_case_ship_to_home.
  • stores - location, total, count, stores[] {position, store_number, name, location_note, address {line1, line2, city, state, zip, country}, phone, latitude, longitude, distance_miles, closed, timezone, hours[] {day, open, close, closed}, holiday_hours[] {date, open, close, closed}, reopen_date, amenities, accepts_ebt, frozen_foods, more_choices, store_pickup, pickup_and_delivery, payment_options, slug, url}.
  • store - the store fields above without position and distance_miles, plus nearby_stores[] {store_number, address {line1, city, state, zip}, closed, slug, url}.
  • categories - category, parents, count, total_categories, categories[] {id, name, dimension_id, url, route, children[]}.
  • reviews - item_id, item {name, url}, rating, review_count, rating_breakdown[] {stars, count, percent}, recommended_count, not_recommended_count, total, count, sort, reviews[] {id, rating, rating_range, title, text, date, recommended, syndicated, syndication_source, badges, secondary_ratings[] {name, value, range}, helpful_votes, unhelpful_votes, locale, photos[] {url, thumbnail_url}, responses[] {text, date, department}}.

Guardrails

  • Name it "Dollar Tree (dollartree.com, the US and Canada discount variety store chain)" on first mention. Family Dollar is a separate company and is not read.
  • Prices: quote price as the online unit price at dollartree.com with the fetched_at date, and case_price with case_pack. Prices are one national online price: never call a price a store's or a ZIP's price, and never present it as the store shelf price (Dollar Tree says prices may vary between stores and online).
  • Report Dollar Tree's own price, list price, case price, units and flags plus the arithmetic. Never write that everything at Dollar Tree costs $1.25, never describe a price as an increase, a cut or shrinking packs, and never judge an item's quality or value.
  • Case and unit: show the case price, the units in the case and the division; quote minimum_quantity and split_case; never call split_case_fee a fee. Never compute a case price where case_pack or case_price is null.
  • Comparing Dollar Tree with Dollar General, Walmart, Target or Instacart: compare only the same item (same UPC), each with its date and its source, unit price against unit price. Instacart's prices are Instacart's, never Dollar Tree's shelf price. Never call one retailer cheaper beyond the numbers shown.
  • Stock: units as Dollar Tree reported them at the moment of the call; Scavio makes no promise of their accuracy. Never promise pickup, shipping or a delivery date.
  • Reviews: no reviewer names are returned. Say which reviews are syndicated and from where (syndication_source).
  • Not available: UPC search (use the item number), search suggestions, the weekly ad, deal validity dates, Quick Order or bulk ordering, gift cards, Canadian products and prices (Dollar Tree Canada has no shopping site), price history (poll and store), checkout, cart or ordering. This API cannot reserve, add to cart or buy.
  • Terms: Scavio does not collect or store Dollar Tree data: each call fetches the public Dollar Tree page at the moment the request asks for it and returns what it shows as JSON, with no response cache. Dollar Tree's terms of use cover how its site may be used (personal, non-commercial use); read the current terms for your use case and get your own advice. This is not legal advice. Do not republish Dollar Tree product photos or logos; link products by url instead.
  • Never fabricate prices, case packs, units, item numbers, store numbers, UPCs, hours, dates or ratings. Only return what the API returned, with the fetched_at time and the product url.

Failure handling

  • 400 means a missing or invalid parameter, and it is not charged: a country other than us or ca; ca on any endpoint but store; a language other than en; an item_id that is not a Dollar Tree item number (digits, or FD and digits); a url that is not a dollartree.com product link; store-stock without store, or a store that is not a store number; a state that is not two letters; a zip that is not a US ZIP; stores without zip or city, or a city without its state; store without url or slug, or a US store page with country ca (or a Canadian page without it); a category that is not a dimension_id or a dollartree.com category link; deals category with type new or more_choices; a filters value that is not a refinement id, or more than 10; a page outside 1-200 or page_size outside 1-250; an unknown sort or type; a rating outside 1-5; a price_point of 0 or less; min_price above max_price, or max_price at or below 0.05.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 402 means the balance is out of credits. The body carries billing_url.
  • 404 means not found, and it is charged: "Dollar Tree has no item <item_id> ...", "Dollar Tree has no item <item_id> or no store ...", "Dollar Tree has no category . ...", "Dollar Tree lists no brand named ...", "Dollar Tree has no store page .", "Dollar Tree found no place called .". Take item numbers, store numbers, category ids and filters from a previous answer rather than guessing them.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means Dollar Tree data was temporarily unavailable ("Dollar Tree is temporarily unavailable. Please try again.", "Dollar Tree store stock is temporarily unavailable. Please try again."). It is not charged, so retry after a few seconds.
  • 503 with a Retry-After header means Dollar Tree is busy ("Dollar Tree is busy right now. Please retry in a few seconds."): wait the Retry-After seconds and send it again. Not charged.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

SDKs

bash
pip install scavio==0.84.1
npm install scavio@0.85.1
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: hits } = await scavio.dollartree.search({ q: "paper plates", sort: "price_low" });
const { data: item } = await scavio.dollartree.product({ item_id: "221159" });
const { data: stores } = await scavio.dollartree.stores({ zip: "60540" });
const { data: stock } = await scavio.dollartree.storeStock({ item_id: "221159", store: "5126" });
const { data: store } = await scavio.dollartree.store({ slug: "ny/new-york/2182-3rd-avenue" });
const { data: canada } = await scavio.dollartree.store({ slug: "on/toronto/2340-eglinton-ave-west", country: "ca" });
const { data: decor } = await scavio.dollartree.category({ category: "3804024826", price_point: 1.25 });
const { data: tree } = await scavio.dollartree.categories();
const { data: dixie } = await scavio.dollartree.brand({ brand: "Dixie" });
const { data: more } = await scavio.dollartree.deals({ type: "more_choices" });
const { data: reviews } = await scavio.dollartree.reviews({ item_id: "206652" });

In Python (from scavio import ScavioClient, client = ScavioClient()) the same methods are client.dollartree.search(...), product, category, categories, brand, deals, store_stock, stores, store and reviews, with the same parameter names as keyword arguments.

MCP

The Scavio MCP server exposes all 10 endpoints as tools: search_dollartree, get_dollartree_product, get_dollartree_category, get_dollartree_categories, get_dollartree_brand, get_dollartree_deals, get_dollartree_store_stock, get_dollartree_stores, get_dollartree_store and get_dollartree_reviews. Dollar Tree is opt-in: add dollartree to SCAVIO_PLATFORMS.

json
{
  "mcpServers": {
    "scavio": {
      "command": "npx",
      "args": ["-y", "@scavio/mcp-server@0.84.1"],
      "env": {
        "SCAVIO_API_KEY": "sk_live_your_key",
        "SCAVIO_PLATFORMS": "default,dollartree"
      }
    }
  }
}

Docs

Full reference per endpoint: search, product, category, categories, brand, deals, store stock, stores, store, reviews. Overview: Dollar Tree API.

常见问题

Dollar Tree Bulk Prices Api AI 技能有什么作用?

Dollar Tree API,适用于 Dollar Tree(dollartree.com,美国和加拿大的折扣杂货连锁店)——查询 Dollar Tree 的批量价格和门店库存,包括网站所示整箱价格及拆分后的单件价格(9-in. White Paper Plates, 40-ct. 标价为每包 $1.50、每箱 30 包 $45.00,最低订购量为 5 箱)、最低订购量和拆箱订购倍数;查看 Dollar Tree 展示的价格档位(Christmas Decor 分类有 $1.00、$1.25、$1.50、$1.75、$3.00、$5.00、$7.00 和 $10.00)及其多价商品专区 MORE CHOICES;每件商品采用统一的全国线上价格(同一商品在 6 个州的 6 家门店均显示为 $1.50,整箱均为 $45.00);按门店编号查询单件商品的准确库存,并可查询附近约 63 家门店(纽约州 East Harlem 的 5126 号门店有 116 包,附近 63 家门店中有 59 家有货);查询送货上门的整箱商品及最多可订购数量和预计送达日期,也可选择送至门店;支持关键词和商品编号搜索,以及分类、品牌、促销、清仓、新品和 MORE CHOICES 列表;默认每页 48 条(最多 250 条),可翻至第 200 页;支持按相关性、价格、新品或评分排序,并按价格档位、品牌、评...

为什么在 TypingMind 中使用 Dollar Tree Bulk Prices Api?

因为您只需安装一次,就能搭配任何模型使用。Dollar Tree Bulk Prices Api 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Dollar Tree Bulk Prices Api?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scavio-ai/skills/tree/main/skills/dollar-tree-bulk-prices-api。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Dollar Tree Bulk Prices Api?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Dollar Tree Bulk Prices Api 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Dollar Tree Bulk Prices Api 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Dollar Tree Bulk Prices Api AI 技能免费吗?

是的。scavio-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇