The Global Macro Database on Anansi
The GMD is open source, built as a public good for economic research. We support it in the same spirit: access through Anansi, by API or from your AI agent, is free.
Create a free account
Sign up and confirm your email address. The same account works for both ways in below.
Already have one? Sign in
From your code
The REST API, with a key from your dashboard.
In your dashboard, under Delivery, choose Manage API KeysCreate key.
The key is shown once, so copy it somewhere safe. You can revoke it and create another at any time.
Search the GMD, with your key in place of YOUR_API_KEY.
curl -H "Authorization: Bearer YOUR_API_KEY" "https://anansi-backend.onrender.com/v1/gmd/series?country_code=JPN&q=GDP"Each series in the results has a code.
Fetch a series' values with its code.
curl -H "Authorization: Bearer YOUR_API_KEY" "https://anansi-backend.onrender.com/v1/gmd/series/SERIES_CODE/observations"
Every endpoint, with examples: GMD API reference · OpenAPI spec
In your AI agent
Add the Anansi Data plugin to Claude, ChatGPT or Codex and sign in with the same account. Your agent then finds and fetches GMD series itself.
Then try:
Using the Global Macro Database in Anansi Data, compare inflation in Argentina, Brazil and Mexico since 1960. Show a chart and explain the main differences.