Open developer access
Country indicators,
one JSON request.
Compare up to five of Charmgen’s 60 markets across 32 World Bank indicators. No API key or account is required.
Comparison endpoint
GET /api/compare
Pass comma-separated ISO 3166-1 alpha-3 country codes and one World Bank indicator code. Values are returned as year-keyed series; missing observations are omitted rather than changed to zero.
curl "https://charmgen.com/api/compare?countries=USA,GBR&indicator=NY.GDP.PCAP.CD"
Parameters
countriesRequired in practice; 1–5 supported country codes, comma-separated.indicatorOne supported World Bank indicator code.Catalog endpoint
GET /api/catalog
Returns every supported country and indicator with display names, units, descriptions and current request limits.
const catalog = await fetch('https://charmgen.com/api/catalog').then(r => r.json());
const data = await fetch('https://charmgen.com/api/compare?countries=JPN,KOR&indicator=IT.NET.USER.ZS').then(r => r.json());
Responsible use
Source and limits
Charmgen normalizes and caches public World Bank Indicators API responses. Always retain the source attribution and reported year. The endpoint is intended for reasonable interactive and research use; download links on country and indicator pages are preferable for bulk work.