# INRA Partners API > Search Thai companies and retrieve INRA database reports and offline investigations. - [Introduction](https://docs.partners.inra.co.th/introduction.md): What the INRA Partners API covers in v1, who it is for, and how the rest of these docs are organised. - [Getting started](https://docs.partners.inra.co.th/getting-started.md): Request credentials, obtain an RS256 access token, search for a company, and look it up — in about fifteen minutes. - [Company identifiers](https://docs.partners.inra.co.th/concepts/public-id.md): How company_id works in production (the nine-digit public_id) and why sandbox sample ids are different. - [Coverage](https://docs.partners.inra.co.th/concepts/coverage.md): Production search and lookup cover Thai-addressed companies only. How that filter works, and what to do when a company is missing. - [Orders and callbacks](https://docs.partners.inra.co.th/concepts/orders-and-callbacks.md): How database and offline orders move through status values, how to poll, and how signed callbacks are delivered. - [Authentication](https://docs.partners.inra.co.th/guides/authentication.md): OAuth 2.0 client credentials, RS256 tokens, scopes, JWKS, rate limits on the token endpoint, and how to rotate a secret. - [Sandbox vs production](https://docs.partners.inra.co.th/guides/sandbox-vs-production.md): Hosts, credentials, identifiers, what is billed, and which behaviours are shared. - [JSON and XML](https://docs.partners.inra.co.th/guides/json-and-xml.md): How to choose a format, what happens when headers disagree, and where the XML schemas live. - [Company search](https://docs.partners.inra.co.th/guides/company-search.md): Name matching, registration-number matching, the match parameter, and how to choose a company_id. - [Company profile](https://docs.partners.inra.co.th/guides/company-profile.md): How GET /v1/companies/{company_id} relates to search, and what a retired or missing id means. - [Database reports](https://docs.partners.inra.co.th/guides/database-reports.md): How to order an on-file INRA database report, what the sandbox returns, and when to switch to an offline investigation. - [Offline reports](https://docs.partners.inra.co.th/guides/offline-reports.md): Order a fresh investigation of a known company, or of a company INRA will identify from the details you send. - [Callbacks](https://docs.partners.inra.co.th/guides/webhooks.md): How INRA delivers signed order callbacks, how to verify them, and how to send a test ping. - [Dictionaries](https://docs.partners.inra.co.th/dictionaries/overview.md): How coded report fields work, how to list and cache dictionaries, and how the tables on this site are generated. - [Errors](https://docs.partners.inra.co.th/errors.md): The /v1 error envelope, the catalogue of stable codes, and how to retry. - [Changelog](https://docs.partners.inra.co.th/changelog.md): Dated, partner-facing changes to the INRA Partners API and to these docs. - [Legal form](https://docs.partners.inra.co.th/dictionaries/legal_form.md): INRA legal form. Codes are inra.dbo.legal_form.id, confirmed 27 Nov 2026. IDs 9, 10, 13, 17, 20 and 23 are unused. - [Operation state / company status](https://docs.partners.inra.co.th/dictionaries/operation_state.md): Company operation state / status. Codes are stable Partners slugs; inra_id is inra.dbo.status.id. Names come from inra.dbo.status. - [Country](https://docs.partners.inra.co.th/dictionaries/country.md): Countries. Codes are ISO 3166-1 alpha-2, including user-assigned XK (Kosovo) and XX (Unknown), and withdrawn codes for former states (flagged deprecated). UK nations are published as code GB with ISO 3166-2 subdivision_code (GB-SCT, GB-WLS, GB-NIR); Tahiti is published as PF (no official island-leve… - [Nationality](https://docs.partners.inra.co.th/dictionaries/nationality.md): Nationalities, keyed by the same country code as the country dictionary (ISO 3166-1 alpha-2, including withdrawn codes, or a slug). UK nations use GB plus subdivision_code. inra_id is inra.dbo.countries.id and stays distinct. - [Currency](https://docs.partners.inra.co.th/dictionaries/currency.md): ISO 4217 currency codes used in the sandbox. code is the alphabetic code; numeric is the official 3-digit ISO 4217 numeric code (string, to preserve leading zeros). INRA reports are almost always THB. - [Financial statement template](https://docs.partners.inra.co.th/dictionaries/fs_template.md): INRA financial statement templates in use in FS Mapper. Codes are inra.dbo.Template.TemplateID. Names are TemplateDescription from STAGE. TemplateID 1 is 'Standard'. The '2025' shown in the FS Mapper dropdown is the fiscal year of the company currently open in the program, not part of the template n… - [Financial statement line type](https://docs.partners.inra.co.th/dictionaries/financial_item_type.md): Whether a statement line is a standard detail, a section label, a total, or a company-specific custom (ext) row. - [Financial condition](https://docs.partners.inra.co.th/dictionaries/financial_condition.md): Summary financial-condition labels from dicts.xml. No numeric id exists in that file. - [Financial statement line item](https://docs.partners.inra.co.th/dictionaries/financial_item.md): Fixed line items from inra.dbo.templatedetail only (no company ext rows). Restricted to the eight in-use FS Mapper templates: 1 Standard, 2 Thai Bank, 3 Foreign Bank, 6 Insurance Cash Flows, 7 Bank Cash Flows, 8 Finance Cash Flows, 9 Company Cash Flows, 10 Direct Cash Flows. Code is '{template_id}:{… - [Credit risk](https://docs.partners.inra.co.th/dictionaries/credit_risk.md): Credit-risk labels from dicts.xml. - [Credit limit recommendation band](https://docs.partners.inra.co.th/dictionaries/credit_limit_band.md): Qualitative credit-limit labels from dicts.xml. - [Credit rating symbol](https://docs.partners.inra.co.th/dictionaries/rating_symbol.md): INRA rating symbols. Sandbox list includes values used in the sample reports plus the usual letter scale. Full definitions should come from the HQ rating table (see SQL). - [Rating outlook](https://docs.partners.inra.co.th/dictionaries/rating_outlook.md): Outlook labels from dicts.xml. - [ISC / TSIC industry code](https://docs.partners.inra.co.th/dictionaries/isc.md): INRA ISC / TSIC industry codes from inra.dbo.isc_group_detail. Codes are isc_code (the table's id is a group, not a unique item id). - [ISIC industry code](https://docs.partners.inra.co.th/dictionaries/isic.md): ISIC class codes from inra.dbo.isic_detail. Code is the 4-digit class. parent_code is the official parent class when present. - [NACE industry code](https://docs.partners.inra.co.th/dictionaries/nace.md): NACE Rev. 2.1 from STAGE inra.dbo.nace_21 (1025 divisions, groups, and classes: 87 / 287 / 651). The 22 official section letters A–V are not stored in nace_21 but are referenced as parent_id; they are added from the Eurostat 2025 NACE Rev. 2.1 manual so parents resolve. This replaces the earlier 996… - [Company objective](https://docs.partners.inra.co.th/dictionaries/objective.md): Registered business objectives from inra.dbo.objective. Code is the 5-digit official id, name is the English label, name_local is Thai (tobjective). - [Position / role](https://docs.partners.inra.co.th/dictionaries/position.md): Director / management position titles. Codes are stable Partners slugs; inra_id is inra.dbo.position.id when the name matches the official table. A few sample-report titles have no official id and are kept as slugs only. - [Related-party relationship type](https://docs.partners.inra.co.th/dictionaries/related_party_type.md): Enumerated relationship types from the historical Asiagate report.xsd. - [Litigation category](https://docs.partners.inra.co.th/dictionaries/litigation_category.md): Bankruptcy and receivership categories from inra.dbo.litigation_category. Codes are the official id. name_local is the HQ Thai description. English names are sandbox translations — HQ has no English column. inra.dbo.litigation and inra.dbo.litigation_status are company/person-level (they include com… - [Litigation case type](https://docs.partners.inra.co.th/dictionaries/litigation_case_type.md): Short case-type labels seen in INRA reports. Thai court practice commonly uses Black Case / Red Case; Civil is also used. A closed HQ table was not found in dicts.xml — confirm with the SQL script if one exists. - [Litigation claim type](https://docs.partners.inra.co.th/dictionaries/litigation_claim_type.md): Short claim-type labels. Longer court narratives in a report are free text (claim_description), not dictionary entries. - [Location category](https://docs.partners.inra.co.th/dictionaries/location_category.md): Codes are inra.dbo.location_category.id. Names are the official type labels. - [Location holding type](https://docs.partners.inra.co.th/dictionaries/location_holding_type.md): Codes are inra.dbo.location_holding_type.id. Names are the official type labels. - [Location zone](https://docs.partners.inra.co.th/dictionaries/location_zone.md): Codes are inra.dbo.location_zone.id. Names are the official type labels. - [Report / statement type](https://docs.partners.inra.co.th/dictionaries/report_type.md): Partners report @type and financial-statement type flags used in the XML/JSON model. - [OAuth 2.0 client credentials](https://docs.partners.inra.co.th/api-reference/authentication/oauth-20-client-credentials.md): Issue a 15-minute RS256 access token. Response is always JSON. - [Company search](https://docs.partners.inra.co.th/api-reference/companies/company-search.md) - [Company information](https://docs.partners.inra.co.th/api-reference/companies/company-information.md) - [Order a database report](https://docs.partners.inra.co.th/api-reference/reports/order-a-database-report.md): Return a Partners database report (same JSON and XML structure). - [Offline report for a known company](https://docs.partners.inra.co.th/api-reference/reports/offline-report-for-a-known-company.md): Order a fresh (offline) investigation of a company found with search. - [Offline report for a company identified by INRA](https://docs.partners.inra.co.th/api-reference/reports/offline-report-for-a-company-identified-by-inra.md): Order an offline report by company details when search did not find it. - [List orders](https://docs.partners.inra.co.th/api-reference/orders/list-orders.md): List this client's orders, newest first, without report bodies. - [Order status](https://docs.partners.inra.co.th/api-reference/orders/order-status.md): Return one order of this client. - [Download the report of an order](https://docs.partners.inra.co.th/api-reference/orders/download-the-report-of-an-order.md): Return the Partners report of a completed order (JSON or XML, same content and schema as a Database Report). - [Callback settings](https://docs.partners.inra.co.th/api-reference/callbacks/callback-settings.md): Show the callback INRA configured for this client and the last delivery. - [Send a test callback](https://docs.partners.inra.co.th/api-reference/callbacks/send-a-test-callback.md): Queue a signed `webhook.ping` to the configured URL (or `url`, whose host must be registered). Check the outcome with `GET /v1/webhook`. - [List dictionaries](https://docs.partners.inra.co.th/api-reference/dictionaries/list-dictionaries.md): List published reference dictionaries used by coded report fields. - [Dictionary entries](https://docs.partners.inra.co.th/api-reference/dictionaries/dictionary-entries.md): Return one dictionary, including its entries when the list is populated. ## OpenAPI Specs - [openapi](/openapi.json) - [openapi-prod.snapshot](/scripts/openapi-prod.snapshot.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.