# Search names and skills

Search partial names for matching locations, companies, or skills. Company results use the same numeric ID as `org_id` in company details.

- Platform: LinkedIn
- Request: `GET https://api.toolzerhub.com/v1/linkedin/typeahead`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/linkedin/linked-in-typeahead

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Partial name to resolve. |
| `type` | query | yes | enum: GEO, COMPANY, SKILL | What to resolve. GEO, COMPANY, and SKILL are the only real values -- LinkedIn silently serves SKILL results for anything else. COMPANY returns the same numeric id as /company's org_id (job search's f_C). |
| `geo_types` | query | no | string | GEO only: restrict geo granularity, comma list. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/linkedin/typeahead?query=<query>&type=<type>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
