Quickstart
Get up and running with the Waretto Data Engine in 3 steps.
01 — Get your API key
Sign up at the dashboard and create a free API key. It starts with wde_.
02 — Make your first request
CURL
curl -H "Authorization: Bearer wde_YOUR_KEY" \ https://api.waretto.com/v1/quotes/BTC-USD
RESPONSE
{
"status": "ok",
"symbol": "BTC/USD",
"data": {
"symbol": "BTC/USD",
"bid": 67432.10,
"ask": 67433.50,
"price": 67432.80,
"volume_24h": 28540.5,
"asset_type": "CRYPTO",
"source": "binance",
"timestamp": "2026-04-02T18:30:00Z"
},
"request_id": "a1b2c3d4"
}PYTHON
import requests
API_KEY = "wde_YOUR_KEY"
BASE = "https://api.waretto.com"
# Single quote
resp = requests.get(
f"{BASE}/v1/quotes/BTC-USD",
headers={"Authorization": f"Bearer {API_KEY}"}
)
print(resp.json()["data"]["price"])
# Batch quotes
resp = requests.post(
f"{BASE}/v1/quotes/batch",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"symbols": ["BTC-USD", "ETH-USD", "SOL-USD"]}
)
for sym, data in resp.json()["data"].items():
print(f"{sym}: {data['price']}")JAVASCRIPT
const API_KEY = "wde_YOUR_KEY";
const BASE = "https://api.waretto.com";
const res = await fetch(`${BASE}/v1/quotes/BTC-USD`, {
headers: { "Authorization": `Bearer ${API_KEY}` }
});
const { data } = await res.json();
console.log(data.price);03 — Subscribe to WebSocket
JAVASCRIPT
const ws = new WebSocket(
"wss://api.waretto.com/v1/stream?apiKey=wde_YOUR_KEY&symbols=BTC/USD,ETH/USD"
);
ws.onmessage = (event) => {
const msg = JSON.parse(event.data);
if (msg.type === "quote") {
console.log(`${msg.symbol}: ${msg.data.price}`);
}
};What's next?
- REST API Reference — All endpoints, parameters, and response formats
- WebSocket Reference — Message types, subscribe/unsubscribe, heartbeat
- Upgrade your plan — Get higher rate limits, real-time stocks, and more