Site Data API v1
Updated with each site deploy (often several times a day); cached for 5 minutes — fetch on demand, do not poll aggressively.
Read-only static JSON endpoints, updated with each deploy. Metadata only — no prompt bodies or examples, no traffic stats.
Endpoints
| Path | Content | Size |
|---|---|---|
/api/v1/index.json | API meta (build/counts/file list/license) | <5 KB |
/api/v1/prompts.json | Prompt metadata index (sharded by category) | <20 KB |
/api/v1/prompts/<category>.json | One category shard (slug/url/title/desc in zh/en/ja) | 250–350 KB × 11 |
/api/v1/mcp.json | MCP server metadata | ~300–450 KB |
/api/v1/tools.json | Tool metadata (trilingual) | ~80–120 KB |
Examples
curl -s https://yueser.com/api/v1/index.json
curl -s https://yueser.com/api/v1/prompts.json
curl -s https://yueser.com/api/v1/mcp.json
curl -s https://yueser.com/api/v1/tools.json
Field trimming: prompts only slug/url/title/desc/category (no body/examples); mcp includes install/repo/license/version/permissions (optional); tools include category and trilingual name/desc.
Updated with each site deploy (often several times a day); cached for 5 minutes — fetch on demand, do not poll aggressively.
Usage terms
- Keep attribution (yueser.com) and the matching on-site link;
- No full-site mirroring/redistribution; do not strip source attribution;
- No traffic stats are provided; endpoints are read-only.