Api Endpoint

lokalapi

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.

Open interactive test console

Offering

Provider
api.lokalapi.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Legal And Compliance
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.lokalapi.com/v1/kbli/search
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
indonesia, kbli, oss, business-licensing, government-data, asean, reference-data

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0xc4ec01D192Dc1d77B55cf8C7d0F616511037badA"
  }
]

Observed health

Status
Healthy
Latest latency
1366 ms
Average latency
1328 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Business activity, e.g. 'kafe', 'software development', 'nickel mining', or a KBLI code"
        },
        "level": {
          "type": "string",
          "enum": [
            "kelompok",
            "subgolongan",
            "golongan",
            "golongan_pokok",
            "kategori"
          ]
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 25
        }
      },
      "required": [
        "q"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "level": {
              "enum": [
                "kelompok",
                "subgolongan",
                "golongan",
                "golongan_pokok",
                "kategori"
              ],
              "type": "string"
            },
            "limit": {
              "maximum": 25,
              "minimum": 1,
              "type": "integer"
            },
            "q": {
              "description": "Business activity, e.g. 'kafe', 'software development', 'nickel mining', or a KBLI code",
              "type": "string"
            }
          },
          "required": [
            "q"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}