POST /api/xianyu/items
Price: 10 credits
Get one Xianyu (Goofish) second-hand listing by its id or URL. Returns the title and description, the asking price with any original, promotion and per-variant prices, the shipping fee, the listing status, want, view and collect counts, the creation time, the category, photos and video, the seller-filled attributes and product specifications, and the seller's profile with ratings, response stats and other listings.
Sold listings stay reachable: `is_sold` is true and `status` reads 卖掉了. Text fields are in Simplified Chinese as the seller wrote them, and prices are in CNY. `seller.id` is the id /xianyu/users and /xianyu/users/items take.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)item string required — Xianyu item id or item URL (examples: "767613559273", "https://www.goofish.com/item?id=767613559273&categoryId=50023914"; minLength: 1)@type string (default: "XianyuItem")id string requiredurl string nullabledescription string nullableprice number nullableoriginal_price number nullablemin_price number nullablemax_price number nullablepromotion_price number nullablepromotion_max_price number nullablepromotion_price_sku_id string nullablepromotion_name string nullableshipping_fee number nullablecurrency string nullablestatus string nullablestatus_code string nullableis_sold boolean nullableitem_type string nullablequantity integer nullablewant_count integer nullableview_count integer nullablecollect_count integer nullablefavorite_count integer nullablesold_count integer nullablecreated_at integer nullablecategory string nullablecategory_id string nullablechannel_category_id string nullableroot_channel_category_id string nullabletaobao_category_id string nullableimage string nullableimages array (default: [])video object nullable@type string (default: "XianyuVideo")id string requiredurl string nullableurl_320p string nullableurl_480p string nullableimage string nullablewidth integer nullableheight integer nullableattributes array (default: [])@type string (default: "XianyuAttribute")name string requiredvalue string requiredspecifications array (default: [])@type string (default: "XianyuAttribute")name string requiredvalue string requiredskus array (default: [])@type string (default: "XianyuSku")id string requiredinventory_id string nullableprice number nullablequantity integer nullableout_of_stock_date integer nullableimage string nullableoptions array (default: [])@type string (default: "XianyuAttribute")name string requiredvalue string requiredtopics array (default: [])tags array (default: [])badges array (default: [])resale_label string nullableresale_discount_text string nullablecommunity object nullable@type string (default: "XianyuCommunity")id string requiredname string nullabledescription string nullablemember_count integer nullableseller object nullable@type string (default: "XianyuItemSeller")id string requiredurl string nullablename string nullablebio string nullableimage string nullablecity string nullablepublish_city string nullableregistered_at integer nullablesold_count integer nullablelisting_count integer nullablegood_rating_rate number nullablegood_review_count integer nullableneutral_review_count integer nullablebad_review_count integer nullablereply_rate_24h number nullablereply_time_text string nullableaverage_reply_minutes integer nullablelast_seen_text string nullableis_zhima_verified boolean nullablecredit_level string nullablecredit_level_code string nullableis_pro boolean nullablesummary string nullableverification_tags array (default: [])tags array (default: [])other_items array (default: [])@type string (default: "XianyuItemPreview")id string requiredurl string nullableprice number nullableimage string nullableplace_name string nullablearea_name string nullabledivision_code string nullableis_pickup_only boolean nullablelast_sold_at integer nullablerefreshed_at integer nullableorigin_price number nullableorigin_title string nullableorigin_shop_name string nullableorigin_purchase_date integer nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No listing with this id, or the listing was deleted Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.