API Getting Started
Authenticate and call the SilphCo Analytics REST API
Last updated:
On this page
Quick start
- Create an account and generate an API key at the dashboard.
- Send the key as a Bearer token on every request.
- Browse the interactive reference for parameters and response shapes.
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://silphcoanalytics.xyz/api/v3/cards?limit=1"Authentication
All /api/v3 data routes require Authorization: Bearer YOUR_API_KEY. Requests without a valid key return HTTP 401.
Check daily usage with GET /keys/usage using the same Bearer token.
Endpoints
Base URL: https://silphcoanalytics.xyz/api/v3
Analytics
| Method | Path | Description |
|---|---|---|
| GET | /api/v3/analytics/grade-premium | Grade premium analytics |
| GET | /api/v3/analytics/kfactor | Share k-factor metrics |
Cards
| Method | Path | Description |
|---|---|---|
| GET | /api/v3/cards | List and filter cards |
| GET | /api/v3/cards/summary | Card summary rollup |
| GET | /api/v3/cards/timeseries | Multi-card time series |
| GET | /api/v3/cards/{id} | Card detail |
| GET | /api/v3/cards/{id}/analytics | Card analytics |
| GET | /api/v3/cards/{id}/market-history | Daily market history |
| GET | /api/v3/cards/{id}/physical-sales | Physical marketplace sales |
| GET | /api/v3/cards/{id}/price-history | Price history |
| GET | /api/v3/cards/{id}/sales | On-chain sales for one card |
| GET | /api/v3/cards/{id}/vwap | Volume-weighted average price |
| POST | /api/v3/cards/analytics/batch | Batch card analytics |
| POST | /api/v3/cards/batch | Batch card lookup |
Market
| Method | Path | Description |
|---|---|---|
| GET | /api/v3/market/volume | Market-wide volume by set |
Search
| Method | Path | Description |
|---|---|---|
| GET | /api/v3/lookup | Resolve a card or set identifier |
| GET | /api/v3/populations/search | Search graded populations |
| GET | /api/v3/search | Full-text card search |
| GET | /api/v3/trending | Trending cards leaderboard |
Sets
| Method | Path | Description |
|---|---|---|
| GET | /api/v3/sets | List sets |
| GET | /api/v3/sets/{id} | Set detail |
| GET | /api/v3/sets/{id}/breakdown | Set sales breakdown |
| GET | /api/v3/sets/{id}/population | Set population report |
| GET | /api/v3/sets/{id}/price-distribution | Set price distribution |
| GET | /api/v3/sets/{id}/trending-cards | Trending cards in a set |
| GET | /api/v3/sets/{id}/volume-history | Set volume over time |
Response envelope
Every v3 response uses silphco-envelope.v1. The payload lives in data; the contract field names its schema version.
Pagination
Lists accept offset and limit (max 200). Per-card sales use an opaque next_cursor.
Errors
Errors return contract: "error.v1" with error.code and error.message. HTTP 401 indicates a missing or invalid key; 404 means the resource or route does not exist on the public API.
Examples
# Search
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://silphcoanalytics.xyz/api/v3/search?q=charizard&limit=5"
# Card detail with price history
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://silphcoanalytics.xyz/api/v3/cards/base1-4?include=price_history"
# Market volume (30 days)
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://silphcoanalytics.xyz/api/v3/market/volume?days=30&language=en"Reference
- Interactive API reference — parameters, schemas, and try-it-out
- OpenAPI JSON — import into Postman or generate a typed client