3. Authentication and API conventions
Base URL: https://app.kyboa.com/api/v1. Send the complete token in an Authorization header on every request. Use JSON bodies for POST requests and flat URL query parameters for discovery GET requests.
Existing supported full-access tokens gain the current client API capabilities without regeneration. There is no new key, scope selector or separate Registry API login to configure.
Authorization: Bearer YOUR_API_TOKEN
Accept: application/json
Content-Type: application/json
X-Request-Id: your-integration-job-001
curl -sS "https://app.kyboa.com/api/v1/auth/context" \
-H "Authorization: Bearer ${KYBOA_TOKEN}" \
-H "Accept: application/json"
Successful responses contain data and meta; errors contain error and meta. Every response supplies X-Request-Id and meta.request_id. Supply a short request ID containing letters, numbers, underscores, dots, colons or hyphens, or let Kyboa generate one. A request ID is for tracing; it does not prevent duplicate purchases or screenings.
IDs are integers, except Registry operation IDs, which are UUIDs. Timestamps are ISO 8601; date-only fields use YYYY-MM-DD. Preserve null values and empty arrays. Relative poll_path, detail_path and links values resolve against https://app.kyboa.com; app_url opens the corresponding record in Kyboa.
Credit quantities may be fractional JSON numbers. Paired *_exact strings preserve exact quantities for arithmetic. Do not round balances to whole credits or replace unknown/null values with zero.
Verify authentication and balance
GET /api/v1/auth/context
Returns the token-owning user, account, spendable Kyboa credit balance and full-access marker. No request body.
Response 200
{
"data": {
"user": {
"id": 456,
"email": "[email protected]",
"name": "Integration User"
},
"account": {
"id": 123,
"name": "Example Client",
"credit_balance": 100.5,
"credit_balance_exact": "100.5",
"credit_unit": "kyboa_credit"
},
"token": {
"id": 789,
"access": "full"
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Rate limits
| Requests | Default account limit |
|---|
| General requests, stored reads, discovery and Registry API | 120 per minute |
| Entity creation and screening creation/trigger | 30 per minute |
| New Registry searches/lookups, including new pages | 20 per minute and 500 per UTC day; up to two nonterminal operations per account |
| New Registry work for one source | 6 per minute; one running operation per account/source |
Limits are shared across API users in an account and may vary by deployment or source. On 429 RATE_LIMITED, honour Retry-After and use backoff. Poll at a modest interval; new Registry admissions add their own limits to the general API limit.
Errors
{
"error": {
"code": "VALIDATION_ERROR",
"message": "The given data was invalid.",
"details": {
"errors": {
"name": [
"The name field is required."
]
}
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
| HTTP | Code / handling |
|---|
| 401 | UNAUTHENTICATED: missing, invalid or revoked bearer token. |
| 403 | USER_NOT_ACTIVATED, USER_ACCESS_DISABLED, API_USER_ROLE_REQUIRED, API_ACCESS_DISABLED, ACCOUNT_ACCESS_LOCKED: check the user/account access state. |
| 404 | NOT_FOUND: record is missing or outside your account; neither reveals another account’s records. |
| 406 | FORMAT_NOT_AVAILABLE: allow application/json when reading saved evidence. |
| 409 | ENTITY_ALREADY_EXISTS, INSUFFICIENT_SCREENING_BALANCE, ACCOUNT_RESTRICTED: resolve the duplicate, balance or account restriction before another creation. |
| 409 | RESULT_NOT_READY, SCREENING_FAILED, REPORT_CONTENT_UNAVAILABLE, REPORT_FORMAT_UNAVAILABLE, RESULT_DATA_UNAVAILABLE: inspect screening state and saved evidence. |
| 422 | VALIDATION_ERROR: inspect error.details.errors, including indexed child-field paths. Registry validation uses its specific codes below. |
| 413 | RESULT_TOO_LARGE: request a smaller discovery page or handle unavailable evidence; responses are not truncated. |
| 429 | RATE_LIMITED: honour Retry-After. |
| 500 / 503 | A server/service is unavailable. Retain the request ID and use the retry rules for that operation. |
5. Screenings and saved reports
Create a quick screening
POST /api/v1/screenings
Create and start an Individual or Company screening.
| Field | Required | Contract |
|---|
type | Yes | individual or company |
name | Yes | Nonblank string, maximum 255 characters; trimmed. |
jurisdiction | Yes | Two-letter country code; normalised to uppercase. |
{
"type": "individual",
"name": "Jane Doe",
"jurisdiction": "SG"
}
Company requests use type: "company". Quick Company screening is name-only: this route performs no registry search or lookup. Save the ID and poll; do not repeat the POST to check progress. Creation is asynchronous and has no Idempotency-Key protection.
Response 202
{
"data": {
"id": 1001,
"type": "individual",
"status": "pending",
"primary_subject_name": "Jane Doe",
"jurisdiction": "SG",
"created_at": "2026-05-20T09:30:00+00:00",
"started_at": null,
"completed_at": null,
"app_url": "https://app.kyboa.com/individual-screenings/1001",
"poll_path": "/api/v1/screenings/1001",
"links": {
"self": "/api/v1/screenings/1001"
},
"primary_subject": {
"id": 2001,
"type": "individual",
"name": "Jane Doe",
"jurisdiction": "SG"
},
"pipeline": {
"current_step": null,
"progress_percentage": 0,
"degraded": false,
"next_retry_at": null
},
"final_result": null,
"screening_usage": {
"logical_parties": 1,
"credits_required": 1,
"credits_required_exact": "1",
"credits_consumed": 1,
"credits_consumed_exact": "1",
"credits_covered_by_kyboa": 0,
"credits_covered_by_kyboa_exact": "0"
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Poll a saved screening
GET /api/v1/screenings/{screening}
Read persisted status, pipeline progress and available risk/confidence/report metadata. No request body.
screening is the saved screening ID. pipeline contains current_step, progress_percentage, degraded and next_retry_at. final_result may be null; a report descriptor contains id, type, format and generated_at. The poll response does not contain the report body.
Response 200
{
"data": {
"id": 1001,
"type": "individual",
"status": "running",
"primary_subject_name": "Jane Doe",
"jurisdiction": "SG",
"created_at": "2026-05-20T09:30:00+00:00",
"started_at": "2026-05-20T09:30:03+00:00",
"completed_at": null,
"app_url": "https://app.kyboa.com/individual-screenings/1001",
"poll_path": "/api/v1/screenings/1001",
"links": {
"self": "/api/v1/screenings/1001"
},
"primary_subject": {
"id": 2001,
"type": "individual",
"name": "Jane Doe",
"jurisdiction": "SG"
},
"pipeline": {
"current_step": "web",
"progress_percentage": 50,
"degraded": false,
"next_retry_at": null
},
"final_result": null,
"screening_usage": {
"logical_parties": 1,
"credits_required": 1,
"credits_required_exact": "1",
"credits_consumed": 1,
"credits_consumed_exact": "1",
"credits_covered_by_kyboa": 0,
"credits_covered_by_kyboa_exact": "0"
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Screening states
| Status | Next step |
|---|
| pending / running / waiting | Continue polling the same ID. Waiting may include a next_retry_at value. |
| completed | Read the completed result and report. |
| completed_degraded | Read the result/report and check which checks were unavailable. |
| failed | Stop polling and investigate with the record and request IDs. |
Read the completed result
GET /api/v1/screenings/{screening}/result
Read the saved assessment and usage summary after completed or completed_degraded. No request body.
Returns id, type, status, primary_subject, completed_at, degraded, risk_rating and its label, confidence_level and its label, screening_usage, a nullable report descriptor, and links. It does not include report text or raw match/provider data. Follow data.report.links.self to pin a specific saved report.
Response 200
{
"data": {
"id": 1001,
"type": "company",
"status": "completed",
"primary_subject": {
"id": 2001,
"type": "company",
"name": "Stored Company",
"jurisdiction": "SG"
},
"completed_at": "2026-11-01T08:00:00+00:00",
"degraded": false,
"risk_rating": "high",
"risk_rating_label": "High (Red)",
"confidence_level": "medium",
"confidence_level_label": "Medium",
"screening_usage": {
"logical_parties": 3,
"credits_required": 3,
"credits_required_exact": "3",
"credits_consumed": 1.25,
"credits_consumed_exact": "1.25",
"credits_covered_by_kyboa": 1.75,
"credits_covered_by_kyboa_exact": "1.75"
},
"report": {
"id": 3001,
"type": "company_v2_3",
"format": "markdown",
"generated_at": "2026-11-01T08:00:00+00:00",
"template_version": "2.3",
"links": {
"self": "/api/v1/screenings/1001/reports/3001"
}
},
"links": {
"self": "/api/v1/screenings/1001/result",
"screening": "/api/v1/screenings/1001"
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Read a saved Markdown report
GET /api/v1/screenings/{screening}/reports/{report}
Read one saved report belonging to the selected screening. No request body.
Use the report ID or link returned by the completed result. The JSON content field is the original stored Markdown; decode JSON before using it. content_sha256 is the lowercase SHA-256 of those original UTF-8 bytes. template_version is 2.2 or 2.3 for the corresponding stored report types and may be null for historical reports. Sanitise Markdown when rendering it in your own interface.
These evidence reads return 409 RESULT_NOT_READY with Retry-After: 3 while pending/running/waiting, or 409 SCREENING_FAILED after failure. Missing or mismatched screening/report IDs return 404. Delivery is JSON only; no API PDF or HTML rendering is available. Markdown is limited to 2 MiB and the encoded report response to 4 MiB. Reads are free and do not rerun checks or regenerate the report.
Response 200
{
"data": {
"screening_id": 1001,
"id": 3001,
"type": "company_v2_3",
"format": "markdown",
"generated_at": "2026-11-01T08:00:00+00:00",
"template_version": "2.3",
"links": {
"self": "/api/v1/screenings/1001/reports/3001"
},
"content": "# Stored Company Screening Report v2.3\n\nReview and verification required.\n\n## Registry Coverage\nPeriodically published ACRA open data; named officers unavailable.\n",
"content_sha256": "cb48194771e41be88924e3a0d063f544280d4717daa46b7fdc5283389a81cd9c"
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
6. Entity endpoints and supplied data
Check for an existing Entity
POST /api/v1/entities/check-existing
Find a same-account identity match before creating a maintained client record.
| Field | Required | Contract |
|---|
entity_type | Yes | company or individual |
primary_name | Yes | Nonblank string, maximum 255 characters. |
jurisdiction | Yes | Two-letter country code; normalised to uppercase. |
registration_number | No | Nullable string, maximum 255 characters; preserve leading zeroes. |
{
"entity_type": "company",
"primary_name": "Acme Pte. Ltd.",
"jurisdiction": "SG",
"registration_number": "202300001A"
}
The response has exists, match_type and a compact entity or null. Company registration matching is used when a registration number is supplied; otherwise matching uses the normalised name/jurisdiction identity. If a record exists, reuse its ID. This is not a registry lookup or an identity-verification result.
Response 200
{
"data": {
"exists": false,
"match_type": null,
"entity": null
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Create an Entity
POST /api/v1/entities
Create a Company or Individual Entity from your supplied data, optionally with names, addresses and related parties.
Use the identity fields above. Optional base fields are monitoring_frequency (weekly, monthly, quarterly or annually) and notes (nullable string, maximum 5,000 characters). Minimal requests remain valid.
{
"entity_type": "company",
"primary_name": "Acme Pte. Ltd.",
"jurisdiction": "SG",
"registration_number": "202300001A",
"monitoring_frequency": "monthly",
"notes": "Imported from the client onboarding system"
}
Optional supplied fields
| Fields | Applies to / bounds |
|---|
website, email, phone | Both Entity types. Nullable strings: HTTP(S) website up to 2,048 characters, email up to 255, phone up to 64. Websites are stored, not fetched. |
previous_registration_number, tax_number, vat_number, license_number, entity_legal_form, registration_status | Company only. Nullable strings, each up to 255 characters. Registration status is supplied registry/status text, not the Entity lifecycle status. |
incorporation_date, dissolution_date | Company only. Real YYYY-MM-DD dates, not in the future; dissolution cannot precede incorporation. |
business_activities | Company only. Nullable plain text, up to 10,000 characters. |
date_of_birth_full, birth_year, place_of_birth, nationality, citizenship, gender, passport_number, national_id_number | Individual only at the root; also available on associated people. DOB is not in the future. birth_year is an integer from 1000 to the current year and must agree with DOB. Place/identity-document strings up to 255; countries are two letters; gender is male, female, other or unknown. |
additional_names | Both types. Up to 20 objects: name required (1–255 characters); optional name_type and language_code. Type: trading_name, previous_name, translated_name, local_registered_name, local_name or alias (default). Language: 2–35 letters/digits with nonempty hyphen-separated segments. |
addresses | Both types. Up to 10 objects. full_address required (1–2,000 characters). Optional address_type (registered/physical/mailing/residential/business/historic; default business), street_line_1, street_line_2, locality, region (255 each), postal_code (32), country_code, is_primary, start_date and end_date. At most one primary address; dates must be ordered and not future. |
associated_people | Company only. Up to 100 people; required primary_name and roles. Optional identity fields above, address_text/notes (2,000 each), ownership_percent, is_ubo, is_screening_enabled and names (up to 10). |
associated_people[].names | Each requires name. Optional name_type (alias/translated_name/local_name/previous_name; default alias) and language_code use the bounds above. |
associated_people[].roles | 1–10 objects per person. role_type: director, officer, owner, shareholder or other. Optional label (255 characters; required for other), appointment_date and cessation_date. Dates must be real, ordered and not future. |
corporate_shareholders | Company only. Up to 50 objects: primary_name required (1–255); optional registration_number (255), jurisdiction, ownership_percent, is_screening_enabled and notes (2,000). These are supplied descriptions, not links to another Entity. |
Validation rules that matter
- Send ownership_percent as a decimal string, for example
"25.5", from 0 to 100 with up to four decimal places. A JSON number such as 25.5 is rejected. An associated person with a percentage, including zero, or is_ubo true must have an owner or shareholder role. - Send real JSON booleans for is_primary, is_screening_enabled and is_ubo. is_ubo may be null and means unknown when omitted; screening defaults to true and primary-address defaults to false.
- Use fields for the correct Entity type; a Company-only field on an Individual, or an Individual-only root field on a Company, returns 422 even when null. Nullable lists omitted or set to null create no children.
- The request is limited to 256 KiB. Validation or duplicate failure creates no partial Entity/child records. Exact duplicate children and repeated corroborating identity documents return indexed 422 errors; put one person’s aliases and all roles on a single row.
- Date and year validation uses the Asia/Singapore calendar day. Country codes normalise to uppercase; new enum/language values normalise to lowercase.
- Do not submit account/row/linked-Entity IDs, source/provider trust fields, status, risk/confidence, versions, execution timestamps or registry result/selection handles. Unknown child fields are rejected. The GET detail sections company_details, individual_details and contact_and_notes are not writable containers.
Supplied Company example
{
"entity_type": "company",
"primary_name": "Supplied Holdings Pte Ltd",
"jurisdiction": "SG",
"registration_number": "CLIENT-001",
"previous_registration_number": "OLD-001",
"tax_number": "TAX-1",
"vat_number": "VAT-2",
"license_number": "LIC-3",
"entity_legal_form": "Private company",
"registration_status": "Client-supplied description",
"incorporation_date": "2000-02-29",
"business_activities": "Client-supplied activity",
"website": "https://example.invalid/company",
"email": "[email protected]",
"phone": "+65 1234 5678",
"additional_names": [
{
"name": "Old Supplied Holdings",
"name_type": "previous_name",
"language_code": "en-SG"
}
],
"addresses": [
{
"full_address": "Supplied registered business address",
"address_type": "registered",
"country_code": "SG",
"is_primary": true
}
],
"associated_people": [
{
"primary_name": "Jane Supplied",
"date_of_birth_full": "1980-05-01",
"birth_year": 1980,
"nationality": "SG",
"passport_number": "CLIENT-PASSPORT-1",
"ownership_percent": "25.5",
"is_ubo": true,
"is_screening_enabled": true,
"names": [
{
"name": "Jane Alias",
"name_type": "alias"
}
],
"roles": [
{
"role_type": "director",
"appointment_date": "2020-01-01"
},
{
"role_type": "owner"
}
]
}
],
"corporate_shareholders": [
{
"primary_name": "Supplied Corporate Owner",
"jurisdiction": "JP",
"registration_number": "CLIENT-CORP-1",
"ownership_percent": "75",
"is_screening_enabled": true
}
]
}
Supplied Individual example
{
"entity_type": "individual",
"primary_name": "Alex Supplied",
"jurisdiction": "MY",
"date_of_birth_full": "1980-02-29",
"birth_year": 1980,
"place_of_birth": "Client-supplied place",
"nationality": "MY",
"citizenship": "SG",
"gender": "unknown",
"passport_number": "CLIENT-P-1",
"national_id_number": "CLIENT-N-1",
"email": "[email protected]",
"additional_names": [
{
"name": "Alex Alias"
}
],
"addresses": [
{
"full_address": "Supplied private address",
"address_type": "residential"
}
],
"notes": "Independent client-supplied assertions"
}
Creation stores client-supplied information and returns the same compact 201 response for both minimal and rich requests. It does not fetch a registry, create a screening or use credits. Use a separate Entity screening request when ready. A concurrent matching creation may return 409 ENTITY_ALREADY_EXISTS; reuse error.details.entity.id after checking the returned identity.
Response 201
{
"data": {
"id": 4001,
"entity_type": "company",
"primary_name": "Acme Pte. Ltd.",
"jurisdiction": "SG",
"registration_number": "202300001A",
"monitoring_frequency": "monthly",
"app_url": "https://app.kyboa.com/entities/4001",
"created_at": "2026-05-20T10:15:00+00:00"
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Read current Entity details
GET /api/v1/entities/{entity}
Read the current maintained record for an owned Entity. No request body.
The response includes compact identity plus core_identity, company_details, individual_details, contact_and_notes, monitoring, metadata, additional_names, addresses, associated_people, corporate_shareholders and shareholders. Type-inapplicable sections are null or empty arrays. It does not embed report bodies, screening history, versions or review decisions.
This is a read projection, not a round-trip write schema. In particular, read-side ownership_percent values are nullable JSON numbers; write-side percentages require decimal strings. Preserve is_ubo: null as unassessed/not applicable, distinct from false. Some saved child fields are intentionally omitted from this projection.
Response 200
{
"data": {
"id": 4001,
"entity_type": "company",
"status": "active",
"primary_name": "Acme Pte. Ltd.",
"jurisdiction": "SG",
"registration_number": "202300001A",
"monitoring_frequency": "monthly",
"app_url": "https://app.kyboa.com/entities/4001",
"core_identity": {
"primary_name": "Acme Pte. Ltd.",
"entity_type": "company",
"status": "active",
"jurisdiction": "SG"
},
"company_details": {
"registration_number": "202300001A",
"previous_registration_number": null,
"tax_number": null,
"vat_number": null,
"license_number": null,
"entity_legal_form": "Private Company Limited by Shares",
"registration_status": "Registered",
"incorporation_date": "2024-01-15",
"dissolution_date": null,
"business_activities": "Software services"
},
"individual_details": null,
"contact_and_notes": {
"website": "https://acme.example",
"email": "[email protected]",
"phone": "+65 5555 0000",
"notes": "Imported from client onboarding system",
"source_summary": "manual_entry"
},
"monitoring": {
"frequency": "monthly",
"last_screened_at": "2026-05-20T10:25:20+00:00",
"monitoring_last_run_at": "2026-05-20T10:25:20+00:00",
"next_monitoring_due_at": "2026-06-20T10:25:20+00:00"
},
"metadata": {
"created_by": {
"id": 456,
"name": "Integration User"
},
"created_at": "2026-05-20T10:15:00+00:00",
"updated_by": null,
"updated_at": "2026-05-20T10:15:00+00:00"
},
"additional_names": [],
"addresses": [],
"associated_people": [],
"corporate_shareholders": [],
"shareholders": [],
"links": {
"self": "/api/v1/entities/4001",
"screenings": "/api/v1/entities/4001/screenings"
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Screen a saved Entity
POST /api/v1/entities/{entity}/screenings
Start an immediate screening from the Entity’s current saved data. Send no request body.
The screening is linked to the Entity with trigger_type: "entity_manual". Submitted subject fields are ignored. The complete enabled-party screening cost is checked before creation; an insufficient balance returns 409 INSUFFICIENT_SCREENING_BALANCE without a partial run. This action does not perform a registry lookup or change the monitoring frequency. Save data.id and poll data.poll_path.
Response 202
{
"data": {
"id": 1002,
"type": "company",
"status": "pending",
"primary_subject_name": "Acme Pte. Ltd.",
"jurisdiction": "SG",
"created_at": "2026-05-20T10:20:00+00:00",
"started_at": null,
"completed_at": null,
"app_url": "https://app.kyboa.com/company-screenings/1002",
"poll_path": "/api/v1/screenings/1002",
"links": {
"self": "/api/v1/screenings/1002"
},
"primary_subject": {
"id": 2002,
"type": "company",
"name": "Acme Pte. Ltd.",
"jurisdiction": "SG"
},
"pipeline": {
"current_step": null,
"progress_percentage": 0,
"degraded": false,
"next_retry_at": null
},
"final_result": null
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Read Entity screening history
GET /api/v1/entities/{entity}/screenings
Read compact summary rows for manual and monitoring screenings linked to the Entity. No request body.
data.entity is a compact Entity and data.screenings is an unpaginated array, newest first by created_at then ID. Rows include id, type, trigger_type, status, created_at, started_at, completed_at, risk_rating, confidence_level, app_url, detail_path and links.self. Quick screenings without that Entity link are excluded. Use the account-wide screening list with entity_id for a paginated alternative.
Response 200
{
"data": {
"entity": {
"id": 4001,
"entity_type": "company",
"primary_name": "Acme Pte. Ltd.",
"jurisdiction": "SG",
"registration_number": "202300001A",
"app_url": "https://app.kyboa.com/entities/4001"
},
"screenings": [
{
"id": 1002,
"type": "company",
"trigger_type": "entity_manual",
"status": "completed",
"created_at": "2026-05-20T10:20:00+00:00",
"started_at": "2026-05-20T10:20:03+00:00",
"completed_at": "2026-05-20T10:25:20+00:00",
"risk_rating": "low",
"confidence_level": "high",
"app_url": "https://app.kyboa.com/company-screenings/1002",
"detail_path": "/api/v1/screenings/1002",
"links": {
"self": "/api/v1/screenings/1002"
}
},
{
"id": 1001,
"type": "company",
"trigger_type": "entity_monitoring",
"status": "completed_degraded",
"created_at": "2026-05-19T10:20:00+00:00",
"started_at": "2026-05-19T10:20:03+00:00",
"completed_at": "2026-05-19T10:25:20+00:00",
"risk_rating": "medium",
"confidence_level": "medium",
"app_url": "https://app.kyboa.com/company-screenings/1001",
"detail_path": "/api/v1/screenings/1001",
"links": {
"self": "/api/v1/screenings/1001"
}
}
]
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
7. Registry API and supported sources
Use Registry API searches and lookups independently of screening to find company records for your own workflow. Search finds candidates; lookup retrieves a selected company record. Neither operation creates an Entity, Screening or screening report. The same API token and credit balance apply.
Included and excluded registries
| Registry | source_id | Client API |
|---|
| Cambodia — Ministry of Commerce | KH | Included; name or registration-number search. |
| Thailand — Department of Business Development | TH | Included; name or registration-number search. |
| Laos — National Enterprise Database | LA | Included; name search. |
| Japan — National Tax Agency | JP | Included; name search. |
| Taiwan — MOEA GCIS | TW | Included; Chinese-name or eight-digit registration-number search. |
| Hong Kong — Companies Registry open data | HK | Included; name search. |
| Singapore — ACRA Lite open data | SGACRA | Included; full name words or UEN. This is distinct from CRIF. |
| Myanmar — MyCO | MM | Excluded. |
| Labuan — FSA Directory | LABUAN | Excluded. |
| Malaysia — SSM | MY | Excluded. |
| Singapore — CRIF | SG | Excluded. |
The included sources support both search and lookup. Use GET /registry/sources to check current availability and supported input modes before starting work. A source can be temporarily unavailable. Use the exact source ID: a country code is not an interchangeable registry selector. All current API registry coverage is partial; absent data does not establish absence. ACRA Lite does not supply named directors or shareholders.
Discover enabled registry sources
GET /api/v1/registry/sources
Read currently enabled sources, provider identity, input limits, coverage/provenance and prices. No request body; no credit charge.
data.sources is an array. Each entry supplies source_id, provider_id, jurisdiction, source_name, capability, source_url, operations, inputs, coverage, provenance and tariffs for search/lookup. The example below illustrates one advertised source; use the actual returned array.
Response 200
{
"data": {
"sources": [
{
"source_id": "HK",
"provider_id": "hk_cr",
"jurisdiction": "HK",
"source_name": "Hong Kong (HK)",
"capability": "partial",
"source_url": "https://data.gov.hk/en-data/dataset/hk-cr-crdata-list-addr",
"operations": [
"search",
"lookup"
],
"inputs": {
"query_min_characters": 2,
"query_max_characters": 200,
"identifier_max_bytes": 64,
"max_search_rows": 20,
"cursor_supported": false,
"search_types": [
"name"
]
},
"coverage": {
"disclosure": "Registry coverage is partial; unavailable fields do not establish absence."
},
"provenance": {
"source_url": "https://data.gov.hk/en-data/dataset/hk-cr-crdata-list-addr",
"source_terms_url": null,
"retrieved_at": null,
"source_data_as_of": null,
"dataset_version": null,
"attribution": "Hong Kong (HK)"
},
"tariffs": {
"search": {
"price_subunits": 250,
"price_credits": 0.25,
"price_credits_exact": "0.25",
"tariff_version": "registry_api_v1"
},
"lookup": {
"price_subunits": 250,
"price_credits": 0.25,
"price_credits_exact": "0.25",
"tariff_version": "registry_api_v1"
}
}
}
]
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Idempotency for searches and lookups
Both Registry POST endpoints require Idempotency-Key: a case-sensitive 16–128 character ASCII string containing only letters, numbers, dots, underscores, colons or hyphens. A UUID is suitable. Save the key and body before sending. Reuse them unchanged after a timeout; a new key represents a new purchase.
Keys are account-scoped across both operations and token rotations. Reusing a key with a changed request returns 409 IDEMPOTENCY_CONFLICT. Replays return the original operation: 202 while nonterminal, or 200 once terminal. These rules apply to Registry searches/lookups only; they do not make screening creation idempotent.
Start a registry search
POST /api/v1/registry/searches
Queue a bounded company search, with the required Idempotency-Key header.
| Field | Required | Contract |
|---|
source_id | Yes | An included exact source ID advertised by sources. |
query | Yes | UTF-8 string, 2–200 characters; outer whitespace trimmed; no control characters. |
search_type | No | name or registration_number where supported. Source-specific identifier detection may select registration-number mode. |
limit | No | Integer 1–20; default 20 except SGACRA names (default/maximum 10) and exact UEN (fixed 2). |
cursor | No | Opaque next_cursor from the same SGACRA name search; maximum 4,096 characters. |
nocache | No | JSON boolean, default false. true requests a fresh fetch for a new purchase. |
{
"source_id": "HK",
"query": "Example company",
"search_type": "name",
"limit": 20,
"nocache": false
}
curl -sS "https://app.kyboa.com/api/v1/registry/searches" \
-H "Authorization: Bearer ${KYBOA_TOKEN}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 20744f81-bf05-48fb-8478-398953b9f733" \
-d '{"source_id":"HK","query":"Example company","limit":20}'
Use only documented JSON body fields; query-string options, unknown fields or wrong types return 422. Registry bodies are limited to 16 KiB. A new operation normally returns 202, Location for status and Retry-After: 3; a completed replay returns 200 with the same receipt shape. Save operation_id before polling. Each explicitly requested page is a separate 0.25-credit search.
Response 202
{
"data": {
"operation_id": "00000000-0000-4000-8000-000000000001",
"operation": "search",
"source_id": "HK",
"provider_id": "hk_cr",
"state": "pending",
"outcome": null,
"error_code": null,
"accepted_at": "2026-11-08T04:00:00.000000Z",
"completed_at": null,
"result_expires_at": null,
"tariff_version": "registry_api_v1",
"credit_quantity_unit": "kyboa_subunit_v1",
"charge": {
"price_subunits": 250,
"price_credits": 0.25,
"price_credits_exact": "0.25",
"reserved_subunits": 250,
"charged_subunits": 0,
"charged_credits": 0,
"charged_credits_exact": "0",
"released_subunits": 0,
"restored_subunits": 0
},
"links": {
"self": "/api/v1/registry/operations/00000000-0000-4000-8000-000000000001",
"result": "/api/v1/registry/operations/00000000-0000-4000-8000-000000000001/result"
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Start a registry lookup
POST /api/v1/registry/lookups
Queue a direct or selected company lookup. Supply Idempotency-Key and exactly one identifier or selection handle.
| Field | Required | Contract |
|---|
source_id | Yes | Exact source ID. |
registration_number | One of these two | Source-specific identifier as a string; preserve leading zeroes. |
selection_handle | One of these two | Opaque handle from a returned search match; do not also supply registration_number. |
nocache | No | JSON boolean, default false. |
{
"source_id": "HK",
"registration_number": "12345678",
"nocache": false
}
Alternatively send source_id and the returned selection_handle, with optional nocache. Selection handles expire after 15 minutes and belong to the original initiating user, account and source; another user cannot start a lookup with that handle. A recognised same-key retry can replay the accepted operation after handle expiry. Token rotation by the same user does not change that binding.
| Source | Direct registration-number format |
|---|
| KH / TW | Exactly 8 ASCII digits. |
| TH / JP | Exactly 13 ASCII digits. |
| LA | 2–64 ASCII letters, digits, hyphen or slash. |
| HK | 6–12 ASCII letters/digits, normalised to uppercase. |
| SGACRA | A valid Singapore UEN; normalised to uppercase. |
Response 202
{
"data": {
"operation_id": "00000000-0000-4000-8000-000000000001",
"operation": "lookup",
"source_id": "HK",
"provider_id": "hk_cr",
"state": "pending",
"outcome": null,
"error_code": null,
"accepted_at": "2026-11-08T04:00:00.000000Z",
"completed_at": null,
"result_expires_at": null,
"tariff_version": "registry_api_v1",
"credit_quantity_unit": "kyboa_subunit_v1",
"charge": {
"price_subunits": 250,
"price_credits": 0.25,
"price_credits_exact": "0.25",
"reserved_subunits": 250,
"charged_subunits": 0,
"charged_credits": 0,
"charged_credits_exact": "0",
"released_subunits": 0,
"restored_subunits": 0
},
"links": {
"self": "/api/v1/registry/operations/00000000-0000-4000-8000-000000000001",
"result": "/api/v1/registry/operations/00000000-0000-4000-8000-000000000001/result"
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Read Registry operation status
GET /api/v1/registry/operations/{operation}
Read saved status and the charge receipt for an owned operation UUID. No request body; free.
The receipt contains operation_id, operation, source_id, provider_id, state, outcome, error_code, accepted_at, completed_at, result_expires_at, tariff_version, credit_quantity_unit, charge and links. It does not include company results. Pending/running/result_ready are nonterminal; completed, failed and incomplete are terminal. A completed outcome is completed_match or completed_no_match.
Response 200
{
"data": {
"operation_id": "00000000-0000-4000-8000-000000000001",
"operation": "lookup",
"source_id": "HK",
"provider_id": "hk_cr",
"state": "completed",
"outcome": "completed_no_match",
"error_code": null,
"accepted_at": "2026-11-08T04:00:00.000000Z",
"completed_at": "2026-11-08T04:00:10.000000Z",
"result_expires_at": "2026-12-08T04:00:10+00:00",
"tariff_version": "registry_api_v1",
"credit_quantity_unit": "kyboa_subunit_v1",
"charge": {
"price_subunits": 250,
"price_credits": 0.25,
"price_credits_exact": "0.25",
"reserved_subunits": 250,
"charged_subunits": 250,
"charged_credits": 0.25,
"charged_credits_exact": "0.25",
"released_subunits": 0,
"restored_subunits": 0
},
"links": {
"self": "/api/v1/registry/operations/00000000-0000-4000-8000-000000000001",
"result": "/api/v1/registry/operations/00000000-0000-4000-8000-000000000001/result"
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Read the saved Registry result
GET /api/v1/registry/operations/{operation}/result
Read the completed receipt plus its stored result. No request body; free and does not refetch the registry.
data.result contains a nullable company, matches array, people/shareholders arrays where permitted, original provenance, and optional coverage/pagination. Search matches include selection_handle values. No-match may legitimately contain company null and empty arrays, as below. Preserve provenance dates: a stored read does not make the source data newer.
SGACRA name searches may return pagination.next_cursor. Send the same source/query/limit plus that cursor with a new key to buy the next bounded page. Cursors expire after 15 minutes and are bound to the initiating user/query. Other sources return no next cursor; has_more: null means another page is unknown.
Result payloads are retained for 30 days after terminal completion. Expired reads return 410 RESULT_EXPIRED; the original status receipt remains readable. An expired same-key replay never starts another purchase. Use a new key only when you deliberately want fresh work.
Response 200
{
"data": {
"operation_id": "00000000-0000-4000-8000-000000000001",
"operation": "lookup",
"source_id": "HK",
"provider_id": "hk_cr",
"state": "completed",
"outcome": "completed_no_match",
"error_code": null,
"accepted_at": "2026-11-08T04:00:00.000000Z",
"completed_at": "2026-11-08T04:00:10.000000Z",
"result_expires_at": "2026-12-08T04:00:10+00:00",
"tariff_version": "registry_api_v1",
"credit_quantity_unit": "kyboa_subunit_v1",
"charge": {
"price_subunits": 250,
"price_credits": 0.25,
"price_credits_exact": "0.25",
"reserved_subunits": 250,
"charged_subunits": 250,
"charged_credits": 0.25,
"charged_credits_exact": "0.25",
"released_subunits": 0,
"restored_subunits": 0
},
"links": {
"self": "/api/v1/registry/operations/00000000-0000-4000-8000-000000000001",
"result": "/api/v1/registry/operations/00000000-0000-4000-8000-000000000001/result"
},
"result": {
"company": null,
"matches": [],
"people": [],
"shareholders": [],
"provenance": {
"source_id": "HK",
"provider_id": "hk_cr",
"source_url": "https://data.gov.hk/en-data/dataset/hk-cr-crdata-list-addr",
"retrieved_at": "2026-11-08T04:00:09.000000Z",
"served_at": "2026-11-08T04:00:09.000000Z",
"source_data_as_of": null,
"dataset_version": null,
"is_cached": false,
"cache_state": "miss",
"attribution": "Hong Kong Companies Registry open data"
}
}
},
"meta": {
"api_version": "v1",
"request_id": "kyboa-example-001",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000
}
}
Registry result fields
| Field | Shape / use |
|---|
result.company | Company object for a lookup, or null. Required company fields are registration_number and name. Available nullable text fields include name_local, name_english, status, company_type, registration_date, registration_date_text, registered_address, capital and record_url. |
result.matches[] | Company-shaped search candidates, with selection_handle for a subsequent selected lookup. A name match is a candidate; confirm its identity. |
company.previous_names[] | Up to 20 name/name_local objects when available. |
company.activities[] | Up to 20 objects with available code, description_english, description_local, user_description and reference_label data. |
result.people, result.shareholders | Arrays limited by permitted source coverage and privacy restrictions; they may be empty. Do not assume named relationships are supplied. |
result.provenance | Original source/provider identity, source/record/terms URLs, retrieved_at, served_at, source_data_as_of, dataset_version, attribution and cache context where known. Unknown dates remain null. |
result.coverage | Source-specific limitations and partial-coverage disclosures, when supplied. |
result.pagination | Source page information, including nullable has_more and next_cursor where supplied. Only follow an explicitly returned cursor. |
Registry-specific errors
| HTTP | Code / action |
|---|
| 422 | SOURCE_NOT_ALLOWED, INVALID_REQUEST, INVALID_IDEMPOTENCY_KEY, INVALID_HANDLE, INVALID_CURSOR: correct the source, body, key or selection. |
| 409 | IDEMPOTENCY_CONFLICT: restore the original body/key pairing, or intentionally start a different operation with a new key. |
| 409 | INSUFFICIENT_CREDITS: the shared balance cannot fund the requested operation. |
| 409 | OPERATION_NOT_READY: continue polling; Retry-After is 3 seconds. |
| 409 | OPERATION_FAILED / OPERATION_INCOMPLETE: inspect the saved receipt; repeating the accepted key does not restart failed work. |
| 410 | RESULT_EXPIRED: the saved payload has expired; no implicit refetch or recharge. |
| 403 | SOURCE_DELIVERY_DISABLED: current source delivery is unavailable; the receipt remains readable. |
| 413 | REQUEST_TOO_LARGE: Registry JSON body exceeds 16 KiB. |
| 429 | RATE_LIMITED: back off using Retry-After. |
| 503 | REGISTRY_API_DISABLED / SOURCE_UNAVAILABLE: the Registry API or selected source is unavailable. Recognised stored reads/retries are distinct from starting new work. |
8. Find Entities and screenings
Use these free, paginated reads to find your existing records before choosing a detail, completed-result or saved-report link. Send flat URL query parameters, not a JSON body. Filters combine with AND. Omit optional exact/date filters rather than sending blank values; unknown or nested filters return 422.
| Shared query parameter | Contract |
|---|
q | Optional UTF-8 literal substring, maximum 255 characters; blank means no search. |
page | Integer 1–10,000; default 1. |
per_page | Integer 1–100; default 25. |
created_from, created_to | Real YYYY-MM-DD created-record dates, inclusive in UTC. End date must not precede start. |
jurisdiction | Two-letter country code; normalised to uppercase. |
Order is fixed: newest created_at first, then highest ID. q is a literal substring, not fuzzy, wildcard or report-content search; case/accent behaviour follows the database collation. Results are current rows, not a fixed export snapshot. Valid no-match and beyond-last pages return 200 with an empty items array.
Find Entities
GET /api/v1/entities
Read compact owned Entity records, including archived records unless filtered. No request body.
GET /api/v1/entities?q=Acme&entity_type=company&page=1&per_page=25
| Extra query parameter | Contract |
|---|
entity_type | company or individual. |
status | active, paused or archived. |
q | Searches primary_name or registration_number only; not notes, aliases, people or documents. |
Each item contains id, entity_type, status, primary_name, jurisdiction, registration_number, created_at, updated_at, nullable last_screened_at, app_url and links.self/screenings. Follow the detail link for the maintained record.
Response 200
{
"data": {
"items": [
{
"id": 8,
"entity_type": "company",
"status": "archived",
"primary_name": "Example company",
"jurisdiction": "SG",
"registration_number": "202000001A",
"created_at": "2026-11-01T00:00:00+00:00",
"updated_at": "2026-11-02T00:00:00+00:00",
"last_screened_at": null,
"app_url": null,
"links": {
"self": "/api/v1/entities/8",
"screenings": "/api/v1/entities/8/screenings"
}
}
],
"links": {
"self": "/api/v1/entities?page=1&per_page=25",
"next": null,
"previous": null
}
},
"meta": {
"api_version": "v1",
"request_id": "discovery-example-147",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000,
"pagination": {
"current_page": 1,
"per_page": 25,
"total": 1,
"last_page": 1
}
}
}
Find screenings
GET /api/v1/screenings
Read compact owned screenings across quick, Entity-manual and monitoring workflows. No request body.
GET /api/v1/screenings?entity_id=4001&status=completed&page=1&per_page=25
| Extra query parameter | Contract |
|---|
type | individual or company. |
status | pending, running, waiting, completed, completed_degraded or failed; completed does not include completed_degraded. |
trigger_type | quick, entity_manual or entity_monitoring. |
risk_rating | low, medium, high or very_high. |
entity_id | A positive owned Entity ID. Missing/foreign IDs return 404; a valid Entity with no screenings returns empty items. |
q | Searches the saved primary-subject name only, not related parties or report text. |
Each item contains id, type, nullable trigger_type/entity_id/primary_subject, status, timestamps, nullable risk_rating/confidence_level, app_url and links. Completed/degraded items may include links.result and a report descriptor with id/links.self; report is null if absent. Choose the relevant record rather than assuming the first name match is the right identity.
Response 200
{
"data": {
"items": [
{
"id": 54,
"type": "company",
"trigger_type": "entity_manual",
"status": "completed_degraded",
"entity_id": 8,
"primary_subject": {
"id": 100,
"type": "company",
"name": "Example company",
"jurisdiction": "SG"
},
"created_at": "2026-11-01T00:00:00+00:00",
"started_at": "2026-11-01T00:01:00+00:00",
"completed_at": "2026-11-01T00:02:00+00:00",
"risk_rating": null,
"confidence_level": null,
"app_url": null,
"links": {
"self": "/api/v1/screenings/54",
"result": "/api/v1/screenings/54/result"
},
"report": {
"id": 43,
"links": {
"self": "/api/v1/screenings/54/reports/43"
}
}
}
],
"links": {
"self": "/api/v1/screenings?entity_id=8&page=1&per_page=25",
"next": null,
"previous": null
}
},
"meta": {
"api_version": "v1",
"request_id": "discovery-example-147",
"credit_representation": "kyboa_decimal_v1",
"credit_scale": 1000,
"pagination": {
"current_page": 1,
"per_page": 25,
"total": 1,
"last_page": 1
}
}
}
Pagination response
Both endpoints return data.items, data.links.self/next/previous and meta.pagination.current_page/per_page/total/last_page. Follow returned relative links to retain the validated filters. next and previous can be null. An empty result has last_page 1. Responses are capped at 512 KiB; reduce per_page if a response is too large. The existing Entity-specific history endpoint retains its unpaginated data.screenings array.
11. Use the Postman examples
Download the Kyboa Client API Postman collection (Collection v2.1; 21 client request examples).
Download the client OpenAPI contract (OpenAPI 3.1; 17 operations).
- In Postman, choose Import and select the collection JSON. Keep base_url as https://app.kyboa.com and api_version as v1.
- Set bearer_token privately to your generated token. It is blank in the download; avoid sharing an export with the value populated.
- Send Get Auth Context first and check the account and balance. Then choose the workflow folder you need.
- Screenings: send Create Quick Screening once, then Poll Screening. Use Read Completed Screening Result and Read Stored Screening Report after completion. Set type to company for a Company name-only check.
- Entities: edit the identity variables and send Check Existing Entity. Reuse a match or choose Create Minimal Entity; richer Company/Individual examples are in Supplied Entity creation. Use Read Entity Detail and explicitly Trigger Entity Screening when required.
- Registry API: send Discover enabled sources. Set a new registry_search_key or registry_lookup_key for each deliberately new search/page/lookup. Retain the same key and body for retries. The successful receipt stores registry_operation_id for the status/result requests.
- Discovery: send Find owned Entities, Find screenings for selected Entity, or Find account-wide completed screenings. Choose the relevant returned IDs yourself, then read the selected saved report. The examples never automatically select the first result.
| Variable | Use |
|---|
base_url, api_version | Production origin without trailing slash or /api/v1; version v1. |
bearer_token | Your private API token; blank in the download. |
request_id | Optional tracing string for your integration jobs. |
entity_primary_name, entity_jurisdiction, entity_registration_number | Editable Entity identity examples. |
entity_id, screening_id, report_id | IDs from successful creation/check/result responses, or a relevant owned record chosen from discovery. Blank initially. |
registry_operation_id | UUID from a successful search/lookup receipt; blank initially. |
registry_search_key, registry_lookup_key | Example idempotency keys. Replace for a deliberately new operation, keep unchanged with the same body for a retry. |
The collection inherits bearer authentication, includes illustrative saved responses and lightweight response checks, and saves IDs only after successful responses. A successful non-match duplicate check clears a stale entity_id; discovery lists do not select an ID. Requests do not chain or continuously poll. Send them individually: running the whole collection includes billable screening and Registry operations as well as Entity creation.