Market candles and statutes, behind one API.
Aggre is a data bank with a single keyed HTTP API. The first release serves exchange candles and the current text of laws from official sources. Every response says where it came from, how fresh it is, and under what terms you may use it.
Sign in with Google, GitHub or Orbbit; your account is created on first sign-in. No payment details are asked for.
# 24 hourly SOL-USDC candles from OKX spot
curl -G "https://api.aggre.org/v1/finance/market/candles_1h" \
-H "Authorization: Bearer $AGGRE_API_KEY" \
-d instrument_id=OKX:SPOT:SOL-USDC -d limit=24
# Five Taiwan statutes, English versions
curl -G "https://api.aggre.org/v1/legal/statutes/instruments" \
-H "Authorization: Bearer $AGGRE_API_KEY" \
-d jurisdiction=TW -d language=en -d limit=5Status at a glance
Rolling out
13of 32 datasets
in the first release; collection is switched on source by source
Routes only
17of 32 datasets
routes exist, nothing collects into them, reads come back empty
Not offered
2of 32 datasets
not collected and not promised: waiting on an official API or authorization
- See every dataset and its status
What is in it
Two kinds of data in the first release, with their limits stated up front. The full list, with status, is on the datasets page.
Market candles
OKX spot, 1-minute, 1-hour and 1-day bars.
- Confirmed bars only: a bar still forming is never served.
- A short, curated instrument list (it starts with SOL-USDC and BTC-USDT), not the whole venue.
meta.statustells you when the newest bar isstaleor the range isempty.- One venue collected (OKX spot), no streaming. Perpetual-contract datasets exist as empty routes; nothing flows into them yet.
Legal statutes
8 official sources in the first release, current versions only.
- Laws and regulations from Taiwan, Japan, the UK, Canada, the EU, the US (CFR), Germany and Australia.
- Article-level text with the source URL, dates and status of each law.
- Each record carries
license,attributionandrestricted. - Collected only through official APIs and open data. Singapore and China are not offered yet.
How it works
1. Sign in and make a key
Sign in to the console, then create an API key under your personal account or an organization. The secret is shown once.
2. Call the API from your server
Send the key as
Authorization: Bearer. The API sets no cookies and allows no browser cross-origin calls, so keep the key on a server.3. Watch usage and limits
Each key has a request quota. The console shows usage per key and per day, and
GET /v1/whoamireturns the same for the key you present.
What you can rely on, and what you cannot yet
Stated in every response
meta.status,fetchedAtanddataDate: whether the data is fresh, stale or empty, and when it was read.meta.attribution,meta.licensesandmeta.restrictedon statute responses, so attribution is not something you have to remember.- An
x-request-idheader on every response and a stable error envelope with machine-readable codes. - Usage records hold the method, route template, dataset, status and request id. They hold no IP address and no query text.
Early-access limits
- Sources are being switched on one at a time. The API's own dataset list is the final word on what has data.
- No paid plans, no service-level agreement, and no payment flow yet.
- No history for statutes, no search over them, no streaming, and one trading venue.
- The not-available list is kept current.
Try it with your own key
Creating an account takes one sign-in. The docs need no account.