Carrefour Brasil Api 标志

Carrefour Brasil Api

社区
scavio-ai
carrefour-brasil-api

Carrefour Brasil API,适用于 Carrefour Brasil(carrefour.com.br:食品杂货网站 mercado.carrefour.com.br,以及销售非食品商品和 marketplace 商品的 www 网站;通过 site 参数选择。仅限巴西,币种为 BRL,文本为葡萄牙语)——查看 Carrefour Brasil 某地区或自提门店的食品价格、非食品商品价格及卖家信息、支付优惠的减价金额,以及配送或自提至某个 CEP 的费用和时间;数据按未登录访客在网站上看到的内容显示。例如,2026 年 11 月 27 日,Arroz Branco Longo-fino Tipo 1 Tio Joao 1 Kg 按网站默认价格显示为 R$ 6.59,使用支付优惠后为 R$ 4.61(优惠 30%);配送至 Avenida Paulista 的某个 CEP 需 R$ 10.90,在 1.15 km 外的一家大型超市 Click & Retire 免费自提。针对该 CEP 的 arroz 搜索结果以一份 Seara 300g 料理开头,标价 R$ 12.49,原价 R$ 24.99。优惠券页面有 4 个代码,其中包括消费满 R$ 199 减 R$ 20。分别提供价格、标价、单次付款价格、折扣、是否有货标记、卖家、标识和赞助推广位。可按关键词或 EAN 搜索,也可浏览品类列表和专题合集(主题列表和优惠列表);每页 15 条,最多浏览至第 50 页,支持网站的 8 种排序,并可按任意筛选项和价格区间筛选;在 Mercado 上按 CEP 或自提门店显示价格。可查看单个商品的所有卖家、支付优惠、促销、按重量销售商品的每公斤价格、规格和变体;查看 CEP 对应的配送和自提选项、按州和城市筛选的自提门店、包含热门搜索的搜索建议、优惠券页面及部门菜单。共 9 个端点,每个端点消耗 1 个 credit。不提供库存数量、评论或价格历史。

概览

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

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Carrefour Brasil API - Regional Grocery Prices by CEP, Marketplace, Coupons, Delivery

Read Carrefour Brasil (carrefour.com.br: Mercado grocery + the www marketplace): keyword or EAN search, category listings and collections priced for a region or a pickup store, one product with every seller and payment offer, delivery and pickup options to a CEP, the pickup stores, search suggestions, the coupon page and the department menu. One site param picks mercado.carrefour.com.br (mercado, the default, grocery) or www.carrefour.com.br (www, non-food and the marketplace). Brazil only, BRL, Portuguese text, as shown to a visitor who is not signed in. This is not Carrefour France: for carrefour.fr use carrefour-api.

The job this skill is for: what an item costs at Carrefour Brasil today, for a region, and what delivery or pickup takes. On Mercado, prices and assortment change by region: send a cep (or a pickup store's store) and the answer is priced for it (price_scope regional); without one, the answer is the site's default prices (price_scope national). On 2026-11-27 Arroz Branco Longo-fino Tipo 1 Tio Joao 1 Kg (item 1972, EAN 7893500020110) read R$ 6.59 at the default prices, with a 30 percent payment offer giving R$ 4.61; delivery to CEP 01310-100 (Avenida Paulista) cost R$ 10.90 and pickup at Hipermercado Pamplona, 1.15 km away, was free the same day.

Seven 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.
  • Regional prices on Mercado only. cep or store apply to site mercado. www prices are national; there the CEP changes shipping and nothing else (/delivery). Say whether a price is regional (with the region) or national.
  • 15 a page, 50 pages. Search, category and collection return 15 items a page, up to page 50. Sponsored placements come in sponsored[], kept apart from items[].
  • Price layers as given. price is the offer the site shows, list_price the regular price, spot_price the single-payment (a vista) price. Payment-offer prices (payment_offers[].price) and weighed item prices are computed by Scavio from the site's percentage and weight, and are labelled so.
  • Availability is a flag. available is a yes / no from the site's offer; Carrefour Brasil publishes no unit counts.
  • Delivery is a quote, not a reservation. /delivery returns the site's options for one unit of one item from one seller to a CEP; it does not reserve stock.
  • No history and no reviews. Everything is the page at the moment of the call; Scavio keeps nothing. The site carries no reviews or questions. Poll and store your own series.

Carrefour Brasil has no public API for its catalog, prices or delivery. They are shown on carrefour.com.br to any visitor, and this skill reads those public pages with one Scavio key.

See also: Atacadao atacadao-api (the cash-and-carry chain of the same group, prices per store and quantity tier), Carrefour France carrefour-api, Mercado Libre mercadolibre-product-data (Brazil marketplace); Brazilian retail: Magazine Luiza magalu-magazine-luiza-api, Casas Bahia casas-bahia-api, Buscape + Zoom buscape-zoom-api (price comparison).

When to trigger

Use this skill when the user asks to:

  • Price a grocery item at Carrefour Brasil (Carrefour Mercado) for a CEP or a pickup store: price, list price, single-payment price, discount, stamps
  • Search carrefour.com.br by keyword (in Portuguese: "arroz", "cafe", "geladeira") or by EAN barcode, sorted by relevance, best selling, price, newest, discount or name, filtered by department, category, brand, seller or any listed attribute and a price range
  • Browse one Carrefour Brasil category by its path (/categoria/mercearia/alimentos-basicos/arroz) or one collection (a themed or deal list, /colecao/<id>)
  • Read one Carrefour Brasil product: every seller with its price, payment offers (a card or Pix price), promotions, price per kg for items sold by weight, specs, variants
  • See which marketplace sellers offer a non-food item on www.carrefour.com.br and at what price
  • Quote delivery and pickup for one item to a Brazilian CEP: options, cost, estimate, the nearest pickup stores with their hours
  • List the Carrefour pickup stores (Retire na Loja) in a state or city
  • Read the site's coupon codes, search suggestions, top searches or department menu

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. Mercado calls usually take 2-25 seconds and www calls up to about 50 seconds (in the captures, all on Mercado: product 1.3, delivery 1.5, coupons 2.0, categories 3.2, category 3.6, stores 3.8, suggestions 6.2, search 6.6, collection 10.3). Allow a client timeout of at least 120 seconds.

EndpointWhat it returnsCredits
POST /api/v1/carrefourbr/searchKeywords or an EAN: 15 items a page with price, list price, single-payment price, discount, availability flag, seller, seller count, stamps; sponsored placements apart; facets; the site's related terms1
POST /api/v1/carrefourbr/categoryOne category by path or link, with its breadcrumbs, same items, sorts, filters and facets as search1
POST /api/v1/carrefourbr/collectionOne collection (a themed or deal list, /colecao/<id>) by id or link, same items, sorts, filters and facets1
POST /api/v1/carrefourbr/productOne product by item id or link: EAN, every seller with price and payment offers, promotions, stamps, price per kg for items sold by weight, availability flag, description, specs, variants, images1
POST /api/v1/carrefourbr/deliveryDelivery and pickup options for one item from one seller to a CEP: cost, estimate, earliest date, scheduled flag, and the pickup stores near the CEP with their hours1
POST /api/v1/carrefourbr/storesThe Carrefour pickup stores (Retire na Loja) by state and city, with the store_id that prices Mercado for that store1
POST /api/v1/carrefourbr/suggestionsThe site's search suggestions as you type, the suggested products, and the top searches with their counts1
POST /api/v1/carrefourbr/couponsThe site's coupon page: code, value, name, expiry, the list a coupon applies to, rules1
POST /api/v1/carrefourbr/categoriesThe site's department menu, 3 levels, with the inputs of category, collection and filters1

Every answer carries site, store (Carrefour Mercado or the www name), host, country (br), currency (BRL) and language (pt-BR), and most carry notes.

Prices: price, list price, single-payment price and payment offers

FieldMeaning
priceThe offer the site shows, in BRL, from seller (R$ 12.49 on the Seara 300g dish for CEP 01310-100)
list_priceThe regular price (R$ 24.99)
spot_priceThe site's single-payment (a vista) price
discount_percentThe site's discount against the list price (50); 0 when none
stamps[]The site's promotion stamps as written, {text, type, image} ("30% DESC OFF")
measurement_unitun, or kg for items priced per kg (the Seara Fiesta chicken at R$ 37.48 per kg)
payment_offers[] (product){name, payment_method_id, discount_percent, price}: the site's price for one payment method, such as the Carrefour card or Pix (Brazil's instant payment); price is computed by Scavio from the site's percentage (30 percent: R$ 4.61)
promotions[] (product)Other site offers (quantity offers and similar) with their conditions and effects as given
weight (product)For items sold by weight: unit_multiplier, price_per_kg and item_price (computed by Scavio)
price_valid_until (product)The validity the site gives the price
region, price_scopeThe region the answer is priced for (cep, store_id, store, delivery_type, address) and regional or national
  • Quote "Arroz Branco Longo-fino Tipo 1 Tio Joao 1 Kg: R$ 6.59, sold by Carrefour, at the default (national) prices of mercado.carrefour.com.br on 2026-11-27", with the seller, the region or national scope and the date. Say a payment-offer price is Scavio's computation from the site's percentage, and for which payment method.
  • Report Carrefour Brasil's prices, stamps and dates and the arithmetic only. Never judge a price as a good deal.

Workflow

  1. Set the region (Mercado). Send cep (01310-100) for that region's prices and assortment, or store (a store_id from /stores) for a pickup store's. Check price_scope and region in the answer.
  2. Find the item. /search with query (keywords or an EAN), /category with a path from /categories or a list's breadcrumbs, or /collection with a collection_id (from /coupons, /categories or a /colecao/ link). Each item's item_id is the input of /product and /delivery.
  3. Narrow. Send any facets[].values[].filter back in filters ({"brand": "consul"}), up to 10 values, plus min_price / max_price in whole reais. Values of one key combine as any of them.
  4. One product. /product with item_id (or url), with the same cep or store: every seller, payment offers, promotions, weight pricing, specs and variants (each variant is its own item_id).
  5. Delivery and pickup. /delivery with item_id, a cep, and seller_id for a marketplace item on www (default 1, Carrefour itself): options with cost and estimate, and the pickup stores near the CEP with their hours.
  6. Coupons and lists. /coupons for the current codes; a coupon's collection_id is the list it applies to, readable with /collection.
  7. Watching prices: there is no history. Poll the same items in the same region on a schedule and store each answer with its fetched_at; that stored series is the history.

Parameters

Search (/search), category (/category) and collection (/collection)

ParameterDescription
query (search, required)Keywords in Portuguese, or an EAN barcode, 1-120 characters
path (category, required)A category path (/categoria/mercearia/alimentos-basicos/arroz, from /categories departments[].path or a list's breadcrumbs) or such a link
collection_id (collection, required)A collection id (29861, the number in a /colecao/<id> link, coupons[].collection_id, /categories collection_id) or such a link
sitemercado (default, mercado.carrefour.com.br) or www (www.carrefour.com.br)
cepOn mercado: a CEP (Brazilian postal code, 8 digits, dash optional) for that region's prices and assortment
storeOn mercado, instead of cep: a pickup store's store_id from /stores (8 digits, e.g. 01405002)
sortrelevance (default), orders_desc (best selling), price_asc, price_desc, release_desc (newest), discount_desc, name_asc, name_desc
filtersFacet filters from a previous answer's facets[].values[].filter ({"brand": "consul"}, {"category-2": ["geladeira"]}), or "key=value" strings; up to 10 values
min_price, max_pricePrice range in whole reais (BRL)
page1-50 (15 items a page)

A search with no items returns an empty 200. A category link or collection link on one host must be sent with that host's site.

Product (/product) and delivery (/delivery)

ParameterDescription
item_id (product: or url; delivery: required)The item id (items[].item_id, or the number at the end of a /produto/ link), e.g. 1972
url (product)A product link on either site (/produto/<name>-<item id>, or an older /<name>/p link)
sitemercado (default) or www
cep, store (product)As above: the region the product is priced for, on mercado
cep (delivery, required)The delivery CEP, e.g. 01310-100
seller_id (delivery)The seller (sellers[].seller_id from /product). Default 1, Carrefour itself; marketplace items on www need their seller's id

Stores (/stores), suggestions (/suggestions), coupons (/coupons) and categories (/categories)

ParameterDescription
state (stores)A two-letter state code (UF), e.g. SP
city (stores)A city (accents and case ignored), e.g. Porto Alegre
query (suggestions)What a shopper has typed, 1-80 characters; without it, the top searches alone
site (suggestions, coupons, categories)mercado (default) or www

Examples

One search item priced for a CEP

Request {"query": "arroz", "cep": "01310-100"} (1 credit): region {cep 01310-100, delivery_type residential, address "Avenida Paulista, Bela Vista - São Paulo"}, price_scope regional, total 43, total_pages 3, 15 items, suggestions [arroz, arroz marca carrefour 5 kg, arroz 1 kilo, ...], facets Departamento, Categoria, Subcategoria, Marca and "Vendido e Entregue por:". The first item:

json
{
  "position": 1,
  "product_id": "332574426",
  "item_id": "332590446",
  "name": "Arroz Carreteiro Na Panelinha Seara 300g",
  "brand": "Seara",
  "product_reference": "3496520",
  "categories": [["Congelados", "Pratos Prontos"], ["Congelados"]],
  "measurement_unit": "un",
  "price": 12.49,
  "list_price": 24.99,
  "spot_price": 12.49,
  "discount_percent": 50,
  "available": true,
  "seller": { "seller_id": "1", "name": "Carrefour" },
  "seller_count": 1,
  "variant_count": 1,
  "stamps": [],
  "sponsored": false,
  "international": false
}

Arroz Tipo 1 Seletto Tradicional 5kg read R$ 16.99 with the stamp "30% DESC OFF". One facet value: {"name": "Mercearia", "value": "mercearia", "count": 40, "selected": false, "filter": {"category-1": "mercearia"}}.

One product with a payment offer

Request {"item_id": "1972"} (1 credit, default prices), abridged:

json
{
  "item_id": "1972",
  "product_id": "1970",
  "name": "Arroz Branco Longo-fino Tipo 1 Tio João 1 Kg",
  "brand": "Tio João",
  "ean": "7893500020110",
  "measurement_unit": "un",
  "price": 6.59,
  "list_price": 6.59,
  "spot_price": 6.59,
  "discount_percent": 0,
  "available": true,
  "price_valid_until": "2027-11-27T18:24:43Z",
  "seller": { "seller_id": "1", "name": "Carrefour" },
  "payment_offers": [
    { "name": "FOODIN_CARTAO_CRF_ARROZ_30OFF", "minimum_quantity": null, "discount_percent": 30, "effects": { "PercentualDiscount": "30" }, "payment_method_id": "401", "price": 4.61 }
  ],
  "promotions": [],
  "dual_price": null,
  "weight": null,
  "price_scope": "national"
}

It also carried one seller in sellers[] (Carrefour, default), the breadcrumbs Mercearia > Alimentos Básicos > Arroz, a description, 4 specs and 1 image. payment_offers[].name is the site's own name for the offer, as given.

Delivery and pickup to a CEP

Request {"item_id": "1972", "cep": "01310-100"} (1 credit): address {Avenida Paulista, Bela Vista, São Paulo, SP}, can_deliver true, out_of_stock_for_region false, 2 options (abridged):

json
[
  { "group": "Entrega Normal", "name": "Normal", "channel": "delivery", "price": 10.9, "list_price": 10.9, "estimate": "2h", "earliest_date": { "day_of_week": "Amanhã", "day": "28", "month": "11", "month_name": "novembro" }, "scheduled": true, "pickup_store": null },
  { "group": "Retirar na loja com agendamento", "channel": "pickup-in-point", "price": 0, "list_price": 0, "estimate": "2h", "earliest_date": { "day_of_week": "Hoje", "day": "27", "month": "11", "month_name": "novembro" }, "scheduled": true, "pickup_store": { "name": "HIPERMERCADO PAMPLONA", "distance_km": 1.15, "opening_hours": ["Seg a Dom: 08:00h até 22:00h"] } }
]

Each pickup store also carries pickup_point_id and address {street, number, neighborhood, city, state, cep}.

Category, collection, stores, suggestions, coupons and categories

  • /category {"path": "/categoria/mercearia/alimentos-basicos/arroz", "sort": "orders_desc"}: category {category_id 3620, name Arroz, title "Arroz: branco, integral, japonês e mais"}, price_scope national, total 100 over 7 pages, first Arroz Branco Camil Tipo 1 5kg at R$ 23.99.
  • /collection {"collection_id": "29861"}: collection {collection_id 29861, name FOODIN_FIXO_NATAL (the site's internal name)}, total 94, first a Seara Fiesta seasoned frozen chicken priced per kg (measurement_unit kg) at R$ 37.48.
  • /stores {"state": "SP"}: 68 pickup stores in SP (of 135), each {store_id, name, street, neighborhood, city, state, cep}, Hiper Tamboré (Barueri, store_id 06460930) first; one had store_id null.
  • /suggestions {"query": "arroz"}: 5 terms (arroz, pointing to Mercearia > Alimentos Básicos > Arroz; arroz marca carrefour 5 kg; ...), 24 suggested products, top_searches leite (21,115), arroz (17,492), carrefour (13,871), panetone, cafe, ... (10).
  • /coupons {}: 4 coupons, e.g. BLACK10OFF "10% OFF em compras acima de R$499 - Limitado a R$2.000" (expires 2026-11-27) and CASALIMPA20 "R$20 OFF em compras acima de R$199" (expires 2027-12-30, collection_id 24365), each with its rules.
  • /categories {}: 15 departments and 673 nodes on Mercado (Bebidas, Mercearia, Hortifruti, Limpeza, Pet Care, ...); some entries link to other pages or to the www site (site says which).

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

# 1. Rice priced for a CEP in Sao Paulo, best selling first (1 credit)
hits = carrefourbr("search", {"query": "arroz", "cep": "01310-100", "sort": "orders_desc"})["data"]
print(hits["price_scope"], hits["region"])
for it in hits["items"]:
    print(it["name"], it["price"], it["list_price"], it["spot_price"], it["seller"]["name"])

# 2. One product for the same CEP, with its payment offers (1 credit)
p = carrefourbr("product", {"item_id": hits["items"][0]["item_id"], "cep": "01310-100"})["data"]
for po in p["payment_offers"]:
    print(po["name"], po["discount_percent"], po["price"])

# 3. Delivery and pickup to that CEP (1 credit)
d = carrefourbr("delivery", {"item_id": p["item_id"], "cep": "01310-100"})["data"]
for o in d["options"]:
    print(o["name"], o["channel"], o["price"], o["estimate"])

# Carrefour Brasil prices change by region and by 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 site, store, host, country, currency and language.

  • search / category / collection - query and suggestions (search), category {path, category_id, name, title, page_type, breadcrumbs} (category), collection {collection_id, name} (collection), filters, min_price, max_price, region, price_scope, total, page, page_size (15), total_pages, sort, count, items[] {position, product_id, item_id, name, brand, product_reference, url, categories, measurement_unit, price, list_price, spot_price, discount_percent, available, seller {seller_id, name}, seller_count, variant_count, stamps[], image, sponsored, international}, sponsored_count, sponsored[] (same fields plus placement), facets[] {key, name, type, values[] {name, value, count, selected, filter} or ranges[] {from, to, count} for price}, notes.
  • product - requested, item_id, product_id, name, brand, ean, product_reference, url, categories, breadcrumbs, measurement_unit, unit_multiplier, price, list_price, spot_price, discount_percent, available, price_valid_until, seller, sellers[] {seller_id, name, default, price, list_price, spot_price, available, price_valid_until, payment_offers, promotions}, payment_offers[], promotions[], stamps[], dual_price, weight, availability {available, unavailable_product}, description, specs[] {group, name, value}, variants[] {attribute, values[] {name, item_id, selected, image}}, images, international, region, price_scope, notes.
  • delivery - item_id, seller_id, requested_cep, cep, address, can_deliver, message, out_of_stock_for_region, minimum_order_value, option_count, options[] {group, name, channel (delivery or pickup-in-point), price, list_price, estimate, estimate_date, earliest_date {day_of_week, day, month, month_name}, scheduled, pickup_store}, pickup_stores[] {name, pickup_point_id, distance_km, opening_hours, address}, notes.
  • stores - state, city, total (every pickup store), count (the ones matching state and city), stores[] {store_id, name, street, neighborhood, city, state, cep}, notes.
  • suggestions - query, terms[] {term, attributes[] {key, label, value, value_label}}, products[] (list item fields), top_searches[] {term, count}, notes.
  • coupons - title, count, coupons[] {code, value, name, category, active, expires, expiration_date, link, collection_id, rules}, categories, terms, notes.
  • categories - count, node_count, departments[] {name, url, site, path, filters, collection_id, children[]}, notes.

Guardrails

  • Name it "Carrefour Brasil (carrefour.com.br: Mercado grocery + the www marketplace)" on first mention, and keep it apart from Carrefour France (carrefour.fr, carrefour-api). Carrefour Brasil accounts, carts and checkout are not read.
  • Prices: quote price with list_price where it differs, the seller, the site, the region (or "the site's default prices" when price_scope is national) and the fetched_at date, in BRL (R$). A regional price holds for that CEP or store only.
  • Computed prices: payment_offers[].price and weight.item_price are Scavio's arithmetic on the site's percentage and weight. Say so, name the payment method or offer as given, and never present them as a price the site printed.
  • Coupons: quote code, value, name, expiry and rules exactly as given. Never apply a coupon to a price yourself or say a coupon fits a basket.
  • Sponsored placements: sponsored[] are paid placements on the page; keep them apart from items[] and never present them as search ranking.
  • Availability: available is a flag. Never state or estimate a unit count. A delivery quote does not reserve stock.
  • Sellers: seller.name is Carrefour or the marketplace seller's business name as the site lists it. Refer to a seller by that name; do not profile the people behind a business.
  • Comparing Carrefour Brasil with Atacadao, Mercado Libre or another supermarket: compare the same product (EAN), pack size, region, payment method and date. Never call one retailer cheaper beyond the numbers shown.
  • Images and copy: do not republish Carrefour Brasil's product images or product copy; refer to items by item_id or EAN instead.
  • Not available: unit counts, reviews and questions (the site has none), price history (poll and store), account data, cart or checkout. This API cannot reserve or buy an item.
  • Terms: Scavio does not store Carrefour Brasil 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. Carrefour Brasil's terms of use restrict automated access to its site; read the current terms for your use case and get your own advice. This is not legal advice.
  • Never fabricate prices, sellers, coupons, delivery dates, EANs or stock flags. 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: "item_id or url is required"; "item_id must be a Carrefour item id: digits (items[].item_id, or the number at the end of a /produto/ link, e.g. 1972)."; "cep is required"; "cep must be a Brazilian CEP: 8 digits, e.g. 01310-100."; "Send cep or store, not both."; "cep and store apply to site mercado. www prices are national; ..."; "store must be a store_id from /carrefourbr/stores (8 digits, e.g. 01405002)."; "seller_id must be a seller id from /carrefourbr/product (sellers[].seller_id, e.g. 1 for Carrefour)."; "The link is on ; send site ..."; "Filter the price with min_price / max_price, not filters."; "filters takes at most 10 values."; "min_price must not be above max_price."; "state must be a two-letter Brazilian state (UF), e.g. SP.".
  • 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: "Carrefour has no product with item id on .", "Carrefour has no product with item id in this region (): the item is unknown or not sold there.", "Carrefour has no category on . Read /carrefourbr/categories for the category paths.", "Carrefour has no collection on (or it is empty there now).", "Carrefour has no pickup store with store_id . Read /carrefourbr/stores for the store ids.", "Carrefour does not recognize the CEP .". A search with no items is an empty 200.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 and 503 mean Carrefour Brasil data was temporarily unavailable ("Carrefour Brasil is temporarily unavailable. Please try again."; "Carrefour Brasil is busy right now. Please retry in a few seconds.", with Retry-After on a 503). They are not charged, so retry after a few seconds.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

SDKs

bash
pip install scavio==0.103.0
npm install scavio@0.104.0
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const { data: hits } = await scavio.carrefourbr.search({ query: "arroz", cep: "01310-100", sort: "orders_desc" });
const { data: rice } = await scavio.carrefourbr.category({ path: "/categoria/mercearia/alimentos-basicos/arroz", filters: { brand: "camil" } });
const { data: list } = await scavio.carrefourbr.collection({ collection_id: "29861" });
const { data: product } = await scavio.carrefourbr.product({ item_id: "1972", store: "01405002" });
const { data: quote } = await scavio.carrefourbr.delivery({ item_id: "1972", cep: "01310-100" });
const { data: stores } = await scavio.carrefourbr.stores({ state: "SP" });
const { data: typed } = await scavio.carrefourbr.suggestions({ query: "arroz" });
const { data: coupons } = await scavio.carrefourbr.coupons({});
const { data: menu } = await scavio.carrefourbr.categories({ site: "www" });

In Python (from scavio import ScavioClient, client = ScavioClient()) the same methods are client.carrefourbr.search(...), category, collection, product, delivery, stores, suggestions, coupons and categories, with the same parameter names as keyword arguments.

MCP

The Scavio MCP server exposes all 9 endpoints as tools: search_carrefourbr, get_carrefourbr_category, get_carrefourbr_collection, get_carrefourbr_product, get_carrefourbr_delivery, get_carrefourbr_stores, get_carrefourbr_suggestions, get_carrefourbr_coupons and get_carrefourbr_categories. Carrefour Brasil is opt-in: add carrefourbr to SCAVIO_PLATFORMS.

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

Docs

Full reference per endpoint: search, category, collection, product, delivery, stores, suggestions, coupons, categories. Platform page: scavio.dev/carrefourbr-api.

常见问题

Carrefour Brasil Api AI 技能有什么作用?

Carrefour Brasil API,适用于 Carrefour Brasil(carrefour.com.br:食品杂货网站 mercado.carrefour.com.br,以及销售非食品商品和 marketplace 商品的 www 网站;通过 site 参数选择。仅限巴西,币种为 BRL,文本为葡萄牙语)——查看 Carrefour Brasil 某地区或自提门店的食品价格、非食品商品价格及卖家信息、支付优惠的减价金额,以及配送或自提至某个 CEP 的费用和时间;数据按未登录访客在网站上看到的内容显示。例如,2026 年 11 月 27 日,Arroz Branco Longo-fino Tipo 1 Tio Joao 1 Kg 按网站默认价格显示为 R$ 6.59,使用支付优惠后为 R$ 4.61(优惠 30%);配送至 Avenida Paulista 的某个 CEP 需 R$ 10.90,在 1.15 km 外的一家大型超市 Click & Retire 免费自提。针对该 CEP 的 arroz 搜索结果以一份 Seara 300g 料理开头,标价 R$ 12.49,原价 R$ 24.99。优惠券页面有 4 个代码,其中包括消费满 R$ 199 减 R$ 20。分别提供价格、标价、单次付款价格、折扣、是否有货标记、卖家、标识和赞助推广位。可按关键词或 EAN...

为什么在 TypingMind 中使用 Carrefour Brasil Api?

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

如何在 TypingMind 中安装 Carrefour Brasil Api?

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

哪些 AI 模型可以使用 Carrefour Brasil Api?

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

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

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

Carrefour Brasil Api AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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