Skip to main content

GET /v1/xianyu/search/item_list_v1

Xianyu Product Search API (V1)

stable · 39 credits per success

Search Xianyu second-hand listings by keyword, with pagination and sorting controls. Use it to discover resale listings by activity, newest posting, seller credit, price or publish time.

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl
curl -s 'https://api.wellbyte.net/v1/xianyu/search/item_list_v1?page=1&sort=active&keyword=%E5%92%96%E5%95%A1' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
appBar{ 0 items }
tabList[ 2 items ]
topList[ 0 items ]
division{ 0 items }
flexFilter{ 3 items }
resultInfo{ 16 items }
resultList[ 2 items ]
filterPanelDO[ 2 items ]
filterSheetDO{ 1 item }
topMoreInfoDO{ 4 items }
needDecryptKeys[ 2 items ]
resultPrefixBar[ 1 item ]
extraFilterValue{ 2 items }
relateResultPrefixBar[ 0 items ]
}
meta{
endpoint:"xianyu.search.item_list_v1"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    pagestringqueryno分页页码。第一页为 1。1
    sortstringqueryno闲鱼搜索结果的排序方式。 可选值: - `active`:优先显示活跃商品。 - `recent`:优先显示附近或基于位置的最新结果。 - `credit`:优先显示卖家信用高的商品。 - `price_asc`:价格从低到高。 - `…active
    keywordstringqueryyes搜索关键词。咖啡

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 39 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All Xianyu endpoints →

    Search

    Search endpoints and docs