Borbur Salary & Tax Calculators Tax Residency Days API

The Tax Residency Days API from Borbur Salary & Tax Calculators, for tax residency days.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /api/tax-residency-days Tax-residency day counter (Spain, UAE, Portugal, US) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/borbur:borbur-tax-residency-days-api"
All apis
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.

Get an API 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 Specification

borbur-tax-residency-days-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: borbur.net calculators Tax Residency Days API
  version: 1.2.0
  description: 'Free calculators by Borja Burguillos (borbur.net): Spain net salary, Beckham Law, pensions, crypto and investment tax, UAE gratuity and golden visa, salary comparisons across countries, employer cost, relocation cost. Data CC BY 4.0, credit borbur.net. Every endpoint also accepts GET with query parameters. MCP server: https://borbur.net/mcp. Docs: https://borbur.net/developers/'
  termsOfService: https://borbur.net/terms/
  contact:
    name: Borja Burguillos
    email: borja@borbur.net
    url: https://borbur.net/developers/#support
  license:
    name: Data CC BY 4.0, code MIT
    url: https://creativecommons.org/licenses/by/4.0/
servers:
- url: https://borbur.net
tags:
- name: Tax Residency Days
paths:
  /api/tax-residency-days:
    post:
      operationId: tax_residency_days
      summary: Tax-residency day counter (Spain, UAE, Portugal, US)
      description: 'Counts days per country from a list of trips and applies each day test: Spain more than 183 days in the calendar year, UAE 183 days in any 12 months (or 90 with residence and home/job), Portugal more than 183 days in any 12 months, US substantial presence test. Trips as…'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                year:
                  type: number
                  description: Tax year, e.g. 2026
                trips:
                  type: string
                  description: 'Comma-separated COUNTRY_YYYYMMDD_YYYYMMDD (countries ES, AE, PT, US); in MCP or POST also an array of {country, from: ''YYYY-MM-DD'', to: ''YYYY-MM-DD''}'
              required:
              - trips
      responses:
        '200':
          description: Result, with a source block (page URL on borbur.net, author, license).
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Missing or invalid input; the body explains which field and gives an example.
      tags:
      - Tax Residency Days
externalDocs:
  url: https://borbur.net/developers/
  description: borbur.net API and MCP docs