cv-cat/XianYuApis
闲鱼算法逆向,闲鱼api,websockets自动运营,咸鱼AI Agent基座 observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 98
- Release rhythm 78
- Longevity 38
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 539
- days_rel: 148
- days_push: 15
- n_releases_24m: 2
Adoption not part of the score
1206 stars · 285 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A reverse-engineered unofficial API library for Xianyu (Goofish, Alibaba's second-hand marketplace) that wraps its HTTP endpoints and WebSocket private-message protocol, including decrypted sign signatures, base64/Protobuf message handling, cookie login, and token refresh. It serves as the foundation for building AI customer-service agents that automatically receive and reply to buyer messages.
Use cases
- build an AI customer service agent for Xianyu sellers
- automatically reply to Xianyu private messages with an LLM
- send and receive Xianyu chat messages programmatically
- fetch chat history and product details from Xianyu
- upload images and send them as Xianyu messages
- keep a persistent Xianyu login session alive for a bot
- reverse engineer the Xianyu WebSocket messaging protocol
When to choose
- you need to connect an LLM or rule engine to Xianyu's private messaging
- you want a ready-made, working implementation of the Xianyu sign algorithm and WebSocket protocol
- you are building an auto-reply or AI agent bot on top of Xianyu
- you need programmatic access to Xianyu chat history, product info, and media upload
When to avoid
- you need an officially supported and ToS-compliant marketplace API
- you target platforms other than Xianyu/Goofish
- you require a maintained release with a license or long-term stability guarantees
- you cannot supply a logged-in browser cookie or run Node.js for the signing scripts
Facets
library · maturity active
websocket http-client reverse-engineering chatbot agent-framework sdk serialization e-commerce chatbots reverse-engineering apis python self-hosted xianyu goofish second-hand-marketplace im-protocol sign-algorithm auto-reply ai-customer-service unofficial-api ai-agents automation nodejs docker
1 source
- readme: https://github.com/cv-cat/XianYuApis · fetched 2026-08-28 · c9a60d7895ad
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cv-cat/XianYuApis | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="cv-cat/XianYuApis")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem