{"uid":"cap_vsR_JgM7SQvKAma0y_lE2","slug":"gdp-per-capita-weighted-mean-calculator-6f1b88ba","name":"GDP per Capita Weighted Mean Calculator","description":"GDP per capita - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. Metric: GDP per capita. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded weighted result mean report.","url":"https://market.datapackvibe.com/x402/assistant-finance-gdp-per-capita-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["gdp","population"],"properties":{"gdp":{"type":"number","default":1000000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"},"population":{"type":"number","default":1000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0}},"additionalProperties":false},"default":[{"gdp":1000000,"population":1000},{"gdp":1100000,"population":1100},{"gdp":1000000,"population":1000},{"gdp":1100000,"population":1100}],"maxItems":200,"minItems":2},"weights":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"default":[1,2,1,2],"maxItems":200,"minItems":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yuFqeZKe5JgauOvtMSux_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates a weighted mean of GDP per capita across up to 200 supplied data rows using nonnegative weights, returning the formula, units, and limitations.","exampleAgentPrompt":"Calculate the weighted mean GDP per capita for these 4 economies: rows [{gdp: 2000000, population: 1000}, {gdp: 3000000, population: 1500}, {gdp: 1500000, population: 800}, {gdp: 4000000, population: 2000}] with weights [1, 2, 1, 3] — give me the formula and units too.","exampleUseCases":[{"title":"Regional bloc GDP per capita summary","prompt":"I have GDP and population figures for 5 EU member states and want a weighted average GDP per capita where the weights are each country's trade share — rows are [{gdp:500000000,population:4000000},{gdp:800000000,population:6000000},{gdp:1200000000,population:9000000},{gdp:300000000,population:2000000},{gdp:600000000,population:5000000}] and weights [0.1,0.2,0.4,0.1,0.2]. Can you compute the weighted mean?"},{"title":"Investment portfolio country exposure weighting","prompt":"For my emerging market analysis, compute the weighted mean GDP per capita for these 3 countries using their portfolio allocation weights: rows [{gdp:900000000,population:10000000},{gdp:450000000,population:8000000},{gdp:1100000000,population:12000000}] with weights [0.5,0.3,0.2]."},{"title":"Academic research composite economic indicator","prompt":"I'm writing a paper comparing economic blocs and need a weighted mean GDP per capita. Use these 6 data rows: [{gdp:1000000,population:1000},{gdp:1100000,population:1100},{gdp:950000,population:900},{gdp:1200000,population:1300},{gdp:1050000,population:1050},{gdp:1080000,population:1080}] with equal weights of 1 each. Include the formula and limitations in the output."}],"resultDescription":"Returns a JSON object containing the weighted mean GDP per capita value, the formula used, the units of measurement, and a note on limitations (e.g. that this is not a pooled accounting ratio and uses only supplied figures).","failureModes":["Fewer than 2 rows supplied — minimum array length is 2","More than 200 rows supplied — exceeds maximum","Population value of zero supplied — exclusiveMinimum constraint violated","Weights array length does not match rows array length","Negative weight values provided — only nonnegative weights allowed","GDP or population values exceed maximum of 1,000,000,000,000","Missing required fields (gdp or population) in a row object","Payment not included or insufficient — endpoint requires 0.01 USDC via x402"],"whenToPreferThis":"Choose this endpoint when you need a statistically weighted mean of GDP per capita across multiple observations (up to 200), and you want explicit formula documentation and unit clarity alongside the result. It is ideal when you have custom nonnegative weights (e.g. trade shares, portfolio allocations, population shares) that differ from simple arithmetic averaging. Prefer this over pooled ratio calculators when you want a weighted statistical mean rather than an aggregate accounting ratio.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T19:03:22.556Z","isFirstParty":false,"canonicalSlug":"gdp-per-capita-weighted-mean-calculator-6f1b88ba"}