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

# Global business search

> Search global commercial registries for a company by name.

<div className="dj-endpoint">
  <span className={`dj-method dj-method-get`}>GET</span>
  <code>/api/v1/kyb/business/search</code>
</div>

Search global commercial registries for a company by name and country.

## Headers

| Header          | Required | Description                                         |
| --------------- | -------- | --------------------------------------------------- |
| `Authorization` | Yes      | Your app's secret key, sent as-is — *not* `Bearer`. |
| `AppId`         | Yes      | The App ID from your dashboard.                     |

## Query parameters

| Parameter      | Type   | Required | Description                                              |
| -------------- | ------ | -------- | -------------------------------------------------------- |
| `name`         | string | Yes      | The business name to search for (partial or full match). |
| `country_code` | string | Yes      | The country code of the business's country.              |

## Response

Returns an `entity` array of matching companies, each with its `internationalNumber` and country.

## Errors

| Code  | Meaning                                                                                       |
| ----- | --------------------------------------------------------------------------------------------- |
| `400` | Bad request — a required parameter is missing or malformed.                                   |
| `401` | Unauthorized — check your key and `AppId` (no `Bearer` prefix).                               |
| `402` | Insufficient wallet balance. [Fund your wallet](/api-reference/core-concepts/wallet-billing). |
| `404` | No record found for the supplied identifier.                                                  |
| `429` | Too many requests — back off and retry.                                                       |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    "https://api.dojah.io/api/v1/kyb/business/search?name=ABCD&country_code=EX" \
    -H "Authorization: {{secret_key}}" \
    -H "AppId: {{app_id}}"
  ```

  ```js Node.js theme={null}
  const params = new URLSearchParams({
    "name": "ABCD",
    "country_code": "EX",
  });

  const url = "https://api.dojah.io/api/v1/kyb/business/search?" + params;
  const res = await fetch(url, {
    headers: {
      Authorization: process.env.DOJAH_SECRET_KEY,
      AppId: process.env.DOJAH_APP_ID,
    },
  });
  const data = await res.json();
  ```

  ```python Python theme={null}
  import os, requests

  res = requests.get(
      "https://api.dojah.io/api/v1/kyb/business/search",
      headers={
          "Authorization": os.environ["DOJAH_SECRET_KEY"],
          "AppId": os.environ["DOJAH_APP_ID"],
      },
      params={ "name": "ABCD", "country_code": "EX" },
  )
  data = res.json()
  ```
</RequestExample>

<ResponseExample>
  ```json GET /api/v1/kyb/business/search theme={null}
  {
    "entity": [
      {
        "name": "ABCD GLOBAL INDUSTRIES LTD",
        "internationalNumber": "200045678",
        "country": { "name": "Exampleland", "code": "EX" }
      },
      {
        "name": "ABCD HOLDINGS PLC",
        "internationalNumber": "200098765",
        "country": { "name": "Exampleland", "code": "EX" }
      }
    ]
  }
  ```
</ResponseExample>
