World Bank API
Returns World Bank indicator values, country and aggregate details, indicator metadata and per-year snapshots across all countries.
View as Markdown| GET | /worldbank/projects | World Bank projects and operations, newest approval first, filtered by country or a text query: loans, grants and their sectors. |
| GET | /worldbank/project | One World Bank project or operation by its id, such as P515028: country, amounts, approval and closing dates, borrower and sectors. |
| GET | /worldbank/indicator | Values of one indicator for one country, 50 per page, newest first. |
| GET | /worldbank/country | One country or aggregate: its names, region, income level and capital. |
| GET | /worldbank/countries | Every country and regional aggregate the World Bank lists, with region and income level, 50 per page. |
| GET | /worldbank/snapshot | One indicator for every country and aggregate, in one year or all years, 50 per page. |
| GET | /worldbank/indicators | The indicators the World Bank publishes, 50 per page, or those of one topic. |
| GET | /worldbank/indicatorInfo | One indicator: its name, unit, source, what it measures and its topics. |
| GET | /worldbank/topics | The World Bank's topics, such as Agriculture & Rural Development, with what each covers. |
| GET | /worldbank/sources | The databases the World Bank's indicators come from, such as World Development Indicators, 50 per page. |
| GET | /worldbank/classes | The World Bank country groupings of one kind: regions, income levels or lending types. |
projects
/v1/worldbank/projectsWorld Bank projects and operations, newest approval first, filtered by country or a text query: loans, grants and their sectors.
Parameters
countrystring | ISO 3166 alpha-2 country code, such as ID, to list the projects of one country. e.g. ID |
querystring | Text to find in a project's name or description, such as education. |
limitinteger | Items per page, 1 to 100. default 20e.g. 5 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
agency | string |
approvedDate | string |
borrower | string |
closingDate | string |
country | string |
grantUsd | integer (int64) |
ibrdUsd | integer (int64) |
id | string |
idaUsd | integer (int64) |
name | string |
region | string |
sector | string |
totalUsd | integer (int64) |
curl "https://api.hoshime.com/v1/worldbank/projects?country=ID&limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/projects?country=ID&limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/projects?country=ID&limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "agency": "…", "approvedDate": "…", "borrower": "…", "closingDate": "…", "country": "…", "grantUsd": 0, "ibrdUsd": 0, "id": "abc123", "idaUsd": 0, "name": "…", "region": "…", "sector": "…", "totalUsd": 0 } ], "meta": { "cached": false, "endpoint": "projects", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
project
/v1/worldbank/projectOne World Bank project or operation by its id, such as P515028: country, amounts, approval and closing dates, borrower and sectors.
Parameters
idstring required | World Bank project id, such as P515028. e.g. P515028 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
agency | string |
approvedDate | string |
borrower | string |
closingDate | string |
country | string |
grantUsd | integer (int64) |
ibrdUsd | integer (int64) |
id | string |
idaUsd | integer (int64) |
name | string |
region | string |
sector | string |
totalUsd | integer (int64) |
curl "https://api.hoshime.com/v1/worldbank/project?id=P515028" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/project?id=P515028", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/project?id=P515028", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "agency": "…", "approvedDate": "…", "borrower": "…", "closingDate": "…", "country": "…", "grantUsd": 0, "ibrdUsd": 0, "id": "abc123", "idaUsd": 0, "name": "…", "region": "…", "sector": "…", "totalUsd": 0 }, "meta": { "cached": false, "endpoint": "project", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
indicator
/v1/worldbank/indicatorValues of one indicator for one country, 50 per page, newest first.
Parameters
countrystring required | ISO 2 or 3 letter country code, such as US or USA, or an aggregate such as WLD. e.g. ID |
indicatorstring required | Indicator code, such as NY.GDP.MKTP.CD for GDP in current US dollars. e.g. NY.GDP.MKTP.CD |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
date | string |
value | number (double) | null |
curl "https://api.hoshime.com/v1/worldbank/indicator?country=ID&indicator=NY.GDP.MKTP.CD" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/indicator?country=ID&indicator=NY.GDP.MKTP.CD", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/indicator?country=ID&indicator=NY.GDP.MKTP.CD", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "date": "2025", "value": 1445642584163.81 }, { "date": "2024", "value": 1396301788461.69 } ], "meta": { "cached": false, "endpoint": "indicator", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
country
/v1/worldbank/countryOne country or aggregate: its names, region, income level and capital.
Parameters
countrystring required | ISO 2 or 3 letter country code, such as US or USA. e.g. ID |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
capitalCity | string |
code | string |
incomeLevel | string |
iso2 | string |
latitude | number (double) |
longitude | number (double) |
name | string |
region | string |
curl "https://api.hoshime.com/v1/worldbank/country?country=ID" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/country?country=ID", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/country?country=ID", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "capitalCity": "Jakarta", "code": "IDN", "incomeLevel": "Upper middle income", "iso2": "ID", "latitude": -6.19752, "longitude": 106.83, "name": "Indonesia", "region": "East Asia & Pacific" }, "meta": { "cached": false, "endpoint": "country", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
countries
/v1/worldbank/countriesEvery country and regional aggregate the World Bank lists, with region and income level, 50 per page.
Parameters
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
capitalCity | string |
code | string |
incomeLevel | string |
iso2 | string |
latitude | number (double) |
longitude | number (double) |
name | string |
region | string |
curl "https://api.hoshime.com/v1/worldbank/countries" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/countries", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/countries", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "capitalCity": "Oranjestad", "code": "ABW", "incomeLevel": "High income", "iso2": "AW", "latitude": 12.5167, "longitude": -70.0167, "name": "Aruba", "region": "Latin America & Caribbean" }, { "capitalCity": "", "code": "AFE", "incomeLevel": "Aggregates", "iso2": "ZH", "latitude": 0, "longitude": 0, "name": "Africa Eastern and Southern", "region": "Aggregates" } ], "meta": { "cached": false, "endpoint": "countries", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
snapshot
/v1/worldbank/snapshotOne indicator for every country and aggregate, in one year or all years, 50 per page.
Parameters
indicatorstring required | Indicator code, such as NY.GDP.MKTP.CD for GDP in current US dollars. e.g. NY.GDP.MKTP.CD |
yearinteger | Year to return. Omit it for every year the indicator covers. e.g. 2024 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
code | string |
country | string |
date | string |
value | number (double) | null |
curl "https://api.hoshime.com/v1/worldbank/snapshot?indicator=NY.GDP.MKTP.CD&year=2024" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/snapshot?indicator=NY.GDP.MKTP.CD&year=2024", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/snapshot?indicator=NY.GDP.MKTP.CD&year=2024", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "code": "AFE", "country": "Africa Eastern and Southern", "date": "2024", "value": 1252564134751.16 }, { "code": "AFW", "country": "Africa Western and Central", "date": "2024", "value": 737366967283.718 } ], "meta": { "cached": false, "endpoint": "snapshot", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
indicators
/v1/worldbank/indicatorsThe indicators the World Bank publishes, 50 per page, or those of one topic.
Parameters
topicinteger | Topic id from the topics endpoint, such as 1 for Agriculture & Rural Development. Omit it for every indicator. e.g. 1 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
id | string |
name | string |
source | string |
sourceId | string |
sourceNote | string |
sourceOrganization | string |
topics | Topic[] |
id | string |
name | string |
sourceNote | string |
unit | string |
curl "https://api.hoshime.com/v1/worldbank/indicators?topic=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/indicators?topic=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/indicators?topic=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "AG.AGR.TRAC.NO", "name": "Agricultural machinery, tractors", "source": "WDI Database Archives", "sourceId": "57", "sourceNote": "Agricultural machinery refers to the number of wheel and crawler tractors (excluding garden tractors) in use in agriculture at the end of th…", "sourceOrganization": "Food and Agriculture Organization, electronic files and web site.", "topics": [ { "id": "1", "name": "Agriculture & Rural Development", "sourceNote": "" } ], "unit": "" }, { "id": "AG.CON.FERT.PT.ZS", "name": "Fertilizer consumption (% of fertilizer production)", "source": "World Development Indicators", "sourceId": "2", "sourceNote": "Fertilizer consumption measures the quantity of plant nutrients and is calculated as production plus imports minus exports. Fertilizer produ…", "sourceOrganization": "FAO electronic files and web site, Food and Agriculture Organization of the United Nations (FAO), publisher: Food and Agriculture Organizati…", "topics": [ { "id": "1", "name": "Agriculture & Rural Development", "sourceNote": "" } ], "unit": "" } ], "meta": { "cached": false, "endpoint": "indicators", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
indicatorInfo
/v1/worldbank/indicatorInfoOne indicator: its name, unit, source, what it measures and its topics.
Parameters
indicatorstring required | Indicator code, such as NY.GDP.MKTP.CD for GDP in current US dollars. e.g. NY.GDP.MKTP.CD |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
id | string |
name | string |
source | string |
sourceId | string |
sourceNote | string |
sourceOrganization | string |
topics | Topic[] |
id | string |
name | string |
sourceNote | string |
unit | string |
curl "https://api.hoshime.com/v1/worldbank/indicatorInfo?indicator=NY.GDP.MKTP.CD" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/indicatorInfo?indicator=NY.GDP.MKTP.CD", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/indicatorInfo?indicator=NY.GDP.MKTP.CD", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "id": "NY.GDP.MKTP.CD", "name": "GDP (current US$)", "source": "World Development Indicators", "sourceId": "2", "sourceNote": "Gross domestic product is the total income earned through the production of goods and services in an economic territory during an accounting…", "sourceOrganization": "Country official statistics, National Statistical Organizations and/or Central Banks;\nNational Accounts data files, Organisation for Economi…", "topics": [ { "id": "3", "name": "Economy & Growth", "sourceNote": "" } ], "unit": "" }, "meta": { "cached": false, "endpoint": "indicatorInfo", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
topics
/v1/worldbank/topicsThe World Bank's topics, such as Agriculture & Rural Development, with what each covers.
Parameters
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
id | string |
name | string |
sourceNote | string |
curl "https://api.hoshime.com/v1/worldbank/topics" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/topics", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/topics", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "1", "name": "Agriculture & Rural Development", "sourceNote": "For the 70 percent of the world's poor who live in rural areas, agriculture is the main source of income and employment. But depletion and d…" }, { "id": "2", "name": "Aid Effectiveness", "sourceNote": "Aid effectiveness is the impact that aid has in reducing poverty and inequality, increasing growth, building capacity, and accelerating achi…" } ], "meta": { "cached": false, "endpoint": "topics", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
sources
/v1/worldbank/sourcesThe databases the World Bank's indicators come from, such as World Development Indicators, 50 per page.
Parameters
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
code | string |
dataAvailable | boolean |
description | string |
id | string |
metadataAvailable | boolean |
name | string |
updateDate | string |
url | string |
curl "https://api.hoshime.com/v1/worldbank/sources" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/sources", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/sources", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "code": "DBS", "dataAvailable": true, "description": "", "id": "1", "metadataAvailable": true, "name": "Doing Business", "updateDate": "2021-08-18", "url": "" }, { "code": "IDS", "dataAvailable": true, "description": "", "id": "6", "metadataAvailable": true, "name": "International Debt Statistics", "updateDate": "2026-11-05", "url": "" } ], "meta": { "cached": false, "endpoint": "sources", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }
classes
/v1/worldbank/classesThe World Bank country groupings of one kind: regions, income levels or lending types.
Parameters
kindstring required | Grouping to list: region, incomeLevel or lendingType.regionincomeLevellendingTypee.g. incomeLevel |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
code | string |
id | string |
name | string |
curl "https://api.hoshime.com/v1/worldbank/classes?kind=incomeLevel" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/worldbank/classes?kind=incomeLevel", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/worldbank/classes?kind=incomeLevel", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "code": "XD", "id": "HIC", "name": "High income" }, { "code": "XY", "id": "INX", "name": "Not classified" } ], "meta": { "cached": false, "endpoint": "classes", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "worldbank", "requestId": "req_2Xb9kQ…", "units": 1 } }