World Bank WDI Indicators avatar

World Bank WDI Indicators

Pricing

$0.49 / 1,000 observation results

Go to Apify Store
World Bank WDI Indicators

World Bank WDI Indicators

Collect country-year GDP and population observations for market research with source attribution and explicit missing values.

Pricing

$0.49 / 1,000 observation results

Rating

0.0

(0)

Developer

Lantern Lab

Lantern Lab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect country-year GDP and population observations for market research with source attribution and explicit missing values.

Input

{
"countries": [
"US"
],
"indicators": [
"SP.POP.TOTL"
],
"startYear": 2023,
"endYear": 2024,
"maxItems": 20
}

Only WDI source 2 and SP.POP.TOTL (population), NY.GDP.MKTP.CD (GDP current USD), NY.GDP.PCAP.CD (GDP per capita current USD) are supported. No arbitrary source or indicator passthrough. Attribution: World Bank, World Development Indicators, original indicator source as described at https://data.worldbank.org/indicator/

maxItems defaults to 100 (hard maximum 1,000 unique billable rows). maxUpstreamRequests defaults to 5 (hard maximum 20); every attempt including failed requests counts. Input limits are enforced in code as well as the UI. Omitted request limits use the documented finite default.

Output and charging

One observation row per unique stable ID, with id, country, countryName, indicator, indicatorName, year, value, unit, source, license, licenseUrl, sourceUrl, and collectedAt. Missing optional source fields are null, never fabricated. Free input_status rows distinguish empty input results from HTTP failures, schema drift, blocked/rate-limited sources and budget stops. A free run_summary row and RUN_SUMMARY key-value record expose result count, actual SDK charged count, failures, duplicates, request attempts and stop reason. A cap or failure marks the summary partial; already stored results remain real observations.

Only unique real result rows pass the named result event to Actor.pushData. No run-start charge is emitted. Free statuses, summary rows and missing-value rows have no event. The price is $0.49 per 1,000 observation rows, with no start fee. A pre-push SDK budget check prevents the SDK from attempting an extra paid row at a depleted budget; its charge-limit response stops collection immediately. Positive default dataset-item pricing is refused to keep status rows free; only the named result event is priced, with no automatic run-start charge. Local runs may report zero charged events when billing is not configured. Empty successful collections are valid; failed collections with no real results fail the run after saving diagnostics. Storage or charging failures abort the run and are not disguised as upstream errors.

Cost and access boundaries

Built-in Node HTTPS fetch only; fixed official hostname, no credentials, cookies, arbitrary input URLs, proxies, redirects, browser or paid upstream. Requests are sequential and separated by at least 1.1 seconds, timeout 20 seconds per request, decoded response hard limit 5 MiB. Collection has a 180-second wall-clock budget (plus bounded final storage writes). The SDK handles abort shutdown; an abort listener also cancels the in-flight fetch/body or pacing wait and prevents new requests and result charges. Diagnostics on platform abort are best-effort because the SDK exits. No retries. HTTP 403/429 stops the run, preserving partial results. Requests and item ceilings bound work; platform usage is included in the result price. Rerunning starts a fresh dataset; restart/resume idempotency across process crashes is not implemented.

Official upstream references

The official API can be slow or temporarily unavailable. A network error or transient server error receives one retry when the request and time budgets allow. Each attempt counts toward the same limit. An unrecovered lookup produces explicit diagnostics and no observation charge.