Skip to main content
The Partners API is built around INRA’s Thai company file. The rules below apply to production. The sandbox has a fixed, Thai sample catalogue and does not search the live file.

Thai addresses only

Production search (GET /v1/companies) and lookup (GET /v1/companies/{company_id}) only return companies that have an address in Thailand. If a company is on file at INRA but has no Thai address, it will not appear in search and a known company_id for it will not be returned as a profile. This is an intentional coverage rule of v1, not an error in your query. Country codes on the API are ISO 3166-1 alpha-2 (TH for Thailand). Coded report fields also carry a stable code and a name; cache those from Dictionaries rather than inferring them.

Registration numbers

A Thai registration number is 13 digits. reg_no on search is an exact match after client-supplied wildcard characters are stripped. Partial registration numbers are not accepted. If you only have a name, use name with the default match=contains, and be prepared to choose among several hits.

When search returns nothing

In production, an empty list usually means one of the following:
  • The name is shorter than three characters after wildcard characters (* % _ ? [ ]) are removed.
  • The company has no Thai address, so it is outside this API’s coverage.
  • The company is not in INRA’s file yet.
  • You are using a sandbox credential against a real Thai name, or a production credential against a sandbox sample name.
If you need a report on a company you cannot find, place an offline report by details. Send at least a name, local name, or registration number, and as much address as you have. INRA staff identify the subject, and the order later carries a company_id if one can be assigned.

Reports

A company that can be found still might not have an on-file database report. The profile field database_report tells you this before you order. If it is false, POST /v1/database-reports returns 404 with the code report_not_available. Use an offline investigation instead.