# Get a lead search

> One lead search

`GET https://api.signalvan.com/v1/searches/{search_id}`

**Step 7 of 9 in the lead generation flow: Track progress.**

Needs `leads:read` · Uses no credits · 300 a minute · Web page: https://www.signalvan.com/developers/reference/get-search

One lead search: its `status` (`queued`, `running`, `done`, `error`), the latest progress line,
the counts once done and a link to open it in SignalVan. Poll it, or hold `GET /searches/{search_id}/wait` instead.

**Credits:** none.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `search_id` | `string` | Yes | A lead search id (GET /searches) Example: `3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35`. |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `website_id` | `string` | No | The website to act on (GET /websites). Left out: the key's default website, else its only one; a key that opens several websites and has no default must send it Example: `6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14`. |

## Headers

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Authorization` | `string` | Yes | Bearer and your API key. Keys are made in SignalVan: Account, API keys. Example: `Bearer sv_live_...`. |
| `X-Website-Id` | `string` | No | The same as website_id, as a header (the query parameter wins when both are sent) Example: `6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14`. |

## Response · 200 (application/json)

- `id` (string, required): The lead search id
- `status` (string, required): Where the lead search is One of: `queued`, `running`, `done`, `error`.
- `progress` (string | null): The latest progress line in plain words (null before it starts)
- `title` (string | null): The list's name, in the words of the request (or the name the user gave it)
- `created_at` (string | null): When it was started
- `updated_at` (string | null): When it last changed
- `leads_total` (integer | null): The likely customers it found (null until done). The leads list also holds partners and leads to check, so its total can be higher
- `counts` (object | null): Breakdowns when done (by_country, by_segment, kinds and more), null until then
- `outcome` (string | null): done or done_with_problems when the lead search is done, else null
- `error` (string | null): Why it stopped, in plain words, when status is error
- `app_url` (string, required): Open the lead search in SignalVan

## Responses

- `200`: The lead search
- `400` `invalid`: A field is not valid (the detail names it)
- `401` `unauthorized`: No API key, or the key is not valid
- `403` `scope_missing`: The key lacks the permission (scope_missing)
- `404` `not_found`: Not found, or not yours
- `429` `rate_limited`: Too many requests: wait Retry-After seconds
- `503` `unavailable`: Temporarily unavailable: retry with backoff

## Request

Every request below is complete and runs as copied (set SIGNALVAN_API_KEY first). website_id is needed when your key opens several websites; it takes the website's id or its domain.

### Request

cURL:

```bash
curl "https://api.signalvan.com/v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14" \
  -H "Authorization: Bearer $SIGNALVAN_API_KEY"
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.signalvan.com/v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14",
    headers={"Authorization": f"Bearer {os.environ['SIGNALVAN_API_KEY']}"},
    timeout=70,
)
r.raise_for_status()
print(r.json())
```

Node.js:

```javascript
const r = await fetch("https://api.signalvan.com/v1/searches/3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14", {
  headers: {
    Authorization: `Bearer ${process.env.SIGNALVAN_API_KEY}`,
  },
})
if (!r.ok) throw new Error((await r.json()).detail)
console.log(await r.json())
```

## Response example · 200

```json
{
  "id": "3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35",
  "status": "done",
  "progress": "Read each company's website for context",
  "title": "Digital dentistry",
  "created_at": "2026-11-20T09:41:07Z",
  "updated_at": "2026-11-20T09:58:31Z",
  "leads_total": 31,
  "counts": {
    "by_country": {
      "GB": 44
    },
    "by_segment": {
      "Practice owners": 22,
      "Practice managers": 13,
      "Dental technicians": 9
    },
    "kinds": {
      "customer": 31,
      "partner": 2,
      "check": 7,
      "nofit": 4,
      "competitor": 0
    }
  },
  "outcome": "done",
  "error": null,
  "app_url": "https://www.signalvan.com/studio?p=leads&view=job&job=3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35"
}
```
