API / URL Parameters

Compute optimal tax rates programmatically via URL parameters. All computation is performed client-side — no server required.

/api?epsilon=0.25&a=1.75&g=0.00
ParameterTypeRangeDefaultDescription
epsilonfloat0.01–1.00.25Elasticity of taxable income
afloat1.0–4.01.75Pareto parameter of income distribution
gfloat0.0–1.00.0Social welfare weight on top earners
{ "epsilon": 0.25, "a": 1.75, "g": 0, "tau_star": 69.5652, "tau_star_fraction": 0.695652, "type": "revenue-maximising", "formula": "tau* = 1 / (1 + a * epsilon)", "reference": "Saez (2001). Review of Economic Studies, 68(1), 205-229.", "warnings": { "high_elasticity": false, "low_pareto": false }, "computed_at": "2026-05-04T13:21:41.934Z" }