Retirement Lab Tax API
The tax API from Retirement Lab — 10 operation(s) for tax.
The tax API from Retirement Lab — 10 operation(s) for tax.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/retirementlab-app:retirementlab-app-tax-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Income Simulator Tax API
version: 0.1.0
tags:
- name: Tax
paths:
/api/tax/countries:
get:
tags:
- Tax
summary: List Supported Countries
operationId: list_supported_countries_api_tax_countries_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties:
items:
type: string
type: array
type: object
title: Response List Supported Countries Api Tax Countries Get
/api/tax/col-index:
get:
tags:
- Tax
summary: Get Col Index Endpoint
description: Return the default cost-of-living index for all supported countries.
operationId: get_col_index_endpoint_api_tax_col_index_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties:
additionalProperties:
type: number
type: object
type: object
title: Response Get Col Index Endpoint Api Tax Col Index Get
/api/tax/policies/{country}:
get:
tags:
- Tax
summary: Get Tax Policy Metadata
operationId: get_tax_policy_metadata_api_tax_policies__country__get
parameters:
- required: true
schema:
type: string
title: Country
name: country
in: path
- required: false
schema:
type: string
title: Citizenship
name: citizenship
in: query
- required: false
schema:
type: string
title: Tax Regime
name: tax_regime
in: query
- required: false
schema:
type: string
title: Wealth Tax Region
name: wealth_tax_region
in: query
- required: false
schema:
type: string
title: Tax Filing Status
name: tax_filing_status
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TaxPolicyMetadataResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/tax/exit-taxes:
get:
tags:
- Tax
summary: List Exit Tax Rules
operationId: list_exit_tax_rules_api_tax_exit_taxes_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ExitTaxRuleListResponse'
/api/tax/exit-taxes/{country}:
get:
tags:
- Tax
summary: Get Exit Tax Rule
operationId: get_exit_tax_rule_api_tax_exit_taxes__country__get
parameters:
- required: true
schema:
type: string
title: Country
name: country
in: path
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ExitTaxRuleResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/tax/aca-medicare:
get:
tags:
- Tax
summary: Get Aca Medicare Metadata
description: 'Return the ACA and Medicare/IRMAA data provenance and values.
Exposes the CMS/HHS source URLs, ``last_verified`` date, and the
published 2026 figures (FPL, benchmark premium, Part B/D premiums,
IRMAA brackets) so the frontend can surface data vintage.'
operationId: get_aca_medicare_metadata_api_tax_aca_medicare_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
title: Response Get Aca Medicare Metadata Api Tax Aca Medicare Get
security:
- HTTPBearer: []
/api/tax/wrappers:
get:
tags:
- Tax
summary: Get Tax Wrappers
operationId: get_tax_wrappers_api_tax_wrappers_get
parameters:
- required: true
schema:
type: string
title: Country
name: country
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TaxWrapperListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/tax/cross-border-assumptions:
get:
tags:
- Tax
summary: Get Cross Border Assumptions
description: 'Return active cross-border tax assumptions for a citizenship/residency pair.
The payload powers the scenario-results disclosure and the methodology
page''s cross-border section. Wrapper-treatment rows come from the
cross-border assumption registry; the treaty-allocation field comes from
the TreatyProvisions metadata.'
operationId: get_cross_border_assumptions_api_tax_cross_border_assumptions_get
parameters:
- required: true
schema:
type: string
minLength: 1
title: Citizenship
name: citizenship
in: query
- required: true
schema:
type: string
minLength: 1
title: Residency
name: residency
in: query
- required: false
schema:
type: string
title: Tax Regime
name: tax_regime
in: query
- required: false
schema:
type: string
title: Wealth Tax Region
name: wealth_tax_region
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ActiveCrossBorderAssumptionsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/tax/inheritance:
get:
tags:
- Tax
summary: List Inheritance Tax Countries
description: Countries with an inheritance / estate tax handler implemented.
operationId: list_inheritance_tax_countries_api_tax_inheritance_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InheritanceTaxCountryListResponse'
/api/tax/inheritance/{country}:
get:
tags:
- Tax
summary: Get Inheritance Tax Country Metadata
description: Per-country inheritance / estate tax assumptions and citations.
operationId: get_inheritance_tax_country_metadata_api_tax_inheritance__country__get
parameters:
- required: true
schema:
type: string
title: Country
name: country
in: path
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InheritanceTaxMetadataResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
TaxWrapperListResponse:
properties:
country:
type: string
title: Country
wrappers:
items:
$ref: '#/components/schemas/TaxWrapperResponse'
type: array
title: Wrappers
last_verified:
type: string
title: Last Verified
default: ''
registry_buckets:
additionalProperties:
type: string
enum:
- taxable
- tax_deferred
- tax_free
type: object
title: Registry Buckets
type: object
required:
- country
- wrappers
title: TaxWrapperListResponse
CrossBorderTaxAssumptionResponse:
properties:
assumption_id:
type: string
title: Assumption Id
label:
type: string
title: Label
citizenship_country:
type: string
title: Citizenship Country
residency_country:
type: string
title: Residency Country
wrapper_or_income_category:
type: string
title: Wrapper Or Income Category
taxable_component_basis:
type: string
enum:
- full_distribution
- earnings_only
- exempt
title: Taxable Component Basis
local_tax_category:
type: string
title: Local Tax Category
confidence:
type: string
enum:
- high
- medium
- low
title: Confidence
source_urls:
items:
type: string
type: array
title: Source Urls
last_verified:
type: string
title: Last Verified
default: ''
caveat:
type: string
title: Caveat
is_fallback:
type: boolean
title: Is Fallback
default: false
type: object
required:
- assumption_id
- label
- citizenship_country
- residency_country
- wrapper_or_income_category
- taxable_component_basis
- local_tax_category
- confidence
- caveat
title: CrossBorderTaxAssumptionResponse
description: One active cross-border tax assumption disclosed in scenario results.
ExitTaxRuleListResponse:
properties:
rules:
items:
$ref: '#/components/schemas/ExitTaxRuleResponse'
type: array
title: Rules
type: object
required:
- rules
title: ExitTaxRuleListResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
OrdinaryBracketCeilingResponse:
properties:
rate:
type: number
title: Rate
ceiling:
type: number
title: Ceiling
type: object
required:
- rate
- ceiling
title: OrdinaryBracketCeilingResponse
description: Upper edge of an ordinary-income marginal-rate bracket.
TaxPolicyMetadataResponse:
properties:
country:
type: string
title: Country
effective_from:
type: string
title: Effective From
sources:
items:
type: string
type: array
title: Sources
known_simplifications:
items:
type: string
type: array
title: Known Simplifications
component_labels:
additionalProperties:
type: string
type: object
title: Component Labels
wrappers_available_count:
type: integer
title: Wrappers Available Count
default: 0
last_verified:
type: string
title: Last Verified
default: ''
treaty_provisions:
$ref: '#/components/schemas/TreatyProvisionsResponse'
dual_tax_fallback:
$ref: '#/components/schemas/DualTaxFallbackMetadataResponse'
exit_tax_rule:
$ref: '#/components/schemas/ExitTaxRuleResponse'
ordinary_bracket_ceilings:
items:
$ref: '#/components/schemas/OrdinaryBracketCeilingResponse'
type: array
title: Ordinary Bracket Ceilings
type: object
required:
- country
- effective_from
- sources
- known_simplifications
title: TaxPolicyMetadataResponse
ActiveCrossBorderAssumptionsResponse:
properties:
citizenship_country:
type: string
title: Citizenship Country
residency_country:
type: string
title: Residency Country
active:
type: boolean
title: Active
wrapper_assumptions:
items:
$ref: '#/components/schemas/CrossBorderTaxAssumptionResponse'
type: array
title: Wrapper Assumptions
treaty_provisions:
$ref: '#/components/schemas/TreatyProvisionsResponse'
fallback_assumption:
$ref: '#/components/schemas/CrossBorderTaxAssumptionResponse'
dual_tax_fallback:
$ref: '#/components/schemas/DualTaxFallbackMetadataResponse'
type: object
required:
- citizenship_country
- residency_country
- active
title: ActiveCrossBorderAssumptionsResponse
description: 'Active cross-border tax assumptions for a citizenship/residency pair.
``active`` indicates whether the disclosure should render at all — false when
the pair does not produce a cross-border tax year (e.g. citizenship matches
residency, or non-US citizenship which is out of scope for v1).'
InheritanceTaxMetadataResponse:
properties:
country:
type: string
title: Country
summary:
type: string
title: Summary
sources:
items:
type: string
type: array
title: Sources
known_simplifications:
items:
type: string
type: array
title: Known Simplifications
last_verified:
type: string
title: Last Verified
default: ''
type: object
required:
- country
- summary
- sources
title: InheritanceTaxMetadataResponse
TreatyProvisionsResponse:
properties:
citizenship:
type: string
title: Citizenship
residency:
type: string
title: Residency
social_security_taxable_by:
type: string
enum:
- citizenship
- residency
- both
- source_state
title: Social Security Taxable By
public_pension_taxable_by:
type: string
enum:
- citizenship
- residency
- both
- source_state
title: Public Pension Taxable By
private_pension_taxable_by:
type: string
enum:
- citizenship
- residency
- both
- source_state
title: Private Pension Taxable By
traditional_ira_401k_withdrawal_taxable_by:
type: string
enum:
- citizenship
- residency
- both
- source_state
title: Traditional Ira 401K Withdrawal Taxable By
roth_withdrawal_taxable_by:
type: string
enum:
- citizenship
- residency
- both
- source_state
title: Roth Withdrawal Taxable By
capital_gains_taxable_by:
type: string
enum:
- citizenship
- residency
- both
- source_state
title: Capital Gains Taxable By
source_state_caveats:
items:
type: string
type: array
title: Source State Caveats
source_citation:
type: string
title: Source Citation
last_verified:
type: string
title: Last Verified
type: object
required:
- citizenship
- residency
- social_security_taxable_by
- public_pension_taxable_by
- private_pension_taxable_by
- traditional_ira_401k_withdrawal_taxable_by
- roth_withdrawal_taxable_by
- capital_gains_taxable_by
- source_citation
- last_verified
title: TreatyProvisionsResponse
TaxWrapperResponse:
properties:
id:
type: string
title: Id
label:
type: string
title: Label
bucket:
type: string
enum:
- taxable
- tax_deferred
- tax_free
title: Bucket
notes:
type: string
title: Notes
country:
type: string
title: Country
caveats:
items:
type: string
type: array
title: Caveats
type: object
required:
- id
- label
- bucket
- country
title: TaxWrapperResponse
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
ExitTaxRuleResponse:
properties:
country:
type: string
title: Country
rule_name:
type: string
title: Rule Name
summary:
type: string
title: Summary
sources:
items:
type: string
type: array
title: Sources
known_simplifications:
items:
type: string
type: array
title: Known Simplifications
caveat:
type: string
title: Caveat
applies_in_model:
type: boolean
title: Applies In Model
default: true
last_verified:
type: string
title: Last Verified
default: ''
type: object
required:
- country
- rule_name
- summary
- sources
title: ExitTaxRuleResponse
DualTaxFallbackMetadataResponse:
properties:
country:
type: string
title: Country
treaty_status:
type: string
enum:
- explicit_treaty_matrix
- treaty_exists_not_encoded
- no_income_tax_treaty
title: Treaty Status
residence_tax_model:
type: string
enum:
- worldwide
- territorial
- remittance
- no_personal_income_tax
- special_regime_dependent
- unknown_or_conservative
title: Residence Tax Model
fallback_posture:
type: string
enum:
- standard_both_ftc
- conservative_both_ftc
- domestic_policy_primary
- conservative_assumption_only
title: Fallback Posture
summary:
type: string
title: Summary
source_citation:
type: string
title: Source Citation
last_verified:
type: string
title: Last Verified
type: object
required:
- country
- treaty_status
- residence_tax_model
- fallback_posture
- summary
- source_citation
- last_verified
title: DualTaxFallbackMetadataResponse
description: 'Classification metadata for the dual-tax overlay''s fallback posture
on a US-citizen residency pair. ``treaty_status`` reflects whether the
simulator''s treaty matrix has an entry for the pair, ``residence_tax_model``
reflects the residency country''s domestic tax model, and
``fallback_posture`` summarizes the simulator''s simulation methodology
given those facts.'
InheritanceTaxCountryListResponse:
properties:
countries:
items:
type: string
type: array
title: Countries
type: object
required:
- countries
title: InheritanceTaxCountryListResponse
securitySchemes:
HTTPBearer:
type: http
scheme: bearer