Xianyu · E-commerce

Search listings by keyword

Send a keyword; get matching listings with price, price cut, want count, publish time, location, shipping, tags and photos.

POST/v1/xianyu/search

$0.007per record

a record, minimum counted
≈ $0.010715
1,000 records
≈ $10.7143
minimum per page of 10 records
$0.107143

Paid balance onlyOne request, no cursor

Try it in the console

Send it

POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.

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

What comes back

Records from a real request on 2026-11-09. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.

200 OK · fetched 2026-11-09
{
  "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
    }
  ],
  "cursor": null,
  "meta": {
    "request_id": "req_01JD8Q…",
    "charged_usd": "0.107143",
    "balance_usd": "9.875000",
    "items": 2
  }
}

Fields 22

FieldTypeExample value
typestringlisting
listingIdstring1092456183642
urlstringhttps://www.goofish.com/item?id=1092456183642
searchKeywordstringiphone
positionnumber1
titlestringApple/苹果 iPhone 17 256GB 中国大陆版 白色 下方真机照片就是本机,只要在上架的就是有货;机器详情…
pricenumber4689
originalPricenullnull
priceDropnullnull
wantCountnumber0
publishedAtstring2026-10-23T14:01:51Z
locationstring江苏
shippingstring包邮
tagsarray["严选","99新·功能A","电池健康95%+"]
isVideobooleanfalse
isAdbooleanfalse
isAuctionbooleanfalse
categoryIdstring50025386
coverUrlstringhttps://img.alicdn.com/bao/uploaded/i2/O1CN01ORrPeFRr7MD5HIi…
imageUrlsarray["https://img.alicdn.com/bao/uploaded/i2/O1CN01ORrPeFRr7MD5H…
sellerReviewCountnumber6822
sellerGoodRatenumber36

Parameters 2

NameTypeRequiredDescriptionExample
limitintegernoHow many records to return, 1 to 100. A request never returns more than this.5
keywordstringyesSearch keyword, Chinese or English. Leave it empty to use "iphone".iphone

Paging

This endpoint answers in one request: raise limit (up to 100) for more records. cursor is always null.

What a request costs

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.

Here a page holds up to 10 records and its minimum is $0.107143; a request for 100 records reads 10 pages.

  • 1 record: up to $0.107143
  • 20 records: up to $0.214286
  • 100 records: up to $1.07143

The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.

Questions

What parameters does Search listings by keyword take?

Required: keyword. Every request also takes limit (1 to 100).

How many records does one request return?

Up to 100 (limit 1 to 100). A page holds up to 10 records, so 100 records take 10 pages in one request.

Can I page through more results?

No. This endpoint answers in full in one request; the answer's cursor is null.

How much does it cost?

Per record: record $0.007. The minimum is $0.107143 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $1.07143.

What does a request cost when it fails or comes back empty?

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.