/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/taxbracket-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/taxbracket-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/taxbracket-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "You supply the schedule — works for any country/year. Currency-agnostic. Not tax advice.",
"service": "taxbracket",
"endpoints": {
"/v1/tax": "Total tax, effective & marginal rate, after-tax income and per-bracket breakdown for an income.",
"/v1/reverse": "The gross income needed to take home a target net, on the provided brackets.",
"/v1/brackets": "Validate and normalize a bracket schedule into labelled tiers."
},
"description": "Progressive tax-bracket maths for any schedule you provide: total tax, effective and marginal rates, breakdown, and reverse (gross from net).",
"bracket_format": "Comma list of threshold:rate% pairs, e.g. \"0:10,11000:12,44725:22,95375:24\". A standard deduction can be passed separately."
},
"meta": {
"timestamp": "2026-06-03T17:41:56.781Z",
"request_id": "72e2d083-da90-4027-9c9e-97f7356d442c"
},
"status": "ok",
"message": "Meta",
"success": true
}