SwitchWize Compute API

The compute API from SwitchWize — 1 operation(s) for compute.

GitHub OpenAPI

Operations 1

POST /compute/post-tax-yield Post-tax yield on cash #

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/switchwize-com:switchwize-com-compute-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

switchwize-com-compute-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SwitchWize Data Compute API
  version: '2026-10-23'
  description: Read access to SwitchWize verified data. Every response carries its as-of date and attribution. Services read data through this API, never from the database.
servers:
- url: https://www.switchwize.com/api/v1
tags:
- name: Compute
paths:
  /compute/post-tax-yield:
    post:
      summary: Post-tax yield on cash
      description: Federal tax, the 3.8% net investment income tax, state and local tax on interest, and the break-even yield for a Treasury-backed fund.
      operationId: compute_post_tax_yield
      tags:
      - Compute
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTaxYieldRequest'
      responses:
        '200':
          description: The computed result.
        '400':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
    PostTaxYieldRequest:
      type: object
      required:
      - balance
      - apy
      - grossIncome
      - filingStatus
      properties:
        balance:
          type: number
          minimum: 0
          description: Cash balance in dollars.
        apy:
          type: number
          minimum: 0
          description: Headline APY as a decimal, 0.05 for 5%.
        grossIncome:
          type: number
          minimum: 0
        filingStatus:
          enum:
          - single
          - married
          - hoh
        stateCode:
          type:
          - string
          - 'null'
          description: Two-letter state code, or null for federal only.
        usTreasuryPct:
          type: number
          minimum: 0
          maximum: 1
          description: 0 for a bank account, 1 for a T-bill.
        localTaxRate:
          type: number
          minimum: 0
          maximum: 1
        otherNetInvestmentIncome:
          type: number
          minimum: 0
        compareBankApy:
          type: number
          minimum: 0
          description: With usTreasuryPct, also returns the fund yield needed to match a bank paying this APY after tax.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key starting swk_. Also accepted in the X-API-Key header.