# KBLI 2025 Business Classification Code Search

> KBLI 2025 Business Classification Code Search 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).

Search for official Indonesian KBLI 2025 5-digit business classification codes by free-text business activity description in Indonesian or English, returning BPS titles, descriptions, and hierarchy.

## Facts

- Endpoint: GET https://api.lokalapi.com/v1/kbli/search?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-2025-business-classification-code-search-14a099ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ag0Z6YJs8LkPv0QaZ4Jdw

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-2025-business-classification-code-search-14a099ae
```

Example prompt: What is the official KBLI 2025 code for running a café? I need the 5-digit BPS classification code so I can register my business through Indonesia's OSS licensing system.

## When to prefer this

Use this endpoint when you need to identify the correct KBLI 2025 5-digit business classification code required for Indonesian OSS business licensing (mandatory since 15 June 2026). It accepts free-text descriptions in Indonesian or English and returns official BPS data with full hierarchy, making it ideal for business registration workflows, compliance checks, or converting business descriptions into official codes.

## Known failure modes

- No matching KBLI code found for the given query — returns empty results or low-confidence matches
- Query too vague or ambiguous — may return multiple unrelated codes requiring manual selection
- Unsupported language or unusual phrasing — may fail to match correct classification
- Rate limit exceeded — HTTP 429 response
- Payment not processed — HTTP 402 response blocking the call

## How this service works

Find the right KBLI 2025 business classification code (5-digit, mandatory in Indonesia's OSS business licensing since 15 June 2026) from a free-text business activity in Indonesian or English. Returns official BPS titles, descriptions and hierarchy.

## Output

Returns matching KBLI 2025 entries including the official 5-digit code, BPS-issued title, full business activity description, and classification hierarchy (kelompok, subgolongan, golongan, golongan_pokok, kategori levels), enabling accurate OSS business registration.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Business activity, e.g. 'kafe', 'software development', 'nickel mining', or a KBLI code"
      },
      "level": {
       "enum": [
        "kelompok",
        "subgolongan",
        "golongan",
        "golongan_pokok",
        "kategori"
       ],
       "type": "string"
      },
      "limit": {
       "type": "integer",
       "maximum": 25,
       "minimum": 1
      }
     }
    }
   },
   "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-2025-business-classification-code-search-14a099ae/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)
