Μετάβαση στο περιεχόμενο
GET /v1/reverse

Gross income for a target net

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/taxbracket-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/taxbracket-api/v1/reverse" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/taxbracket-api/v1/reverse", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/taxbracket-api/v1/reverse");
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/reverse",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "tax": 6307.5,
        "note": "Gross income required to take home the target net, found by bisection on the provided schedule.",
        "input": {
            "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,
            "target_net": 43692.5
        },
        "required_gross": 50000,
        "after_tax_income": 43692.5,
        "marginal_rate_percent": 22,
        "effective_rate_percent": 12.615
    },
    "meta": {
        "timestamp": "2026-06-03T17:41:56.567Z",
        "request_id": "2cb06020-621b-4525-9f8a-e9e880a129e0"
    },
    "status": "ok",
    "message": "Gross from net",
    "success": true
}