wardcrest

Developers

Market data as JSON, with or without a key. Your workspace’s monitors and alerts through the API, price widgets for your own site, and alerts sent to your code as signed webhooks.

Quick start

  1. Create an account

    It is free and includes 1,000 API requests a day. Sign up, or sign in.

  2. Create a key

    In Settings → API keys. A key is read-only unless you allow changes, which needs Pro or above. Keep it in an environment variable, WARDCREST_KEY.

  3. Make your first request

    The prices of Bitcoin and Ether in US dollars and euros, below. Every endpoint has the same three samples in the API reference.

curl

curl "https://wardcrest.com/api/v1/prices?ids=bitcoin,ethereum&vs=usd,eur" \
  -H "Authorization: Bearer $WARDCREST_KEY"

JavaScript

const res = await fetch('https://wardcrest.com/api/v1/prices?ids=bitcoin,ethereum&vs=usd,eur', {
  headers: {
    Authorization: `Bearer ${process.env.WARDCREST_KEY}`,
  },
});
if (!res.ok) throw new Error(`Wardcrest API: ${res.status}`);
console.log(await res.json());

Python

import os

import requests

res = requests.get(
    "https://wardcrest.com/api/v1/prices",
    params={"ids": "bitcoin,ethereum", "vs": "usd,eur"},
    headers={"Authorization": f"Bearer {os.environ['WARDCREST_KEY']}"},
    timeout=10,
)
res.raise_for_status()
print(res.json())

Two ways in

Keyless/api/public/…

  • No account and no key.
  • Prices, rates, Bitcoin fees, gas, charts and comparisons.
  • Answers are cached for 15 seconds to 1 hour.
  • For widgets, your own pages and light scripts.
The keyless endpoints

With a key/api/v1/…

  • A key per workspace, sent as a bearer token.
  • Markets and network data, price alerts, your monitors and alerts, screening and address risk.
  • 1,000–1,000,000 requests a day by plan, 120 a minute per key.
  • Changes on Pro and above.
Limits on each plan

Reference and tools