A· AURUM DATA

AURUM DATA / INTEGRATION GUIDE

Three steps,
bring data into research.

One API key connects Python scripts, research tools and AI agents. REST and OpenAPI entry points support point-in-time queries and Markdown output.

PythoncURLOpenAPIAI AgentMarkdown
BASE URLhttp://47.82.95.145/api
01

Get a key

Created automatically at signup; new users receive a one-time total quota of 500 calls. Paid plans add a monthly quota.

02

Choose a path

Scripts call REST directly; AI tools import OpenAPI; agents use the same endpoints.

03

Verify a call

Check health first, then fetch one real observation to confirm authentication and timezone handling.

01 / API KEY

Start with your 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.

Quota belongs to the account and is shared by all keys.

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.

Go to API settings to get a key ↗

02 / CONNECT

Choose an integration path

All three share one Base URL and one Bearer key; only the calling location differs.

SCRIPT

Call directly from code

Python, cURL, Node.js or any HTTP client can call the REST endpoints directly, ideal for research scripts and scheduled jobs.

AI TOOL

Import OpenAPI

AI tools or agent platforms that support OpenAPI import can read the schema and register the queries as callable tools.

AGENT

Natural-language calls

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.

About MCP

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

Verify with two requests

Health checks need no key; observation queries require a Bearer key. Copy the requests below into a terminal.

cURL
# 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"
Expected result

count is greater than 0; observations[] sorted by period_date ascending; value is a string, with known_at、snapshot_at and quality_flags。

Response headers

Successful responses include X-RateLimit-Remaining and X-Quota-Period (lifetime, monthly or daily); daily and monthly quotas also return the next reset time.

Try it in an AI tool
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

Where data lives and when it is available

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.

AZURE

Azure PostgreSQL

Macro indicators, Treasury yields and official gold-reserve observations are stored in the gold_data dataset, organized by series and observation period.

FRED / ALFRED

Vintages + snapshots

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.

IMF

Current snapshot

Central-bank gold reserves and transactions are current snapshots, not historical releases; as_of must be later than the capture time to return data.

Research boundaries

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

FAQ

Where do I get, reset or revoke an API key?

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.

How is quota calculated?

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.

Why set as_of=2030 for IMF data?

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.

What do 401, 403, 404, 422 and 429 mean?

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.

Does it support MCP?

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.

Can the data be redistributed commercially?

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.