Shopping

Xianyu API One endpoint, JSON back.

Public Xianyu data as JSON: e-commerce. Every endpoint takes the same kind of request and answers in the same shape.

Get API keyOpen the docs

  • 1endpoints
  • $0.007lowest price per record
  • 0with cursor paging
  • 0work with trial balance

Every Xianyu endpoint

Grouped by what they return. Each row opens its page: parameters, fields, code and a real answer.

One real answer

A real request to Search listings by keyword, and the records it returned.

POST /v1/xianyu/search
$ API="https://api.silklinedata.com"
$ curl -X POST "$API/v1/xianyu/search" \
    -H "Authorization: Bearer $SILKLINE_KEY" \
    -d '{"limit":5,"keyword":"iphone"}'

Stored answer of a real request · fetched 2026-11-09 · Names of ordinary users are masked.

200 OK
{
  "data": [
    {
      "type": "listing",
      "listingId": "1092456183642",
      "url": "https://www.goofish.com/item?id=10924…",
      "searchKeyword": "iphone",
      "position": 1,
      "title": "Apple/苹果 iPhone 17 256GB 中国大陆版…",
      "price": 4689,
      "originalPrice": null,
      "priceDrop": null,
      "wantCount": 0,
      "publishedAt": "2026-10-23T14:01:51Z",
      "location": "江苏",
      "shipping": "包邮",
      "tags": [
        "严选",
        "99新·功能A",
        "电池健康95%+"
      ],
      "isVideo": false,
      "isAd": false,
      "isAuction": false,
      "categoryId": "50025386",
      "coverUrl": "https://img.alicdn.com/bao/uploaded/i…",
      "imageUrls": [
        "https://img.alicdn.com/bao/uploaded/i…",
        "https://img.alicdn.com/bao/uploaded/i…",
        "https://img.alicdn.com/bao/uploaded/i…"
      ],
      "sellerReviewCount": 6822,
      "sellerGoodRate": 36
    },
    {
      "type": "listing",
      "listingId": "1092166351289",
      "url": "https://www.goofish.com/item?id=10921…",
      "searchKeyword": "iphone",
      "position": 2,
      "title": "Apple/苹果 iPhone 17 256GB 中国大陆版…",
      "price": 4189,
      "originalPrice": null,
      "priceDrop": null,
      "wantCount": 0,
      "publishedAt": "2026-10-22T10:12:26Z",
      "location": "江苏",
      "shipping": "包邮",
      "tags": [
        "严选",
        "99新·功能A",
        "电池健康90-95%"
      ],
      "isVideo": false,
      "isAd": false,
      "isAuction": false,
      "categoryId": "50025386",
      "coverUrl": "https://img.alicdn.com/bao/uploaded/i…",
      "imageUrls": [
        "https://img.alicdn.com/bao/uploaded/i…",
        "https://img.alicdn.com/bao/uploaded/i…",
        "https://img.alicdn.com/bao/uploaded/i…"
      ],
      "sellerReviewCount": 6822,
      "sellerGoodRate": 36
    }
  ]
}