Xianyu Seller items API

Put a seller's numeric ID or profile link in seller_id to list the products that seller has on sale, at $0.001986 per page or $1.99 per 1,000 pages. Each row carries item_id, title, price, want_count, tags and seller_item_count.

  • seller_item_count is the total number of products on sale that the seller's page shows.
  • 10 rows per page, up to the 1,000th row.
  • Failed calls and empty results are not charged.

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

  1. 1Request

    POST /api/v1/social
    {
      "platform": "xianyu",
      "action": "seller_items",
      "params": {
        "seller_id": "<SELLER_ID>"
      }
    }
  2. 2JSON response

    {
      "results": [
        {
          "item_id": string,
          "title": string,
          "price": number,
          "currency": string
        },
        …
      ]
    }
  3. 3Rows

    item_idtitlepricecurrency
    stringstringnumberstring
  4. 4CSV

    xianyu-seller_items-sample.csv item_id,url,title,price,currency,image_url,images,want_count,tags,category_id,free_shipping,is_auction,has_video,seller_id,seller_url,seller_item_count,platform

A request with seller_id goes in, and one page of that seller's on-sale products comes back; each row in results is one product, listed as a field table and a CSV file.

What data you get

This endpoint has no public real sample yet. The table lists the fields each row returns, with their types and meanings, and shows no values.

FieldTypeMeaning
item_idstringNumeric Xianyu listing ID (string); pass it as is in urls of item_detail.
urlstringLink to the record on the platform.
titlestringTitle. null when the platform has no titles (for example text-only posts).
pricenumberPrice as a number without a currency symbol; see currency.
currencystringCurrency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency.
image_urlstringImage link. Capabilities with several images may return an image_urls array.
images—Array of image links in the platform's display order; absent when there are no images.
want_countnumberNumber of users who tapped the want button. In search it comes from the card's label and is null when the card does not show it; null is not zero.
tagsarrayEvery label on the listing card as written, such as brand new, free shipping, brand or price drop, plus seller labels (credit, identity check, last seen, years on Xianyu); the want count is separate in want_count. Empty list when there are none.
category_idstringXianyu category ID (string).
free_shippingbooleanWhether shipping is free.
is_auctionbooleanWhether the listing is an auction; if so, price is the current bid.
has_videobooleanWhether the listing includes a video.
seller_id—Numeric seller ID (string). Most search results do not return it.
seller_url—Link to the seller's page on Xianyu.
seller_item_count—Number of items for sale shown on the seller's profile.
platformstringSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Use cases

  • Watch a seller for new listings and price changes

    Page through the same seller_id on a schedule, compare the list with the last one by item_id, and find new products and changes in price.

  • See what a seller is selling

    Sort the seller's on-sale products by price, group them by tags and is_auction, and use has_video to pick out the ones with a video.

  • Compare price ranges across sellers

    List the on-sale products of several similar sellers and compare the spread of price and want_count.

  • Hand a single product to item_detail

    To see a product's specifications, condition and interest, pass its item_id to item_detail.

Taobao Open Platform Xianyu API vs EveryInfra

How the Taobao Open Platform Xianyu published-items interface and EveryInfra seller_items compare on what you need to connect:

ComparedTaobao Open Platform Xianyu APIEveryInfra
What you need to connectalibaba.idle.item.user.publishitems (list of published items). The interface is tagged as needing authorization and as callable only inside the Jushita environment. Its description says it gives a service provider's sellers the list of published Xianyu items.seller_id holds the seller's numeric ID or profile link. The request carries only an EveryInfra API key: no seller authorization, and no need to call from inside the Jushita environment.

The Taobao Open Platform documentation is in Chinese. The table shows a translation of the alibaba.idle.item.user.publishitems page, checked on 2026-11-29. The page shows no update date. The official interface lets a service provider read the products that its authorized sellers published, so only what you need to connect is compared here. Official sources: alibaba.idle.item.user.publishitems (list of published items)

Limits and gotchas

  • seller_id is the seller's numeric ID (the seller_id that item_detail returns, which some search results also carry) or the seller's profile link https://www.goofish.com/personal?userId=<digits>. Any other form, such as a nickname, a product link or an App share short link, is rejected with 422 and not charged.
  • Only products the seller currently has on sale come back. Sold and taken-down products are not returned.
  • A page has 10 rows, and each page counts as one call. Send no page_token for page 1. When the response has next_page_token, send it back unchanged as page_token to get the next page, and keep seller_id the same. A token is valid for 24 hours and works only for the same seller and the same account.
  • You can page up to the 1,000th row (page 100). The first 20 pages (the first 200 rows) work with a synchronous request. From page 21 on, use an asynchronous request: add "mode": "async" to the request, then poll GET /api/v1/jobs/<job_id>. A synchronous request for page 21 returns 422 async_required and is not charged.
  • When the response has no next_page_token (pagination.has_more is false), you cannot page further. A pagination.stop_reason of end_of_list means you have reached the end of the seller's products on sale. depth_limit means this is as far as paging goes this time, and more products may follow.
  • If the seller lists or removes products while you page, there can be a few duplicates or gaps where pages 20 and 21 meet. Dedupe by item_id when you merge.
  • seller_item_count is the total number of products on sale that the seller's page shows. tags holds the labels on the listing card, as the page shows them.

Pricing

You pay $0.001986 per page. Each page is one call, billed per call and not per product. Failed calls and empty results are not charged.

CallsCost
10,000$19.86
100,000$198.61
1,000,000$1,986.11

Totals use the list price per page.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "xianyu",
  "action": "seller_items",
  "params": {
    "seller_id": "<SELLER_ID>"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

API reference

See the parameters, response fields, errors and billing for seller_items, and copy the page or open it as Markdown for an AI assistant.

POST

AI prompt

#
Please help me write a data collection script with the EveryInfra Xianyu Seller items endpoint (xianyu/seller_items).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to xianyu and action to seller_items, and put the parameters inside params.
- Required parameters:
  - seller_id: For seller_items, the Xianyu seller: a numeric seller ID (the seller_id returned by item_detail, also present on some search results) or a seller profile link https://www.goofish.com/personal?userId=<digits>.
- Optional parameters:
  - page_token: Page token for seller_items. Leave it out for the first page; when the response has next_page_token, pass it back unchanged as page_token, with seller_id unchanged.
  - limit: The most rows to return in this call, an integer from 1 to 10. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 10)
- Returns a list of records. Main fields of each record: item_id (Numeric Xianyu listing ID (string)), url, title, price, currency, image_url, images, want_count (Number of users who tapped the want but…), tags (Every label on the listing card as writ…), category_id (Xianyu category ID (string)), free_shipping (Whether shipping is free), is_auction (Whether the listing is an auction); 16 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=xianyu.
- Example request body:
{
  "platform": "xianyu",
  "action": "seller_items",
  "params": {
    "seller_id": "<SELLER_ID>"
  }
}
- Price: $1.99 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesxianyuPlatform identifier, fixed value.
actionbodystringYesseller_itemsCapability identifier, fixed value.
seller_idbody.paramsstringYes-For seller_items, the Xianyu seller: a numeric seller ID (the seller_id returned by item_detail, also present on some search results) or a seller profile link https://www.goofish.com/personal?userId=<digits>. Returns the seller's items currently for sale; sold and delisted items are not returned. Any other format (nickname, item link, App share short link) is rejected with 422 and not billed.
page_tokenbody.paramsstringNo-Page token for seller_items. Leave it out for the first page; when the response has next_page_token, pass it back unchanged as page_token, with seller_id unchanged. Tokens last 24 hours and work only for the same seller and the same account; a different seller is rejected with 422 and not billed. Each page holds 10 items and is one call. You can page up to item 1,000 (page 100). Pages 1–20 (the first 200 items) can be read with synchronous requests; from page 21 on, use async: add "mode": "async" to the same request and poll GET /api/v1/jobs/{job_id}. A synchronous request for page 21 returns 422 async_required and is not billed. No next_page_token (pagination.has_more is false) means you cannot page further: pagination.stop_reason is end_of_list when the seller's items for sale are exhausted, or depth_limit if this run cannot go deeper; more items may remain. Page 1 is fetched fresh on every request. Pages 2–20 are cut in order from a saved copy of the list made the first time page 2 is requested, and page 21 onward from another saved copy made the first time page 21 is requested; within one copy, pages neither repeat nor skip items. If the seller lists or delists items in the meantime, an item already given on page 1 is never given again on a later page, whichever saved copy that page is cut from. Pages 20 and 21 meet at the seam between the two saved copies: a few items given on pages 2–20 may reappear from page 21 on, and a few items may be missed, so deduplicate by item_id when you merge.
limitbody.paramsinteger (1–10)No10The most rows to return in this call, an integer from 1 to 10. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge.

Response example

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "id": "req_…",  "platform": "xianyu",  "action": "seller_items",  "results": [    {      "item_id": …,      "url": …,      "title": …,      "price": …,      "currency": …,      "image_url": …,      "images": …,      "want_count": …,      "tags": …,      "category_id": …,      "free_shipping": …,      "is_auction": …,      "has_video": …,      "seller_id": …,      "seller_url": …,      "seller_item_count": …,      "platform": …    }  ],  "next_page_token": …,  "pagination": { … },  "count": …,  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.

FieldMeaning
item_idNumeric Xianyu listing ID (string); pass it as is in urls of item_detail.
urlLink to the record on the platform.
titleTitle. null when the platform has no titles (for example text-only posts).
pricePrice as a number without a currency symbol; see currency.
currencyCurrency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency.
image_urlImage link. Capabilities with several images may return an image_urls array.
imagesArray of image links in the platform's display order; absent when there are no images.
want_countNumber of users who tapped the want button. In search it comes from the card's label and is null when the card does not show it; null is not zero.
tagsEvery label on the listing card as written, such as brand new, free shipping, brand or price drop, plus seller labels (credit, identity check, last seen, years on Xianyu); the want count is separate in want_count. Empty list when there are none.
category_idXianyu category ID (string).
free_shippingWhether shipping is free.
is_auctionWhether the listing is an auction; if so, price is the current bid.
has_videoWhether the listing includes a video.
seller_idNumeric seller ID (string). Most search results do not return it.
seller_urlLink to the seller's page on Xianyu.
seller_item_countNumber of items for sale shown on the seller's profile.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

Official references

#

Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.

  • Alibaba Open Platform: Xianyu Published Items and On-Sale/Sold Status ↗

    Alibaba Open Platform's alibaba.idle.item.user.publishitems API returns, for an ISV partner's sellers, the Xianyu items each seller has published. It pages with page_no and page_size; status 0 means online and 1 means sold. Each result gives the item ID, title, price, category, images, and item type (b is fixed price, a is auction); the response also includes next_page, which indicates whether another page exists, and total, the total number of results. The call requires seller authorization and returns only items published by the authorizing seller. The source is used only to confirm that Xianyu's seller item list separates on-sale and sold status and is returned in pages; it does not mean EveryInfra uses this API, and it does not show that any seller's full item list can be read.

    Checked 2026-11-29

FAQ

Which fields come with each product, and what is seller_item_count?

Each row has item_id, url, title, price, currency, image_url, images, want_count, tags, category_id, free_shipping, is_auction, has_video, seller_id, seller_url, seller_item_count and platform. seller_item_count is the total number of products on sale that the seller's page shows.

How do I page through a seller's products, and how deep can I go?

A page has 10 rows. Send no page_token for page 1, then send the next_page_token from the response back unchanged, with seller_id the same. You can page up to the 1,000th row (page 100). The first 20 pages work with a synchronous request, and from page 21 on you add "mode": "async" to the request and poll GET /api/v1/jobs/<job_id>.

Is it billed per page or per product?

Per page. Each page is one call, at $0.001986 per page or $1.99 per 1,000 pages, however many products it holds. Failed calls and empty results are not charged.

You can call the other Xianyu endpoints with the same EveryInfra API key.

Google Analytics needs consent. Privacy