# Get Instagram search typeahead

Instagram's search-bar typeahead: accounts, hashtags and places for one query, in a single response. Set `type` to return just one of the three. Not paginated — it returns the first screen of results, the same as the app's search bar.

- Platform: Instagram V3
- Request: `GET https://api.toolzerhub.com/v3/instagram/search`
- Auth: `x-api-key` header
- Cost: 3 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/instagram-v3/search/search-instagram-v3

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Text to get typeahead suggestions for. |
| `type` | query | no | enum: all, users, hashtags, places | Restrict results to one section of the typeahead. Default: all. |

## Example request

```bash
curl "https://api.toolzerhub.com/v3/instagram/search?query=<query>" \
  -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.
