Convert

Paste any agent or raw marketplace link - we detect the platform and product id, then fan it out to every supported agent in one call.

Supports 15 agents - KakoBuy, CNFans, ACBuy, MuleBuy, HooBuy, OopBuy, CNShopper, OOTDBuy, Superbuy, Sugargoo, CSSBuy, PonyBuy, LoongBuy, USFans and LitBuy - plus the raw weidian, taobao, 1688 and tmall links.

GET/v1/convert

Parameters

urlreqstringAny agent or raw platform product link.
agentsstring[]Restrict output to specific agents (default: all).

Example

request
curl "https://repsapi.pl/v1/convert?url=https://www.acbuy.com/product?id=7779617259%26source=WD" \
  -H "Authorization: Bearer YOUR_KEY"
200 · response
{
  "platform": "weidian",
  "id": "7779617259",
  "canonical": "https://weidian.com/item.html?itemID=7779617259",
  "agents": {
    "kakobuy": "https://www.kakobuy.com/item/details?url=https%3A%2F%2Fweidian.com%2Fitem.html%3FitemID%3D7779617259",
    "cnfans": "https://cnfans.com/product?id=7779617259&platform=WEIDIAN&searchInfo=https%3A%2F%2Fweidian.com%2Fitem.html%3FitemID%3D7779617259",
    "acbuy": "https://www.acbuy.com/product?id=7779617259&source=WD",
    "mulebuy": "https://mulebuy.com/product?id=7779617259&platform=WEIDIAN&searchInfo=https%3A%2F%2Fweidian.com%2Fitem.html%3FitemID%3D7779617259",
    "hoobuy": "https://www.hoobuy.com/product/2/7779617259",
    "cssbuy": "https://www.cssbuy.com/item-micro-7779617259.html",
    "…": "15 agents in total"
  },
  "source": "repsapi.pl",
  "docs": "https://repsapi.pl/docs"
}

How detection works

  • Agent links carry the platform + product id in their query - we parse it directly.
  • Nested links (Sugargoo, Superbuy) are unwrapped automatically.
  • Raw Weidian / Taobao / 1688 / Tmall (and Tmall HK) links are recognised by host + id pattern.
  • Links from agents we don't build links for are read too when they carry the product - LoveGoBuy, OrientDig, JoyaGoo, AllChinaBuy, iTaoBuy, EastMallBuy, WeGoBuy and others.
  • Short and affiliate links (ikako.vip/…, Taobao app shares m.tb.cn/h.…, Weidian and 1688 app shares, bit.ly and similar) are opened on our server and resolved to the product they lead to. An expired short link returns 422.
  • A link pasted inside share text ("【淘宝】… https://… 「…」") is picked out of the text.

/v1/qc and /v1/lookup accept the same links.

Try it without code

The same link converter runs on repsapi.pl/tools/convert - no key needed.