POST

API health

24h health
100%
24h average time
38.67 s
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Healthy

Last 24 hours

Last 30 days

Get full Xianyu listings for 1 to 20 item IDs or goofish.com links. Get description, condition score, shipping fee, location and detailed seller stats. condition_level uses a 10-point scale. sold_count is null when Xianyu hides it. Listings that cannot be read are refunded.

Send POST https://api.everyinfra.com/api/v1/social with platform set to xianyu and action set to item_detail. Price $5.56 per 1,000 requests ($0.005556 per call). Failed calls and empty results are not charged. Synchronous only: everything it returns (every target of a batch, or every SKU of a product) is read within this call, and "mode": "async" returns a 422 before any charge.

AI prompt

#
Please help me write a data collection script with the EveryInfra Xianyu Listing details endpoint (xianyu/item_detail).

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 item_detail, and put the parameters inside params.
- Required parameters:
  - urls: For item_detail, an array of 1–20 Xianyu listings: each entry is a numeric item ID (the item_id returned by search) or a https://www.goofish.com/item?id=<digits> link, and each listing may appear once.
- Optional parameters:
  - limit: The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows.
- Returns a list of records. Main fields of each record: item_id (Numeric Xianyu listing ID (string)), url, title, text, price, original_price (Original price the seller entered, in y…), currency, shipping_fee, condition_level, status, quantity, want_count (Number of users who tapped the want but…); 45 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=xianyu.
- Example request body:
{
  "platform": "xianyu",
  "action": "item_detail",
  "params": {
    "urls": [
      "https://www.goofish.com/item?id=<ITEM_ID>"
    ]
  }
}
- Price: $5.56 per 1,000 requests; failed and empty results are not charged.
- This endpoint runs synchronously only; do not add "mode": "async" to the body.
- 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.
actionbodystringYesitem_detailCapability identifier, fixed value.
urlsbody.paramsarrayYes-For item_detail, an array of 1–20 Xianyu listings: each entry is a numeric item ID (the item_id returned by search) or a https://www.goofish.com/item?id=<digits> link, and each listing may appear once. Billing is per listing, and listings that cannot be read are refunded. App share short links are not accepted.
limitbody.paramsinteger (1–)No-The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows.

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": "item_detail",
  "params": {
    "urls": [
      "https://www.goofish.com/item?id=<ITEM_ID>"
    ]
  }
}'

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

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": "item_detail",  "results": [    {      "item_id": …,      "url": …,      "title": …,      "text": …,      "price": …,      "original_price": …,      "currency": …,      "shipping_fee": …,      "condition_level": …,      "status": …,      "quantity": …,      "want_count": …,      "view_count": …,      "collect_count": …,      "sold_count": …,      "province": …,      "city": …,      "category_id": …,      "image_url": …,      "images": …,      "posted_at": …,      "seller_id": …,      "seller_name": …,      "seller_url": …,      "seller_item_count": …,      "seller_sold_count": …,      "seller_good_review_rate": …,      "seller_reply_rate_24h": …,      "district": …,      "division_id": …,      "lat": …,      "lng": …,      "poi_name": …,      "poi_id": …,      "seller_avatar_url": …,      "seller_city": …,      "seller_bio": …,      "seller_joined_at": …,      "seller_last_seen": …,      "seller_zhima_verified": …,      "seller_zhima_level": …,      "seller_zhima_level_code": …,      "seller_credit_level": …,      "seller_identity_tags": …,      "seller_other_items": …,      "platform": …    }  ],  "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).
textBody text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so).
pricePrice as a number without a currency symbol; see currency.
original_priceOriginal price the seller entered, in yuan; null when not entered.
currencyCurrency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency.
shipping_feeKeeps the platform's own meaning
condition_levelKeeps the platform's own meaning
statusKeeps the platform's own meaning
quantityKeeps the platform's own meaning
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.
view_countViews or plays. null means not disclosed, not 0.
collect_countSaves or favorites. null means not disclosed, not 0.
sold_countKeeps the platform's own meaning
provinceKeeps the platform's own meaning
cityWhere the listing is, at city level as Xianyu shows it; some listings show only the province. Finer location, when the listing has it, is in district, lat, lng and poi_name.
category_idXianyu category ID (string).
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.
posted_atPublish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it.
seller_idNumeric seller ID (string).
seller_nameSeller nickname. Xianyu partly masks it for signed-out visitors, and it is returned as the page shows it.
seller_urlKeeps the platform's own meaning
seller_item_countKeeps the platform's own meaning
seller_sold_countKeeps the platform's own meaning
seller_good_review_rateKeeps the platform's own meaning
seller_reply_rate_24hKeeps the platform's own meaning
districtKeeps the platform's own meaning
division_idKeeps the platform's own meaning
latKeeps the platform's own meaning
lngKeeps the platform's own meaning
poi_nameKeeps the platform's own meaning
poi_idKeeps the platform's own meaning
seller_avatar_urlSeller profile photo URL.
seller_cityKeeps the platform's own meaning
seller_bioKeeps the platform's own meaning
seller_joined_atKeeps the platform's own meaning
seller_last_seenKeeps the platform's own meaning
seller_zhima_verifiedKeeps the platform's own meaning
seller_zhima_levelKeeps the platform's own meaning
seller_zhima_level_codeKeeps the platform's own meaning
seller_credit_levelKeeps the platform's own meaning
seller_identity_tagsKeeps the platform's own meaning
seller_other_itemsKeeps the platform's own meaning
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 Item IDs and Condition Grades ↗

    Alibaba's item query API for authorized Xianyu ISV partners identifies one listing by its numeric Xianyu item ID and grades condition with stuff_status: 100 is brand new, 95 is 95% new, and -1 is nearly new. Calls require authorization inside Alibaba's partner environment; the source confirms the identifier and condition terminology only and does not mean EveryInfra uses this API or can read every field of any listing.

    Checked 2026-09-29

Our own visit stats are always on. Google Analytics loads only if you choose “Allow analytics”. Privacy policy