AymarData

From signup to first book snapshot in under five minutes.

Quickstart

Get your first order-book snapshot in under five minutes.

1. Create an account

Request access at /request-access (or WhatsApp). Self-serve Google signup opens when billing is live.

2. Create an API key

Open the dashboard → API keys → Create key. Copy it once; we only show the secret at creation.

export AYMARDATA_API_KEY=YOUR_API_KEY

3. Pull a book

curl -s "https://api.aymardata.com/v1/book" \
  -H "Authorization: Bearer $AYMARDATA_API_KEY" \
  -G \
  --data-urlencode "source=polymarket" \
  --data-urlencode "market=btc-updown-15m" \
  --data-urlencode "at=2026-10-22T14:30:00Z" \
  --data-urlencode "depth=6"

4. Or use Python (requests)

import os
import requests

API = "https://api.aymardata.com/v1"
H = {
    "Authorization": f"Bearer {os.environ['AYMARDATA_API_KEY']}",
    "User-Agent": "aymardata-docs/1.0",
}
book = requests.get(
    f"{API}/book",
    headers=H,
    params={
        "source": "polymarket",
        "market": "btc-updown-15m",
        "outcome": "up",
        "at": "2026-10-22T14:30:00Z",
        "depth": 6,
    },
    timeout=30,
).json()
print(book["spread"], len(book["bids"]), len(book["asks"]))

Next: Authentication · Sources & markets