Achat en Chine & groupage mondial tout-en-un

BuyCN Public Freight Quotes API — Integration Guide

Prepared for integration partners · buycn.com

Overview

Public, unauthenticated, read-only endpoint returning current international freight quotes for a destination country and parcel weight. Data is served from the same engine as our customer-facing estimates page and refreshes dynamically as our freight partners update rates. Prices are in USD, sorted ascending.

Endpoint

GET https://buycn.com/api/public/quotes

Parameters (query string)

ParamRequiredFormatExample
countryyesFull country name or ISO 3166 code (e.g. United States, US, GB, DE, FR)United States
weightyesParcel weight in grams (integer) — grams, not kg1000 = 1 kg
⚠️ Weight unit is grams — pass 1000 for 1 kg. Values in kg will be interpreted as grams and misquote.

Example:

https://buycn.com/api/public/quotes?country=United%20States&weight=1000

Response

Success envelope: code: 1, msg: "ok".

{
  "code": 1,
  "msg": "ok",
  "data": {
    "country": "US",
    "weight_g": 1000,
    "rate_usd_per_cny": 0.1407,
    "channels": [
      { "channel": 21, "name": "美国商派小包-普货", "days": "8-10d", "freight_usd": 9.28, "freight_cny": 65.95 }
    ]
  }
}

Channel object fields

FieldTypeNotes
channelnumberChannel id (stable)
namestringChannel name (Chinese, as internally named; an English mapping is available on request)
daysstringTypical transit estimate, e.g. "8-10d"; empty string when the channel publishes no transit time
freight_usdnumberFreight quote in USD for the requested weight
freight_cnynumberFreight quote in CNY (origin currency, same source as the user-facing estimates page) — added for CNY-first integrators

Edge cases

Usage probe

Calling the endpoint without params returns a self-describing usage object (params, example, notes) — handy for quick sanity checks.

Rate limits & partner access

TierLimitHow
Anonymous30 requests/min per IPDefault
Partner120 requests/min per IPSend us your server egress IP(s); we whitelist them server-side (effective immediately, no redeploy)

Caching

Rates update dynamically as our freight partners update them — there is no fixed publication schedule. A cache window shorter than 5 days matches the data well; shorter windows (e.g. a few times daily) are fine within the partner rate limit.

Scope notes

QC Photo Sharing API

A second public, unauthenticated, read-only endpoint returns anonymized warehouse QC (inspection) photos keyed by the source-site listing (site + goodsId), for QC-aggregation tool integrations (rep.tools / picks.ly style). Photos appear only when the customer explicitly opted in on that order ("share my QC photos anonymously with public QC tools"); orders without consent are never exposed. By design the payload carries no personal data — no user IDs, no order numbers, no amounts, no addresses.

GET https://buycn.com/api/public/qc-photos?site=taobao&goodsId=123456
ParamRequiredDescription
siteyesSource platform, e.g. taobao, 1688, weidian
goodsIdyesSource-site goods/listing ID (as used in our product URLs)

Response (success envelope code: 1):

{
  "code": 1,
  "msg": "ok",
  "data": {
    "site": "taobao",
    "goods_id": "123456",
    "count": 2,
    "photos": [
      { "url": "/uploads/xxxx.jpg", "taken_at": "2026-11-16 12:00:00" },
      { "url": "/uploads/yyyy.jpg", "taken_at": "2026-11-16 12:05:00" }
    ]
  }
}

Contact

Whitelisting, English channel-name mapping, or any integration question: reply in this chat or [email protected].

Collez le lien du produit ou les mots-clés de recherche Recherche par image Estimation des frais
Estimation des frais Recherche par image Track a Parcel Réclamation colis Centre d'aide
Xiao An · Service client intelligent
Veuillez ne pas envoyer d'informations sensibles telles que mots de passe ou numéros de pièce d'identité