OSI Finance REST API v1.0
Calculate Taxes
Calculates Income, FICA, capital gains, social security, and state taxes
1min
POST
https://osifinance.com/api/v1/all-taxes
Body Parameters
body
object
*
Description
Parameters for calculating taxes
api_key
ApiKey
*
sources
Sources
filing_status
FilingStatus
income
Income
salary
Salary
capital_gains_long
CapitalGainsLong
capital_gains_short
CapitalGainsShort
federal_deductions
FederalDeductions
federal_agi
FederalAgi
state_agi
StateAgi
credits_federal
CreditsFederal
credits_state
CreditsState
state_residence
StateResidence
state_occupation
StateOccupation
county_residence
CountyResidence
county_occupation
CountyOccupation
pay_periods
PayPeriods
birth_year
BirthYear
dependents
Dependents
filersOver65
FilersOver65
traditional_esp_contributions
TraditionalEspContributions
traditional_ira_contributions
TraditionalIraContributions
pmi
Pmi
Responses
200
OK
object
status
string<success>
data
object
sources
object
400
Bad request
object
error
string
401
Unauthorized
object
error
string<No API key provided. Please provide an API Key. | Invalid API key provided. Please register at https://osifinance.com/signup to get a valid API key.>
404
Not found
object
error
string
429
Too Many Requests
object
error
string<Usage Limit Reached. You have reached the maximum number of daily requests for your account. You can get a higher limit by upgrading to a paid plan or through our give2get program. Learn more at https://osifinance.com/resources/help/give2get?question=How%20can%20I%20get%20free,%20unlimited%20access%20to%20the%20API%20and%20calculators?.>
500
Internal server error
object
error
string
Updated 25 Mar 2024
Did this page help you?