quantamentrySign in

Developer API

Scores over JSON, on every plan

Daily credibility scores, seven-dimension breakdowns, 90-day history and macro indicators for 169 emerging & frontier markets — the same data the dashboard renders, as clean JSON.

Authentication

Create an API key on your account page (any active plan, including the trial) and send it as a Bearer token. Keys are org-scoped: if your subscription lapses they stop working, and start again when you restart it.

curl -H "Authorization: Bearer qm_YOUR_KEY" \
  https://www.quantamentry.com/api/v1/scores/TUR

Endpoints

GET /api/v1/scores
?benchmark=true|false
All countries: composite score, 7/30-day deltas, coverage, freshness.
GET /api/v1/scores/{iso}One country in full: seven dimensions, executive summary, peer context, provenance.
GET /api/v1/scores/{iso}/history
?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD
Daily composite history (90 days by default).
GET /api/v1/macro/{iso}All macro indicators for one country (derived/clean-licence series only).
GET /api/v1/countriesCountry metadata: names, regions, central banks, coverage tier.

Rate limit: 60 requests/min per key. Responses are JSON; errors use { "error": "..." } with conventional status codes (401 bad key, 403 revoked key or lapsed subscription, 429 rate-limited). Scores refresh daily; history is point-in-time. Raw single-source BIS/IMF series are not exposed — derived and clean-licence indicators only.

MCP server

The same data is exposed as a read-only Model Context Protocol server at /api/mcp (streamable HTTP, JSON-RPC 2.0) — six tools covering scores, rankings, history, coverage, methodology and country comparison. Authenticate with the same Bearer key:

{
  "mcpServers": {
    "quantamentry": {
      "type": "http",
      "url": "https://www.quantamentry.com/api/mcp",
      "headers": { "Authorization": "Bearer qm_YOUR_KEY" }
    }
  }
}

No key yet? Start a 15-day free trial — API access is included in every plan. Questions: [email protected].