Refnusa Calc API

The Calc API from Refnusa — 1 operation(s) for calc.

GitHub OpenAPI

Operations 1

GET /v1/calc/net-salary Estimated take-home pay from a gross salary: BPJS deductions, PPh 21 by TER or… #

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/refnusa-dev:refnusa-dev-calc-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

refnusa-dev-calc-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Refnusa Dev Calc API
  version: 0.2.0
  description: 'Operations tagged Calc across 2 of this provider''s published API definitions: openapi.json, refnusa-dev-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://refnusa.dev
tags:
- name: Calc
paths:
  /v1/calc/net-salary:
    get:
      summary: 'Estimated take-home pay from a gross salary: BPJS deductions, PPh 21 by TER or…'
      responses:
        '200':
          description: OK
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      parameters:
      - name: gross
        in: query
        required: false
        schema:
          type: integer
          description: Monthly gross salary in rupiah; omit when regency_code is given
          minimum: 0
          maximum: 1000000000
      - name: regency_code
        in: query
        required: false
        schema:
          type: string
          description: Use this kabupaten/kota newest UMK as the gross, optional
          pattern: ^\d{2}\.\d{2}$
      - name: ptkp
        in: query
        required: true
        schema:
          type: string
          description: PTKP status
          enum:
          - TK/0
          - TK/1
          - TK/2
          - TK/3
          - K/0
          - K/1
          - K/2
          - K/3
      - name: jkk_band
        in: query
        required: false
        schema:
          type: string
          description: JKK risk band of the employer; default sangat_rendah (the lowest band, 0,24%)
          enum:
          - sangat_rendah
          - rendah
          - sedang
          - tinggi
          - sangat_tinggi
      - name: jp
        in: query
        required: false
        schema:
          type: string
          description: Whether Jaminan Pensiun applies, default true
          enum:
          - 'true'
          - 'false'
      - name: jkn
        in: query
        required: false
        schema:
          type: string
          description: Whether BPJS Kesehatan applies, default true
          enum:
          - 'true'
          - 'false'
      - name: jp_cap
        in: query
        required: false
        schema:
          type: integer
          description: JP wage cap in rupiah; default is the stored 2026 cap (Rp10.547.400), give it to use another
          minimum: 1
          maximum: 1000000000
      - name: month
        in: query
        required: false
        schema:
          type: string
          description: monthly (TER, January to November) or december (annual recalculation), default monthly
          enum:
          - monthly
          - december
      - name: jkn_employer_taxable
        in: query
        required: false
        schema:
          type: string
          description: Count the employer JKN premium as taxable income, default true
          enum:
          - 'true'
          - 'false'
      tags:
      - Calc
      operationId: getV1CalcNetSalary
      x-operation-id-source: derived
    servers:
    - url: https://refnusa.dev
components:
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              message:
                type: string
x-refined-from:
- openapi.json
- refnusa-dev-openapi.yml