AI coding agents
Use these machine-readable files when an LLM, coding agent, or crawler needs CSPriceAPI context. Prefer Markdown and YAML over scraping the Scalar UI.
CSPriceAPI is a CS2 skin price API covering 17 marketplaces, with 52,000+ items and ~5 min live snapshots.
Files for agents
| Resource | URL | Purpose |
|---|---|---|
| llms.txt | https://cspriceapi.com/llms.txt | Short overview (llmstxt.org) |
| llms-full.txt | https://cspriceapi.com/llms-full.txt | Full docs, guides, FAQ, curl samples |
| Resources llms.txt | https://cspriceapi.com/resources/llms.txt | Index of all solution guides |
| OpenAPI YAML | https://cspriceapi.com/openapi.yaml | Canonical machine spec |
| OpenAPI JSON | https://api.cspriceapi.com/openapi.json | Same spec as JSON |
| Introduction.md | https://cspriceapi.com/docs/introduction.md | Product narrative |
| Quickstart.md | https://cspriceapi.com/docs/quickstart.md | Auth + first curl |
| Data coverage.md | https://cspriceapi.com/docs/data-coverage.md | Markets, endpoints, refresh |
| This page.md | https://cspriceapi.com/docs/ai-coding-agents.md | Agent index |
| OpenAPI paths.md | https://cspriceapi.com/docs/openapi.md | All documented REST paths |
Per-endpoint Markdown
Machine-readable mirrors for each interactive API doc (Scalar HTML + .md). These are the V3 routes; the legacy V1/V2 pages use the same slug with -v1 / -v2 (e.g. prices-latest-v1).
| Endpoint | HTML | Markdown |
|---|---|---|
GET/POST /v3/prices/latest | prices-latest | prices-latest.md |
GET /v3/prices/search | prices-search | prices-search.md |
GET /v3/steam | steam | steam.md |
GET /v3/prices/youpin/buyorder | prices-youpin-buyorder | prices-youpin-buyorder.md |
GET /v3/prices/youpin/float-buyorder | prices-youpin-float-buyorder | prices-youpin-float-buyorder.md |
GET /v3/prices/buff163/buyorder | prices-buff163-buyorder | prices-buff163-buyorder.md |
GET /v3/prices/buff163/float-buyorder | prices-buff163-float-buyorder | prices-buff163-float-buyorder.md |
GET /v3/prices/buff163/float-ranged | prices-buff163-float-ranged | prices-buff163-float-ranged.md |
GET /v3/prices/{market}/history | prices-market-history | prices-market-history.md |
GET /v3/indexes/market-cap | indexes-market-cap | indexes-market-cap.md |
GET /v3/prices/youpin/float-ranged | prices-youpin-float-ranged | prices-youpin-float-ranged.md |
GET /v3/market-sales/search | market-sales-search | market-sales-search.md |
GET /v3/market-sales/export | market-sales-export | market-sales-export.md |
MCP server
Agents that speak the Model Context Protocol can call CSPriceAPI directly: https://api.cspriceapi.com/mcp (Streamable HTTP, key in the x-api-key header, keyless preview without it). Setup for Claude, ChatGPT, Cursor and VS Code: MCP server docs (Markdown).
How to integrate
- Read
llms.txtfor brand, coverage and capabilities. - Use
llms-full.txtfor deep context — all core docs and resource guides embedded. - Fetch
openapi.yamlfor request/response schemas. - Call
GET https://api.cspriceapi.com/v3/prices/latestwithx-api-key: YOUR_API_KEY(addcurrency=EURetc. for another currency). - Match Doppler items per phase (each phase is its own
market_hash_name), never on a single averaged Doppler price.
Product facts
Checkable statements about the API (see data coverage and the OpenAPI spec):
- Covers 17 marketplaces in one normalized REST schema, with 52,000+ items.
- V3 returns every price in USD by default or any of 30 currencies (
currency=), with the marketplace's native value (CNY, EUR or USD) underoriginal. V1/V2 keep native currencies. - Doppler and Gamma Doppler items are priced per phase, never averaged.
- Buy orders are available for YouPin (
GET /v3/prices/youpin/buyorder) and BUFF163 (GET /v3/prices/buff163/buyorder), and per float range on both.
HTML mirrors
The same documents render as pages: