# KBLI 2020 to 2025 Business Code Converter

> KBLI 2020 to 2025 Business Code Converter is a paid API for AI agents from api.lokalapi.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Converts a 5-digit KBLI 2020 Indonesian business classification code to its KBLI 2025 equivalent(s) using the official BPS 2026 conversion table, flagging one-to-many splits.

## Facts

- Endpoint: GET https://api.lokalapi.com/v1/kbli/convert?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kbli-2020-to-2025-business-code-converter-88ad6487
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TjqqcZMZA0N6yXMIe6zGi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kbli-2020-to-2025-business-code-converter-88ad6487
```

Example prompt: What is the KBLI 2025 equivalent of business code 47211? I need to update my NIB licence after the June 2026 switch and want to know if it split into multiple codes.

## When to prefer this

Use this endpoint when you need to programmatically convert an existing KBLI 2020 code to its KBLI 2025 equivalent, especially for automating OSS/NIB licence updates after the June 2026 regulatory switch. Prefer this over a search-by-name endpoint when you already have the exact 5-digit KBLI 2020 code and need a precise, authoritative mapping including split detection.

## Known failure modes

- Invalid code format (not exactly 5 digits) — returns 400 Bad Request
- KBLI 2020 code does not exist in the conversion table — returns 404 or empty result
- Code is already a 2025 code passed in as input — may return unexpected mapping
- Network timeout or upstream unavailability — returns 5xx error
- Payment not processed (x402) — returns 402 Payment Required

## How this service works

Convert a KBLI 2020 business code to its KBLI 2025 equivalent(s) using the official BPS conversion table (2026). Flags one-to-many splits. Needed to update OSS/NIB licences after the June 2026 switch.

## Output

Returns the KBLI 2025 code(s) that correspond to the provided KBLI 2020 code, including the official code description, and a flag indicating whether the original code split into multiple new codes (one-to-many mapping), based on the BPS 2026 official conversion table.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "pattern": "^[0-9]{5}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kbli-2020-to-2025-business-code-converter-88ad6487/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lokalapi.com](https://www.zero.xyz/host/api.lokalapi.com/llms.txt)
