/v1/tax
Progressive tax on a schedule
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/taxbracket-api/v1/tax" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/taxbracket-api/v1/tax", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/taxbracket-api/v1/tax");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/taxbracket-api/v1/tax",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"tax": 6307.5,
"note": "Marginal/progressive tax on the bracket schedule provided. Effective rate is tax ÷ gross income.",
"input": {
"income": 50000,
"brackets": [
{
"from": 0,
"rate": 10
},
{
"from": 11000,
"rate": 12
},
{
"from": 44725,
"rate": 22
},
{
"from": 95375,
"rate": 24
},
{
"from": 182100,
"rate": 32
},
{
"from": 231250,
"rate": 35
},
{
"from": 578125,
"rate": 37
}
],
"deduction": 0,
"taxable_income": 50000
},
"breakdown": [
{
"to": 11000,
"from": 0,
"rate_percent": 10,
"tax_in_bracket": 1100,
"taxable_in_bracket": 11000
},
{
"to": 44725,
"from": 11000,
"rate_percent": 12,
"tax_in_bracket": 4047,
"taxable_in_bracket": 33725
},
{
"to": 95375,
"from": 44725,
"rate_percent": 22,
"tax_in_bracket": 1160.5,
"taxable_in_bracket": 5275
}
],
"after_tax_income": 43692.5,
"marginal_rate_percent": 22,
"effective_rate_percent": 12.615,
"effective_rate_on_taxable_percent": 12.615
},
"meta": {
"timestamp": "2026-06-03T17:41:56.670Z",
"request_id": "6ccc71db-bab8-431a-bbc2-67e4dd30cd71"
},
"status": "ok",
"message": "Progressive tax",
"success": true
}