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

# Start Account Research

> Start account research on a target company and get a shareable report link immediately

Start account research on a target company and receive a magic link immediately. Account research finds the buyers at that company and the warm paths into them through your network.

The link points to a live report page. While the pipeline runs (typically 2 to 5 minutes) it shows a "processing" state and auto-refreshes every 30 seconds. Once complete, the same URL renders the full report. No polling or second request needed.

The magic link is **deterministic**: repeated calls with the same tenant and LinkedIn URL return the same link. Re-running research updates the existing report in place.

## Body

<ParamField body="company_name" type="string" required>
  Name of the target company.
</ParamField>

<ParamField body="company_linkedin_url" type="string" required>
  LinkedIn company page URL. Must contain `/company/`.
</ParamField>

<ParamField body="countries" type="string[]">
  Filter buyers by country (e.g. `["United States", "United Kingdom"]`).
</ParamField>

<ParamField body="completion_email" type="string">
  Email to notify when the report is ready.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://api.clustr-ai.com/api/public/account-research \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "company_name": "Acme Corp",
      "company_linkedin_url": "https://www.linkedin.com/company/acme-corp/",
      "countries": ["United States"],
      "completion_email": "notify@example.com"
    }'
  ```

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

  requests.post(
      "https://api.clustr-ai.com/api/public/account-research",
      headers={"Authorization": "Bearer YOUR_API_KEY"},
      json={
          "company_name": "Acme Corp",
          "company_linkedin_url": "https://www.linkedin.com/company/acme-corp/",
      },
  )
  ```

  ```javascript JavaScript theme={null}
  await fetch("https://api.clustr-ai.com/api/public/account-research", {
    method: "POST",
    headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
    body: JSON.stringify({
      company_name: "Acme Corp",
      company_linkedin_url: "https://www.linkedin.com/company/acme-corp/",
    }),
  });
  ```
</RequestExample>

<ResponseExample>
  ```json 201 theme={null}
  {
    "success": true,
    "data": {
      "job_id": "988f0602-1ddd-49ec-aef6-e0a6d680b5a5",
      "status": "PROCESSING",
      "company_name": "Acme Corp",
      "magic_link": "https://app.clustr-ai.com/shared/a1b2c3d4-..."
    }
  }
  ```

  ```json 400 theme={null}
  {
    "success": false,
    "error": {
      "message": "Invalid request body",
      "code": "BAD_REQUEST"
    }
  }
  ```

  ```json 402 theme={null}
  {
    "success": false,
    "error": {
      "message": "Insufficient account research credits",
      "code": "PAYMENT_REQUIRED"
    }
  }
  ```
</ResponseExample>
