# Xianyu MCP server for AI agents

> Give Claude, Cursor or any MCP client Xianyu (Goofish) data: 2 endpoints from $0.022 a call, no Xianyu login. Your AI finds the endpoint, says the price and fetches.

Canonical page: https://okdata.online/mcp/xianyu/

## Connect your AI in one sentence

```text
Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.
```

## What it answers

| Question | Endpoint | Price |
|---|---|---|
| Xianyu listing search: Search Xianyu (Goofish), China's second-hand marketplace, by keyword: title, asking price and original price, the seller, their area and how many want it, newest, cheapest or by seller credit. | [xianyu.products.search](https://okdata.online/apis/xianyu/products/search/) | $0.022 per call · about 10 products per page |
| Xianyu listing details: One Xianyu listing by ID: the full description, asking and original price, condition, all photos, views, wants and favorites, shipping fee, and the seller with their city and items sold. | [xianyu.products.get](https://okdata.online/apis/xianyu/products/get/) | $0.022 per call |

## Two calls

1. `find {"query":"xianyu products"}`: free
2. `call {"capability":"xianyu.products.search","query":"咖啡机"}`: $0.022 per call · about 10 products per page

## Skill package

- `okdata-xianyu`: https://okdata.online/.well-known/agent-skills/okdata-xianyu/SKILL.md · https://okdata.online/skills/okdata-xianyu.zip

[Every Xianyu (Goofish) endpoint](https://okdata.online/apis/xianyu/) · [MCP server](https://okdata.online/mcp/) · [Integrations](https://okdata.online/integrations/)
