BayDeep — E-commerce MCP Gateway
v1.0.1E-commerce MCP gateway: live product deals, attributed buy links, order tracking, flights.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mint_free_key
SELF-SERVE a free API key — NO signup, NEVER expires, unlocks ALL tools (live AliExpress search, hot products, attributed convert links, your orders). Call this FIRST if any other tool says a key is required. Store the returned key and send it as X-API-Key header (or Authorization: Bearer) on subsequent calls. Rate limit: 30 req/min. Attribution is bound to this key. Optional client_ref ([A-Za-z0-9-], <=40) = your own end-user id, echoed back on your orders.
| Parameter | Type | Description |
|---|---|---|
client_ref | string | optional: your stable anonymized end-user id ([A-Za-z0-9-], <=40) |
search_products
LIVE AliExpress affiliate product search (100M+ item pool, ships to 200+ countries; prices in the target currency). Consumes platform quota — do not poll; prefer shelf_search for repeated lookups. Returns items with price, coupon, sales, rating, commission_rate and detail_url. Read-only. Requires a free API key.
| Parameter | Type | Description |
|---|---|---|
q * | string | |
category_id | string | |
currency | string | |
language | string | |
page | number | |
page_size | number | |
ship_to | string | ISO country code, default US |
sort | string | SALE_PRICE_ASC | SALE_PRICE_DESC | AVERAGE_RATE_ASC | AVERAGE_RATE_DESC | ORDINAL_ASC | ORDINAL_DESC |
hot_products
LIVE AliExpress hot-selling products (no keyword; optional category). Good for "what's trending" / deal feeds. Consumes platform quota. Read-only. Requires a free API key.
| Parameter | Type | Description |
|---|---|---|
category_id | string | |
currency | string | |
language | string | |
page | number | |
page_size | number | |
ship_to | string |
product_detail
Full detail for up to 10 AliExpress product ids (comma separated or array). Read-only. Requires a free API key.
| Parameter | Type | Description |
|---|---|---|
product_ids * | string | comma separated ids, max 10 |
convert_link
Convert any aliexpress.com product/shop/search URL(s) into YOUR affiliate-attributed link(s) (max 10 per call). ALWAYS run items through this before presenting a buy link — attribution is how agent-driven purchases are tracked. Requires a free API key.
| Parameter | Type | Description |
|---|---|---|
urls * | string | comma separated URLs, max 10 |
link_type | number | 2=short link (default), 0=original |
affiliate_orders
YOUR attributed affiliate orders in a time range (source for your commission settlement & refund tracking). Orders are filtered to your key's tracking_id; each order carries share_eligible + share_amount and the page ends with share_summary — each order carries share_eligible and share_amount fields. Requires a free API key.
| Parameter | Type | Description |
|---|---|---|
end_time | string | DEFAULT: now |
page | number | |
page_size | number | |
start_time | string | ISO 8601 or yyyy-MM-dd HH:mm:ss (UTC assumed). DEFAULT: 90 days ago |
status | string | PENDING | PAID | CLOSED ... |
categories
AliExpress affiliate category tree (for building category filters or browse UX). Requires a free API key.
catalog_overview
WHAT BAYDEEP SELLS: product types currently in the catalog (physical goods from AliExpress, flight fares via Travelpayouts/Aviasales), item counts, top categories, and HOW to search/book each type. Call this FIRST when unsure what the catalog contains. Works WITHOUT any API key. Read-only.
flight_search
Search FLIGHT FARES in the catalog (Aviasales/Travelpayouts partners, fares refreshed daily). Filter by origin/destination IATA code (e.g. PEK, JFK, SIN) and optional departure date (YYYY-MM-DD). Items sorted by price; book_url is ALREADY affiliate-attributed — link the user straight to it (no convert_link needed). Works WITHOUT any API key. Read-only.
| Parameter | Type | Description |
|---|---|---|
date | string | departure date YYYY-MM-DD (optional) |
destination | string | destination IATA code, e.g. SIN |
origin | string | origin IATA code, e.g. PEK |
page_size | number |
shelf_search
Search the LOCAL shelf — physical goods (AliExpress) AND flight fares (Travelpayouts). No platform quota consumed — works WITHOUT any API key (30 req/min per IP). sort=relevance(default when q given)|price|sales|latest; price_min/price_max filter. Goods items carry detail_url (attribute via convert_link with a free key); flight items carry book_url directly. Read-only.
| Parameter | Type | Description |
|---|---|---|
page | number | |
page_size | number | |
price_max | number | |
price_min | number | |
q | string | |
sort | string |
shelf_item
Get one LOCAL shelf item by goods_id (full normalized fields; works for goods and flight fares). Works WITHOUT any API key. Read-only.
| Parameter | Type | Description |
|---|---|---|
goods_id * | string |