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
Create an account
It is free and includes 1,000 API requests a day. Sign up, or sign in.
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.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.
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.
Reference and tools
- API referencePrices, conversion, fees, screening and monitoring over REST, with code in curl, JavaScript and Python.
- Price widgetsA price ticker, converter or coin card for your own site, pasted as an iframe or a script tag.
- Signed webhooksAlerts as JSON to your HTTPS endpoint, signed with HMAC-SHA256 and retried when delivery fails. On Pro and above.
- Discord botSlash commands for prices, conversion, fees, gas and free Wardcrest tools in any server.
- Telegram botPrices, conversion, fees, gas and movers in any chat; your watchlist and alerts in a private one.
- OpenAPI documentThe keyed API described in OpenAPI 3.1, for code generators and API clients.
- Rate limits by plan1,000 requests a day on Free, up to 1,000,000 on Business; 120 a minute per key.
- System statusLive health of every chain follower.