Get a key
Created automatically at signup; new users receive a one-time total quota of 500 calls. Paid plans add a monthly quota.
AURUM DATA / INTEGRATION GUIDE
One API key connects Python scripts, research tools and AI agents. REST and OpenAPI entry points support point-in-time queries and Markdown output.
http://47.82.95.145/apiCreated automatically at signup; new users receive a one-time total quota of 500 calls. Paid plans add a monthly quota.
Scripts call REST directly; AI tools import OpenAPI; agents use the same endpoints.
Check health first, then fetch one real observation to confirm authentication and timezone handling.
01 / API KEY
After signing in, create, reset or revoke keys under "My account → API settings". Each account can keep up to 3 active keys for research scripts, backtest environments and production jobs.
The 500-call quota for new users is a one-time total granted at signup and does not refill; creating or resetting keys does not increase it. Monthly (¥28, 1,200 calls/month) and annual (¥300, 1,500 calls/month) plans reset monthly on the subscription anniversary (Beijing time) and do not roll over. Each authenticated data request counts once, including requests with parameter errors.
Authorization: Bearer <YOUR_API_KEY>
Store the key in the environment variable AURUM_API_KEY and inject it at runtime; do not put it in public code, screenshots or chat templates.
02 / CONNECT
All three share one Base URL and one Bearer key; only the calling location differs.
Python, cURL, Node.js or any HTTP client can call the REST endpoints directly, ideal for research scripts and scheduled jobs.
AI tools or agent platforms that support OpenAPI import can read the schema and register the queries as callable tools.
Describe the research question in chat; the agent first checks the catalog, then fetches data by date and as_of while preserving source notes.
Examples read the key from the AURUM_API_KEY environment variable; no real credentials included.
This API natively provides REST and OpenAPI, not a standalone MCP endpoint. MCP-capable clients can connect through an OpenAPI-to-MCP bridge or call the HTTP endpoints directly. Schema URL:http://47.82.95.145/api/openapi.json。
http://47.82.95.145/api/openapi.json
After importing, choose Bearer Token in the tool's auth settings and enter your API key. Before the first call, run GET /v1/series so the model confirms a real series_id instead of inventing series names.
03 / VERIFY
Health checks need no key; observation queries require a Bearer key. Copy the requests below into a terminal.
# 1. Health check (no key, no quota)
curl http://47.82.95.145/api/healthz
# {"status":"ok","database":"ok"}
# 2. Fetch a real observation (with your key)
curl --get "http://47.82.95.145/api/v1/observations" \
--header "Authorization: Bearer $AURUM_API_KEY" \
--data-urlencode "series_id=CPIAUCSL" \
--data-urlencode "as_of=2020-01-01T00:00:00Z" \
--data-urlencode "start=2019-01-01" \
--data-urlencode "end=2019-12-31" \
--data-urlencode "limit=5"
count is greater than 0; observations[] sorted by period_date ascending; value is a string, with known_at、snapshot_at and quality_flags。
Successful responses include X-RateLimit-Remaining and X-Quota-Period (lifetime, monthly or daily); daily and monthly quotas also return the next reset time.
Use the Aurum Data API to query China's monthly gold reserve changes since 2025. Base URL: http://47.82.95.145/api Auth header: Authorization: Bearer <AURUM_API_KEY> Steps: 1. Call GET /v1/series?country=CHN and confirm the series IMF_GOLD_CHG_CHN_M. 2. Call GET /v1/observations?series_id=IMF_GOLD_CHG_CHN_M&as_of=2030-01-01T00:00:00Z&start=2025-01-01. 3. List monthly reserve changes and note that the data is an IMF current snapshot, not verified net purchases.
04 / DATA & STORAGE
Market and macro data is hosted in Microsoft Azure Database for PostgreSQL and served through a read-only HTTPS API. Website accounts and keys use separate protected storage, not the market database.
Macro indicators, Treasury yields and official gold-reserve observations are stored in the gold_data dataset, organized by series and observation period.
Supports querying the vintage visible at a given as_of; vintage dates are daily-grained and conservatively treated as available at 00:00 UTC the next day.
Central-bank gold reserves and transactions are current snapshots, not historical releases; as_of must be later than the capture time to return data.
Reserve changes are balance differences, not verified central-bank net purchases. A missing period does not mean zero; it may simply not have been archived at that as_of. Gold futures ticks are not connected; commercial redistribution rights are still under review.
05 / FAQ
Sign in and open "My account → API settings". You can create named keys, reset existing keys or revoke unused ones. Resetting invalidates the old key immediately; revocation is permanent. Account quota is unchanged.
New users receive a one-time total quota of 500 calls per account, shared by all keys. Paid plans provide 1,200 calls/month (¥28 monthly) or 1,500 calls/month (¥300 annual), reset monthly on the subscription anniversary (Beijing time) and not rolled over. Each authenticated data request counts once; viewing your account, managing keys, health checks and downloading docs do not consume quota. Legacy daily-quota accounts keep 5,000 calls per day, resetting at 00:00 Beijing time.
IMF series store a current snapshot, so known_at equals the capture time. Only when as_of is later than the capture time is the snapshot visible; an earlier as_of returns no rows, meaning no version was available then, not zero. FRED series support real historical as_of values.
401 no Bearer key; 403 invalid or revoked key; 404 unknown series, check /v1/series;422 invalid parameter or timezone format; 429 quota exhausted; stop retrying and check account quota.
There is no standalone MCP endpoint; the native entry points are REST and OpenAPI. MCP-capable clients can use an OpenAPI-to-MCP bridge, or an agent can call the HTTP endpoints directly. Either way uses the same Bearer key and Base URL.
Commercial redistribution rights for the current sources are still under review. FRED series may be owned by third parties, and IMF has its own terms. Before offering the data externally or reselling it, contact stella.lau@huicointelligent.com to confirm the scope of authorization.