Three steps: mint a key → search the catalog → show attributed buy links. Works from any MCP client or plain HTTP.
{
"mcpServers": {
"baydeep": { "url": "https://mcp.baydeep.com/mcp" }
}
}
Your client will list 11 tools. catalog_overview, flight_search, shelf_search, shelf_item work immediately — no key needed.
# unlock live AliExpress search + attributed links + commission share curl -X POST https://api.baydeep.com/v1/trial -H "Content-Type: application/json" -d '{}' # → { "key": "bd_xxxxxxxx", ... } (or click the button at # https://baydeep.com/console/ )
# keyless shelf search (MCP: shelf_search tool) curl "https://api.baydeep.com/v1/shelf?q=air%20fryer&page_size=5" # live AliExpress search with target currency (MCP: search_products, needs key) curl "https://api.baydeep.com/v1/search?q=air%20fryer&price_min=20&price_max=80" -H "X-API-Key: bd_xxx" # flights — keyless, book_url is already attributed curl "https://mcp.baydeep.com/" ... # or just call flight_search over MCP
Every item carries title / price / sales / rating / detail_url. Show them to your user.
# convert any aliexpress URL into YOUR tracked link (max 10 per call) curl -X POST https://api.baydeep.com/v1/convert -H "X-API-Key: bd_xxx" -H "Content-Type: application/json" -d '{"urls":"https://www.aliexpress.com/item/3256813111870438.html"}' # → { click_url: "https://s.click.aliexpress.com/ei/...", ... }
Give the click_url to your user. When they buy within the cookie window, the order appears in affiliate_orders with your share_amount (commission share on commission-eligible orders). Flights: book_url from flight_search is already yours.
shelf_search for repeated lookups — it's cached and keyless); present converted links, never raw URLs; rates & limits: 30 req/min.