imf-data-api-guide

imf-data-api-guide is a skill for Claude Code, Codex from wentorai/research-plugins. It costs 17 tokens per session (1,694 once invoked), scanned C, original, MIT.

A programming guide for the International Monetary Fund (IMF) Data API, which provides country-level data on indicators such as GDP, inflation, trade, exchange rates, and government finances.

In plain words
What is it for?
Use it to compare countries, retrieve time-series indicators, and support research in macroeconomics, development, international finance, and policy analysis.
Why use it?
It removes the need to download international economic tables manually and provides data in a format that programs can process directly. No API key is required.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to compare countries, retrieve time-series indicators, and support research in macroeconomics, development, international finance, and policy analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wentorai/research-plugins/imf-data-api-guide
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wentorai/research-plugins --skill imf-data-api-guide
Clone the repo
git clone --depth 1 https://github.com/wentorai/research-plugins

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for imf-data-api-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/wentorai/research-plugins/imf-data-api-guide/github.svg)](https://agentmods.dev/skills/wentorai/research-plugins/imf-data-api-guide)
Your own site
<a href="https://agentmods.dev/skills/wentorai/research-plugins/imf-data-api-guide"><img src="https://agentmods.dev/badge/skills/wentorai/research-plugins/imf-data-api-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for imf-data-api-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/wentorai/research-plugins/imf-data-api-guide"><img src="https://agentmods.dev/badge/skills/wentorai/research-plugins/imf-data-api-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,694 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01694
Opus 5 $0.00009 $0.00847
Sonnet 5 $0.00003 $0.00339
Haiku 4.5 $0.00002 $0.00169

Measured 7d ago against content hash 378034852b9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

imf-data-api-guide scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s "https://www.imf.org/external/datamapper/api/v1" | python3 -m json.tool

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl "https://www.imf.org/external/datamapper/api/v1/NGDP_RPCH?periods=2024"
skills/domains/economics/imf-data-api-guide/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

IMF Data API Guide

Overview

The International Monetary Fund (IMF) provides a free JSON-based REST API for accessing its extensive collection of macroeconomic and financial datasets. The API covers data from virtually every country and territory, spanning indicators such as GDP, inflation, trade balances, exchange rates, government finance statistics, and balance of payments.

For economics researchers, the IMF API is an essential tool for accessing authoritative international economic data without manual downloads. The data powers research in macroeconomics, development economics, international finance, and policy analysis. The API provides access to key datasets including the World Economic Outlook (WEO), International Financial Statistics (IFS), Balance of Payments Statistics (BOP), and the Direction of Trade Statistics (DOTS).

The API requires no authentication and returns JSON data. It uses a hierarchical structure of datasets, indicators, and country/time dimensions.

Authentication

No authentication is required. The IMF Data API is completely free and open.

# No API key needed
curl "https://www.imf.org/external/datamapper/api/v1/NGDP_RPCH?periods=2024"

Core Endpoints

List Available Datasets

GET https://www.imf.org/external/datamapper/api/v1
curl -s "https://www.imf.org/external/datamapper/api/v1" | python3 -m json.tool

List Indicators in a Dataset

GET https://www.imf.org/external/datamapper/api/v1/indicators

Get Data for an Indicator

GET https://www.imf.org/external/datamapper/api/v1/{indicator}?periods={year}

Common Indicators:

  • NGDP_RPCH: Real GDP growth (annual percent change)
  • PCPIPCH: Inflation, consumer prices (annual percent change)
  • BCA_NGDPD: Current account balance (percent of GDP)
  • GGXWDG_NGDP: Government gross debt (percent of GDP)
  • LUR: Unemployment rate

Example: Get real GDP growth for all countries in 2024:

curl -s "https://www.imf.org/external/datamapper/api/v1/NGDP_RPCH?periods=2024" \
  | python3 -m json.tool

Read the full file on GitHub · 175 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 175 lines · 17 tokens per session scan C 378034852b9b

Subscribe to this mod's changes

imf-data-api-guide is a skill published in the GitHub repository wentorai/research-plugins (291 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 1,694 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

trading-risk-gate

Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.

winstonkoh87/Athena-Public · 53 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens