Skip to content
DataDocsPlaygroundMCPPricingStatusChangelogSupport Get a free API keySign in

XauCloud Data API

A read-only REST API over HTTPS returning JSON. Base URL:

Base URL

Authentication

Send your key as a bearer token. Keys look like xcd_…, are shown once when created, and are stored only as a SHA-256 hash. Create and revoke keys in the console.

curl "https://data.xaucloud.io/api/data/v1/datasets/calendar?limit=5" \
  -H "Authorization: Bearer $XAUCLOUD_DATA_KEY"

Errors

Errors return JSON with an error code and often a human-readable detail.

HTTPerrorMeaning
400INVALID_DATASET_OR_QUERYUnknown dataset or bad query parameter.
401INVALID_API_KEY / INVALID_OR_EXPIRED_API_KEYMissing, malformed, revoked or expired key.
403DATASET_NOT_AVAILABLEDataset is listed but not on sale (pending redistribution rights).
429QUOTA_EXCEEDED_OR_KEY_CHANGEDMinute, day or month quota reached for this key.
503NO_CURRENT_SOURCE_RECORDSNo fresh records right now. The body still says why; nothing stale is passed off as current.

Rate limits

Quotas apply per key in fixed UTC windows (minute, day, calendar month). Every successful response carries X-RateLimit-Plan; check remaining quota with GET /usage.

PlanPer minutePer dayPer month
sandbox102505,000
developer605,000100,000
professional30030,0001,000,000
business1,000100,0003,000,000

Get a dataset

GET/datasets/{id}?limit=25

Returns the newest rows (1–100, default 25). id is one of: signals, forecasts, event_reactions, release_history, news_reactions, employment, inflation, treasury, positioning, releases, calendar. See datasets for fields.

Response shape
{
  "dataset": "treasury",
  "as_of": "2026-11-25T10:00:00.000Z",
  "frequency": "business daily",
  "source_status": "CURRENT_COLLECTION",
  "sources": [
    {
      "id": "treasury-nominal",
      "last_success_at": "…",
      "status": "CURRENT_COLLECTION"
    }
  ],
  "rows": [
    "…"
  ],
  "qualification": "…"
}

Catalog

GET/catalog

No key needed. Lists every dataset with its rights class and whether it is available.

Usage

GET/usage

Current plan, limits and this key's usage in the active minute, day and month windows.

Freshness fields

source_status is CURRENT_COLLECTION, PARTIAL or STALE_OR_UNAVAILABLE. as_of is when we answered; each source reports its own last_success_at. Collection freshness is not publication freshness: monthly data stays monthly. Sandbox signals carry delayed_hours: 24.

MCP

AI agents can use the read-only public MCP server at https://xaucloud.io/mcp (Streamable HTTP, no auth). See MCP setup.