Dafiti Api 标志

Dafiti Api

社区
scavio-ai
dafiti-api

Dafiti API,适用于 Dafiti(dafiti.com.br,巴西时尚购物平台;仅限巴西,货币为 BRL,内容为葡萄牙语)——查询 Dafiti 今日的商品价格,包括运动鞋、连衣裙及其他时尚单品使用 Pix 支付和刷卡支付的价格、各尺码剩余库存、卖家及发货方,以及 Outlet 折扣;数据反映未登录访客在 dafiti.com.br 上看到的内容(2026-11-27,米色 Asics Gel 1130 男女同款运动鞋售价 R$ 389.99,刷卡价 R$ 410.52,最多分 8 期,原价 R$ 699.99;11 个尺码中有 4 个有库存——41 码剩 5 件,44 码剩 1 件,均为 Dafiti 自营库存;Asics 品牌列表有 1,575 件商品;Outlet 按折扣排序后有 199 件商品,其中一款儿童运动鞋售价 R$ 30.99,原价 R$ 99.90);返回售价、标价、折扣、Pix 价格、刷卡价、分期信息、赞助位及平台商品标记;支持关键词搜索,以及分类、品牌和 Outlet 列表;每页 48 件,另含网站赞助位,支持网站提供的 5 种排序方式;查询单个商品及卖家店铺、各尺码的准确库存(0 至 10 件,超过 10 件则显示为 10 件以上)、配送类型(Dafiti 自营库存、仓储配送或直运)、规格、详情和其他颜色;也可快速查询单个 SKU 的各尺码库存;按 SKU 查看商品页面展示的顾客评论,每页最多 100 条,支持按最新或最有帮助排序,以及筛选好评、差评、带图片或一星评价;返回星级分布图、评分、标题、正文、评论日期、关联订单日期、尺码与舒适度反馈、图片及店铺回复(2026-11-28,一款 Santa Lolla 运动鞋在 477 条评论中评分为 4.7,其中 397 条为五星),不含评论者姓名。共 7 个端点,每次调用消耗 1 个额度。搜索匹配较宽泛;平台卖家仅显示店铺名称;不提供运费报价、搜索建议或价格历史。

概览

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

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scavio-ai/skills/tree/main/skills/dafiti-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/dafiti-api .claude/skills/dafiti-api
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Dafiti API - Fashion Prices, Units per Size, Marketplace Stores, Outlet Deals, Reviews

Read Dafiti (dafiti.com.br, the Brazilian fashion marketplace): keyword search, category, brand and outlet listings, one product with its seller store, every size's units left and delivery type, specs and other colours, every size of one sku with its stock, and a product's customer reviews as its page shows them. www.dafiti.com.br only (Brazil, BRL, Portuguese text), as shown to a visitor who is not signed in.

The job this skill is for: what an item costs at Dafiti today, how many units each size has left, and who sells and ships it. Dafiti sells its own stock next to partner stores, and every size carries its own units and delivery type. On 2026-11-27 the Asics Gel 1130 unisex sneaker in beige (15221282, sku AS296SCU17ARY) read R$ 389.99, R$ 389.99 by Pix (Brazil's instant payment) and R$ 410.52 on card in up to 8 installments, against R$ 699.99 (44 percent off). 4 of its 11 sizes were in stock: 41 and 42 with 5 units each, 43 with 2 and 44 with 1, all from Dafiti's own stock, sold and delivered by Dafiti.

Six limits shape every answer, so say them plainly:

  • 1 credit per call, every endpoint. 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.
  • Units are exact from 0 to 10. units is the count the site gives up to 10; above that the site says "more than 10" (more_than_10 true, units null), not a count. Say so.
  • Prices as given. price is the selling price (the Pix price where pix_price is set), card_price the price on a card, list_price the price before the discount. /sizes quotes the plan from the size data, which can differ from the product page's card price.
  • Sellers by store name. On listings marketplace true only says a partner store sells the item; /product and /sizes name the store (store_name) and the delivery type.
  • Search matches loosely, and listings are slow. A search with no close match can still list related products. Listing pages usually take 15-160 seconds; allow a client timeout of at least 240 seconds.
  • No history or shipping; reviews from /reviews. Everything is the page at the moment of the call; Scavio keeps nothing. There are no shipping quotes or search suggestions, and only dafiti.com.br (Brazil). /reviews returns the reviews with the rating summary (they can lag the product page by up to 4 hours; reviewer names are never returned). Poll and store your own series.

Dafiti publishes no developer API for its catalog, prices or stock. Prices, sizes and sellers are shown on dafiti.com.br for each item, and this skill reads those public pages with one Scavio key.

See also: C&A Brasil cea-brasil-api, Lojas Renner lojas-renner-api, Netshoes netshoes-api, Centauro centauro-api, Enjoei enjoei-api (second-hand fashion), Mercado Libre mercadolibre-product-data (Brazil marketplace), Zara zara-api, ASOS asos-api.

When to trigger

Use this skill when the user asks to:

  • Price an item at Dafiti: price, list price, discount, Pix price, card price and installments
  • Search dafiti.com.br by keyword (in Portuguese: "tenis", "vestido", "bota feminina"), sorted by popularity, newest, price or discount
  • List a Dafiti department or category (calcados-femininos, calcados-femininos/tenis) or a brand (asics, nike, farm-rio)
  • Read the Dafiti outlet, the site's own selection of discounted products
  • Read one product: seller store, availability, every size with its units left and delivery type, specs, details, other colours and campaigns
  • Check every size of one sku for stock, quickly
  • See whether Dafiti or a partner store sells and ships an item (own stock, fulfillment by Dafiti, or drop shipping by the store)
  • Read a Dafiti product's customer reviews and star histogram: newest or most helpful, positive, negative, with photos or one star rating, with the size and comfort answers

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, 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.

EndpointWhat it returnsCredits
POST /api/v1/dafiti/searchKeywords: 48 results per page plus the site's sponsored slots, with total, price, list price, discount, Pix price, card price, installments, categories, sponsored and marketplace flags1
POST /api/v1/dafiti/categoryA department or category by path (calcados-femininos/tenis) or link, same items and sorts, plus breadcrumbs1
POST /api/v1/dafiti/brandA brand by its link name (asics), same items and sorts, plus breadcrumbs1
POST /api/v1/dafiti/dealsThe outlet, the site's own selection of discounted products, same items and sorts1
POST /api/v1/dafiti/productOne product by product id, sku or link: availability, prices, installment, rating, seller store, every size with units, delivery type and store, other colours, categories, campaigns, specs, details and images1
POST /api/v1/dafiti/sizesEvery size of one sku with its stock, units, delivery type and store, plus price, list price and installment; faster than product1
POST /api/v1/dafiti/reviewsOne product's customer reviews by sku (or product id or link, slower), as the product page shows them: up to 100 per page, sorted newest or most helpful, filtered positive, negative, with photos or one star rating, with the star histogram and positive, negative and with-photo counts1

Brazil only: there is no country parameter. Every answer carries store (dafiti), country (br), currency (BRL) and language (pt-BR), and most carry notes.

Prices: price, Pix price, card price and installments

FieldMeaning
priceThe selling price, in BRL (the Pix price where pix_price is set): R$ 389.99 on the Gel 1130 below
pix_priceThe Pix price where the site shows one (null otherwise)
card_priceThe price on a card (R$ 410.52), payable in up to max_installments installments (8)
list_priceThe price before the discount (R$ 699.99)
discount_percentThe discount, as the site gives it (44)
installment (product, sizes){count, amount}: the plan the page or the size data quotes (/sizes: 7x R$ 55.71)
  • Quote "Tenis Unissex Asics Gel 1130 Bege: R$ 389.99 by Pix, R$ 410.52 on card (list R$ 699.99), sold by Dafiti, on dafiti.com.br on 2026-11-27", with the seller and the date.
  • Quote every price and plan exactly as given; /sizes and /product can quote different plans. Never compute a Pix discount or an installment, and never judge a price as a good deal.

Workflow

  1. Find products. /search with query (tenis), /category with category (calcados-femininos/tenis, or a path from breadcrumbs[].url), /brand with brand (asics), or /deals for the outlet. Each item's sku is the input of /sizes and /product; product_id works for /product.
  2. Sort and page. sort (popularity, newest, price_asc, price_desc, discount) and page 2, 3, ... has_more false means the last page. sponsored items are the site's sponsored slots on top of the 48 results.
  3. One product. /product with product_id (15221282), sku (AS296SCU17ARY) or url: the seller store and every size.
  4. Stock check. /sizes with sku (or one size's sku, AS296SCU17ARY-52, which also returns requested_size): every size's units and delivery type, faster than /product.
  5. Reviews. /reviews with sku (fastest; product_id or url also work, slower, same credit); page 2, 3, ... while has_more is true.
  6. Watching prices and stock: there is no history. Poll the same listings and skus on a schedule and store each answer with its fetched_at; that stored series is the history.

Parameters

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

ParameterDescription
query (search, required)Keywords in Portuguese, 1-100 characters
category (category, required)A department or category path of 1 to 3 levels as the site writes it (calcados-femininos, calcados-femininos/tenis; breadcrumbs[].url), or its dafiti.com.br link
brand (brand, required)A brand as the site writes it in its link (asics, nike, farm-rio), or its dafiti.com.br link
sortpopularity (default), newest, price_asc, price_desc, discount: the site's 5 sorts
page1-2000 (48 results per page plus the sponsored slots)

/deals takes sort and page only (the outlet). A search with no products returns an empty 200.

Product (/product) and sizes (/sizes)

/product takes exactly one of product_id (the number at the end of a Dafiti product link, items[].product_id, e.g. 15221282), sku (items[].sku or one size's sizes[].sku, e.g. AS296SCU17ARY) or url (a dafiti.com.br product link, https://www.dafiti.com.br/<name>-<id>.html). /sizes takes sku.

Reviews (/reviews)

ParameterDescription
skuThe Dafiti sku (items[].sku, SA232SHF08PKSX; a size sku works too): the fastest way in
product_idThe number at the end of a Dafiti product link, instead of sku: the product page is read for the sku (slower, same credit)
urlA dafiti.com.br product link, instead of sku (slower, same credit)
pageReviews page, 1-200 (default 1)
per_pageReviews per page, 1-100 (default 20)
sortnewest (default) or most_helpful (the most helpful votes at the top)
filterall (default), positive (ratings 3-5), negative (ratings 1-2) or with_photos
ratingOnly the reviews with this star rating, 1-5. Send rating or filter, not both

Send one of sku, product_id or url.

Examples

One search item

Request {"query": "vestido"} (1 credit): total 19233, total_pages 401, 54 items of which 12 sponsored, 38 with marketplace true. One item:

json
{
  "position": 1,
  "sku": "LA906APF89VULA",
  "product_id": "15463110",
  "name": "Vestido Super Midi Canelado Sem Mangas Cinza",
  "brand": "Lança Perfume",
  "color": "Cinza",
  "price": 120.75,
  "list_price": 483,
  "discount_percent": 75,
  "pix_price": null,
  "card_price": 120.75,
  "max_installments": 2,
  "categories": ["Roupas", "Roupas Femininas", "Vestidos", "Vestido Curto"],
  "sponsored": true,
  "marketplace": true
}

The item also carried url and image. marketplace true says a partner store sells it; the store's name comes from /product or /sizes.

One product

Request {"product_id": "15221282"} (1 credit), abridged to three sizes:

json
{
  "sku": "AS296SCU17ARY",
  "product_id": "15221282",
  "name": "Tênis Unissex Asics Gel 1130 Bege",
  "brand": "Asics",
  "color": "Bege",
  "availability": "limited",
  "price": 389.99,
  "list_price": 699.99,
  "discount_percent": 44,
  "pix_price": 389.99,
  "card_price": 410.52,
  "max_installments": 8,
  "seller": { "store_name": "Dafiti", "sold_by_dafiti": true, "delivered_by_dafiti": true },
  "store_names": ["Dafiti"],
  "size_count": 11,
  "sizes_in_stock": 4,
  "sizes": [
    { "size": "40", "sku": "AS296SCU17ARY-54", "in_stock": false, "units": 0, "more_than_10": false, "stock_message": "Esgotado", "delivery_type": "proprio", "sold_by_dafiti": true, "delivered_by_dafiti": true, "store_name": "Dafiti" },
    { "size": "41", "sku": "AS296SCU17ARY-52", "in_stock": true, "units": 5, "more_than_10": false, "stock_message": "restam 5 itens", "delivery_type": "proprio", "sold_by_dafiti": true, "delivered_by_dafiti": true, "store_name": "Dafiti" },
    { "size": "44", "sku": "AS296SCU17ARY-44", "in_stock": true, "units": 1, "more_than_10": false, "stock_message": "resta 1 item", "delivery_type": "proprio", "sold_by_dafiti": true, "delivered_by_dafiti": true, "store_name": "Dafiti" }
  ]
}

The product also carried sizes 34 to 44 (34 to 40 sold out, 42 with 5 units, 43 with 2), rating and review_count null, 5 categories, 5 breadcrumbs, 6 specs (Ocasião de uso: Casual, Fechamento: Cadarço, País de origem: Indonesia, ...), 4 details (Composição: Têxtil, Medidas da peça: Sola com 5cm, ...) and 6 images.

Sizes, brand, category and outlet

  • /sizes {"sku": "AS296SCU17ARY"}: the same 11 sizes and units, installment {"count": 7, "amount": 55.71} (the size data's plan; the product page showed up to 8 on card), in 1.4 seconds.
  • /brand {"brand": "asics"}: title Tênis Asics, total 1575, first the Asics Gel Sonoma TR62 men's sneaker at R$ 549.99 by Pix and R$ 578.94 on card (up to 10 installments) against R$ 899.99.
  • /category {"category": "calcados-femininos/tenis"}: title Tênis Feminino, total 13098, breadcrumbs Feminino > Calçados Femininos > Tênis.
  • /deals {"sort": "discount"}: the outlet, total 199, first a Tricae children's high-top sneaker at R$ 30.99 against R$ 99.90 (69 percent off), no sponsored slots.

Reviews

Request {"sku": "SA232SHF08PKSX"} (1 credit): product_name Tênis Santa Lolla Recortes Preto, rating {"average": 4.7, "count": 477, "histogram": {"1": 17, "2": 5, "3": 18, "4": 40, "5": 397}}, review_counts {"total": 477, "positive": 455, "negative": 22, "with_photos": 6}, count 20, has_more true, newest first. One review:

json
{
  "id": "35883827",
  "rating": 5,
  "title": null,
  "text": "Muito versátil.",
  "date": "2026-08-03",
  "purchase_date": "2026-07-22",
  "recommends": null,
  "helpful_votes": 0,
  "unhelpful_votes": 0,
  "photos": [],
  "attributes": [
    {
      "name": "Tamanho",
      "answer": "Ideal"
    },
    {
      "name": "Conforto",
      "answer": "Confortável"
    },
    {
      "name": "Custo Benefício",
      "answer": "Ótimo"
    },
    {
      "name": "Leveza",
      "answer": "Leve"
    }
  ],
  "store_reply": null,
  "imported": false,
  "influencer": false
}

No reviewer name is returned. attributes are the store's follow-up questions with the customer's answer.

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 dafiti(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/dafiti/{endpoint}", headers=HEADERS, json=body, timeout=240)
    r.raise_for_status()
    return r.json()

# 1. Asics, deepest discount first (1 credit; listings are slow)
hits = dafiti("brand", {"brand": "asics", "sort": "discount"})["data"]
for it in hits["items"][:5]:
    print(it["name"], it["price"], it["list_price"], it["discount_percent"], it["marketplace"], it["sku"])

# 2. Every size of the first one, with units and seller store (1 credit)
sizes = dafiti("sizes", {"sku": hits["items"][0]["sku"]})["data"]
for s in sizes["sizes"]:
    left = "more than 10" if s["more_than_10"] else s["units"]
    print(s["size"], left, s["delivery_type"], s["store_name"])

# Dafiti prices and stock change during the day. Store each answer with
# fetched_at and run this on a schedule: that stored series is your history.

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. Each call fetches the page when the request asks for it. Every data carries store, country, currency and language.

  • search / category / brand / deals - query (search), category, url and breadcrumbs[] {name, url} (category), brand, url and breadcrumbs (brand), deal and url (deals), title, page, page_size (48), total, total_pages, has_more, count, sponsored_count, sort, items[] {position, sku, product_id, name, brand, color, url, image, price, list_price, discount_percent, pix_price, card_price, max_installments, categories, sponsored, marketplace}, notes.
  • product - requested, sku, product_id, name, brand, color, url, availability (in_stock, limited, out_of_stock), price, list_price, discount_percent, pix_price, card_price, max_installments, installment {count, amount}, rating, review_count, seller {store_name, sold_by_dafiti, delivered_by_dafiti}, store_names, size_count, sizes_in_stock, sizes[] {size, sku, in_stock, units, more_than_10, stock_message, delivery_type (proprio, fulfillment, drop_shipping), sold_by_dafiti, delivered_by_dafiti, store_name}, colors[] {sku, product_id, name, color, url, image, price, list_price}, categories, campaigns, breadcrumbs, specs[] {name, value}, details[] {name, value}, images, notes. The reviews come from /reviews. No marketing description or shipping quote.
  • sizes - requested, requested_size, sku, product_id, name, brand, color, url, price, list_price, discount_percent, installment, store_names, size_count, sizes_in_stock, sizes[] (as above), colors, categories, campaigns, notes.
  • reviews - requested, sku, page, per_page, sort, filter, rating_filter, total (the reviews matching the request, from the rating summary), has_more, count, product_name, rating {average, count, histogram {1-5}}, review_counts {total, positive (ratings 3-5), negative (ratings 1-2), with_photos}, reviews[] {id, rating, title, text (null when the review has stars but no text), date, purchase_date (the date of the order the review is linked to), recommends, helpful_votes, unhelpful_votes, photos[] {image, thumbnail}, attributes[] {name, answer}, store_reply, imported, influencer}, notes. No reviewer names or questions and answers.

Guardrails

  • Name it "Dafiti (dafiti.com.br, the Brazilian fashion marketplace)" on first mention. Dafiti accounts, carts and checkout are not read or made.
  • Prices: quote price, pix_price (where set), card_price and list_price with the seller and the fetched_at date, in BRL (R$). Never compute a Pix discount or an installment.
  • Stock: units is exact from 0 to 10; when more_than_10 is true, say "more than 10 units", never a number. Units are the online count for that size and store, not store stock.
  • Delivery type: proprio is Dafiti's own stock, fulfillment a partner store's stock delivered by Dafiti, drop_shipping an item sent by the partner store. Quote it as given.
  • Sellers: name a marketplace seller only by store_name, the store's name as /product or /sizes gives it. Never look for or name a person behind a store.
  • Search: the site matches loosely, so check that a result really is the item asked for before quoting it. sponsored items are paid slots; say so when ranking.
  • Use: Dafiti's terms of use bar data-mining software. Keep any use descriptive (prices, sizes and stock as facts with their date); do not republish Dafiti's product photos, page copy or links to its pages, and refer to products by sku and product_id.
  • Comparing Dafiti with C&A Brasil, Renner or another store: compare the same product, size, seller and date. Never call one store cheaper beyond the numbers shown.
  • Reviews: quote rating, date and the store's own summary figures as facts with the fetched_at date. text and title are the customer's own words: quote a short excerpt where it answers the question, never republish review bodies in bulk, and never invent or merge one. purchase_date is the date of the order the review is linked to; describe it in exactly those words, never as more. Reviewer names are never returned; never look for the person behind a review. imported marks a review the store brought in from another source, influencer one the store marks as from an influencer: say so when it matters. Reviews can lag the product page by up to 4 hours.
  • Not available: questions and answers, reviewer names, shipping quotes by CEP, search suggestions, deal start and end dates, price history (poll and store), Dafiti's other countries, account data, cart or checkout. This API cannot buy or reserve anything.
  • Terms: Scavio does not store Dafiti data: each call fetches the public page at the moment the request asks for it and returns what it shows as JSON, with no response cache. Dafiti's terms of use cover how its site and content may be used; read the current terms for your use case and get your own advice. This is not legal advice.
  • Never fabricate prices, units, sellers or delivery types. Only return what the API returned, with the fetched_at time.

Failure handling

  • 400 means a missing or invalid parameter, and it is not charged: "product_id, sku or url is required"; "Pass one of product_id, sku or url (got ...)."; "category must be a department or category path of 1 to 3 levels as the site writes it (e.g. calcados-femininos or calcados-femininos/tenis)."; "brand must be a brand as the site writes it in its link (e.g. asics, nike, farm-rio)."; "url must be a dafiti.com.br product link (https://www.dafiti.com.br/-.html)."; "sku, product_id or url is required"; "Pass rating or filter, not both."
  • 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 1 credit: "Dafiti has no product for this id.", "Dafiti has no product with sku (items[].sku).", "Dafiti has no size for sku (sizes[].sku).", "Dafiti has no product listing at .", "Dafiti has no brand page for .", "Dafiti has no reviews page for sku (an unknown sku: pass items[].sku)." Some unknown skus answer 200 with no reviews (count 0, charged). A search with no products is an empty 200, not a 404.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 and 503 mean Dafiti data was temporarily unavailable ("Dafiti is temporarily unavailable. Please try again.", with Retry-After on a 503). They are not charged, so retry after a few seconds. When the size data alone is unavailable, /product still answers with sizes null and a note; call /sizes again.
  • Listing pages usually take 15-160 seconds (in the captures 4-16 seconds), the product 6-35 seconds, sizes 2-15 seconds, reviews 2-20 seconds by sku and 10-70 seconds by product id or link. Allow a client timeout of at least 240 seconds.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

SDKs

bash
pip install scavio==0.106.0
npm install scavio@0.107.0
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: hits } = await scavio.dafiti.search({ query: "tenis", sort: "price_asc" });
const { data: sneakers } = await scavio.dafiti.category({ category: "calcados-femininos/tenis" });
const { data: asics } = await scavio.dafiti.brand({ brand: "asics", sort: "discount" });
const { data: outlet } = await scavio.dafiti.deals({ sort: "discount" });
const { data: item } = await scavio.dafiti.product({ product_id: "15221282" });
const { data: sizes } = await scavio.dafiti.sizes({ sku: "AS296SCU17ARY" });
const { data: reviews } = await scavio.dafiti.reviews({ sku: "SA232SHF08PKSX", rating: 1 });

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

MCP

The Scavio MCP server exposes all 7 endpoints as tools: search_dafiti, get_dafiti_category, get_dafiti_brand, get_dafiti_deals, get_dafiti_product, get_dafiti_sizes and get_dafiti_reviews. Dafiti is opt-in: add dafiti to SCAVIO_PLATFORMS.

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

Docs

Full reference per endpoint: search, category, brand, deals, product, sizes, reviews. Platform page: scavio.dev/dafiti-api.

常见问题

Dafiti Api AI 技能有什么作用?

Dafiti API,适用于 Dafiti(dafiti.com.br,巴西时尚购物平台;仅限巴西,货币为 BRL,内容为葡萄牙语)——查询 Dafiti 今日的商品价格,包括运动鞋、连衣裙及其他时尚单品使用 Pix 支付和刷卡支付的价格、各尺码剩余库存、卖家及发货方,以及 Outlet 折扣;数据反映未登录访客在 dafiti.com.br 上看到的内容(2026-11-27,米色 Asics Gel 1130 男女同款运动鞋售价 R$ 389.99,刷卡价 R$ 410.52,最多分 8 期,原价 R$ 699.99;11 个尺码中有 4 个有库存——41 码剩 5 件,44 码剩 1 件,均为 Dafiti 自营库存;Asics 品牌列表有 1,575 件商品;Outlet 按折扣排序后有 199 件商品,其中一款儿童运动鞋售价 R$ 30.99,原价 R$ 99.90);返回售价、标价、折扣、Pix 价格、刷卡价、分期信息、赞助位及平台商品标记;支持关键词搜索,以及分类、品牌和 Outlet 列表;每页 48 件,另含网站赞助位,支持网站提供的 5 种排序方式;查询单个商品及卖家店铺、各尺码的准确库存(0 至 10 件,超过 10 件则显示为 10 件以上)、配送类型(Dafiti 自营库存、仓储配送或直运)、规格、详情和其他颜色;也可快速查询单个 SKU 的各尺码库...

为什么在 TypingMind 中使用 Dafiti Api?

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

如何在 TypingMind 中安装 Dafiti Api?

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

哪些 AI 模型可以使用 Dafiti Api?

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

Dafiti Api 可以搭配多少个 AI 模型使用?

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

Dafiti Api AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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