{"openapi":"3.1.0","info":{"title":"Agent Data Hub: Tables per country group","version":"1.0.0","description":"One World Bank indicator for every member of a country group as one table. No API key. Every answer names source and licence. Full API: https://api.agentdatahub.de/openapi.json","termsOfService":"https://api.agentdatahub.de/nutzungsbedingungen"},"servers":[{"url":"https://api.agentdatahub.de"}],"paths":{"/api/v1/call/wb-indicator":{"get":{"operationId":"groupTable","summary":"Newest value of every member of a country group, optionally ranked","parameters":[{"name":"indicator","in":"query","required":true,"schema":{"type":"string"},"description":"World Bank WDI code, e.g. SP.POP.TOTL"},{"name":"country","in":"query","required":true,"schema":{"type":"string","enum":["EU27","EA","G7","G20","OECD","ASEAN","AFRICA","ASIA","EUROPE","NORTH_AMERICA","SOUTH_AMERICA","OCEANIA","AMERICAS","WORLD"]},"description":"Country group"},{"name":"period","in":"query","required":false,"schema":{"type":"string","enum":["latest","common"]},"description":"latest (default) or common (one period for all rows)"},{"name":"top","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50},"description":"Rank and return the first N, 1-50"},{"name":"order","in":"query","required":false,"schema":{"type":"string","enum":["desc","asc"]},"description":"desc (default, highest first) or asc"}],"responses":{"200":{"description":"Rows of place, period and value; members without a value in missing","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}