> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partners.inra.co.th/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> What the INRA Partners API covers in v1, who it is for, and how the rest of these docs are organised.

The INRA Partners API is a single, stable way for partners to search Thai companies and retrieve INRA reports. It is aimed at integrators at credit insurers, information providers, and other firms that already work with INRA data.

These pages are the public documentation for the API. They will also be linked from [inra.co.th](https://www.inra.co.th) when the API is announced. Access to the API itself still requires a per-client credential issued by INRA.

## What you can do in v1

* Search companies by name (English or Thai) or by the 13-digit registration number.
* Look up a company profile by `company_id`.
* Order an on-file **database report**, when one is available.
* Order an **offline** investigation of a company you found, or of a company you identify by name, address, or registration number.
* List your orders, poll for completion, and download a completed report as XML or JSON.
* Receive a signed HTTPS callback when an offline order is identified, completed, or cancelled.
* Read the reference dictionaries used by coded report fields.

Both XML and JSON are first-class. Field names are `snake_case` in both. XML uses the namespace `https://partners.inra.co.th/schema/v1`. Resource responses **default to XML** if you send no `Accept` header.

## What v1 does not include

* PDF or DOCX downloads. Asking for PDF returns `406` with the code `pdf_not_available`.
* A Z-Score field. That figure exists only in a Coface Light Report and is not part of this API.
* Self-service credential or callback-URL changes. INRA still issues and rotates secrets, and registers your callback URL, out of band. A partner portal is planned separately.
* Companies that have no Thai address. Production search and lookup only return companies with a Thai address. See [Coverage](https://docs.partners.inra.co.th/concepts/coverage.md).

There is no standard price list yet. Commercial terms and pricing are agreed with your INRA account manager. To request a sandbox or production credential, email [inraasth@inra.co.th](mailto:inraasth@inra.co.th).

## Environments

| Environment | Base URL | What it contains |
| - | - | - |
| Sandbox | `https://partners-sandbox.inra.co.th` | Masked sample companies and reports. Nothing you do here creates an order in INRA's head-office system, and nothing is billed. |
| Production | `https://partners.inra.co.th` | Live Thai-company data and real reports. Orders may be billed. |

Use the sandbox while you are building. Sandbox and production credentials are not interchangeable, and their company identifiers are not interchangeable either. See [Sandbox vs production](https://docs.partners.inra.co.th/guides/sandbox-vs-production.md) and [Company identifiers](https://docs.partners.inra.co.th/concepts/public-id.md).

Machine-readable contracts:

* OpenAPI 3.1: `/v1/openapi.json` (also `/openapi.json`)
* XML schemas: `/v1/schemas/`
* Token signing keys: `/.well-known/jwks.json`

The [API reference](https://docs.partners.inra.co.th/api-reference/authentication/oauth-20-client-credentials.md) is generated from the OpenAPI document and includes an interactive playground. Start with the [Getting started](https://docs.partners.inra.co.th/getting-started.md) guide if you are new to the API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.