Skip to content

Quickstart

1. Get an API key

Email andrew@coda-tech.co to request access.

2. Check the health endpoint

No auth needed:

bash
curl https://api.coda-tech.net/api/v1/health
json
{ "status": "ok" }

3. Fetch a pricing bundle

bash
curl "https://api.coda-tech.net/api/v1/developer/pricing/pokemon-sws07-umbreon-vmax-alt-art-secret" \
  -H "X-API-Key: your_api_key"

Response includes ungraded NM price and PSA/BGS/CGC/SGC grades 7-10:

json
{
  "product_key": "pokemon-sws07-umbreon-vmax-alt-art-secret",
  "window_hours": 24,
  "ungraded": {
    "price_minor": 178015,
    "currency": "USD",
    "methodology": "twap_24h_outlier_v3_floor_q20",
    "included_points": 43,
    "error": null
  },
  "graded": {
    "PSA": {
      "10": { "price_minor": 438365, "grade": 10 },
      "9":  { "price_minor": 285000, "grade": 9 },
      "8":  { "price_minor": 198000, "grade": 8 },
      "7":  { "price_minor": 118200, "grade": 7 }
    }
  },
  "metadata": {
    "product_name": "Umbreon VMAX Alt Art",
    "era": "modern"
  }
}

4. Change the window

window_hours (1-72) controls the TWAP lookback:

bash
curl "https://api.coda-tech.net/api/v1/developer/pricing/pokemon-sws07-umbreon-vmax-alt-art-secret?window_hours=48" \
  -H "X-API-Key: your_api_key"

5. Look up by PriceCharting ID

bash
curl "https://api.coda-tech.net/api/v1/developer/pricecharting/2513024" \
  -H "X-API-Key: your_api_key"

Same response shape, with a top-level "id": "2513024" added.


Python example

python
import httpx

resp = httpx.get(
    "https://api.coda-tech.net/api/v1/developer/pricing/pokemon-sws07-umbreon-vmax-alt-art-secret",
    headers={"X-API-Key": "your_api_key"},
)
data = resp.json()

# Prices are cents - divide by 100
print(f"Ungraded: ${data['ungraded']['price_minor'] / 100:,.2f}")
print(f"PSA 10:   ${data['graded']['PSA']['10']['price_minor'] / 100:,.2f}")

Next steps

Coda - price settlement infrastructure.