{"uid":"cap_NoT5Acm0J8xeewld_BRNg","slug":"economic-data-explorer-top-countries-by-indicator-cec26dc4","name":"Economic Data Explorer - Top Countries by Indicator","description":"Interactive dashboard for exploring economic, demographic, and health indicators across countries. 265 indicators, 298 countries.","url":"https://econdash.org/api/v1/m2m/timeseries/%7Bcode%7D/top-countries","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"Indicator code, e.g. NY.GDP.MKTP.CD"}}},"queryParams":{"type":"object","properties":{"n":{"type":"integer","maximum":50,"minimum":1,"description":"Number of top countries to return"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":[{"date":"2023-01-01","iso3":"USA","name":"United States","value":27360000000000}]},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Uyo3kTWp0gd7Y7YsxzN17","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the top N countries ranked by a specific economic, demographic, or health indicator for the most recent available date","exampleAgentPrompt":"Show me the top 15 countries ranked by GDP using the indicator code NY.GDP.MKTP.CD from the Economic Data Explorer.","exampleUseCases":null,"resultDescription":"A JSON array of objects, each containing a date (most recent available), ISO3 country code, country name, and the indicator value — sorted descending by value, limited to the requested number of top countries.","failureModes":["Invalid or unknown indicator code returns 404 or empty result","n parameter out of range (must be 1–50) returns validation error","Network or payment failure returns 402 or 5xx","Indicator has no recent data for any country returns empty array"],"whenToPreferThis":"Use this endpoint when you need a ranked list of countries for a specific World Bank-style indicator code (e.g. NY.GDP.MKTP.CD) and want to identify top performers. Ideal for comparative country analysis, leaderboard generation, or data enrichment tasks involving 265+ economic, demographic, and health indicators across 298 countries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:54:35.058Z","isFirstParty":false}