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

# Update Settings

> Configure Instagram Followers Scraper settings

Configure your **Instagram Followers Scraper** squid settings.

## Headers

<ParamField header="Authorization" type="string" required>
  Your API authentication token. Value: `Token YOUR_API_KEY`
</ParamField>

<ParamField header="Content-Type" type="string" required>
  Must be application/json. Value: `application/json`
</ParamField>

## Squid Parameters

| Parameter                      | Type    | Default | Description                                                                                                                                               |
| ------------------------------ | ------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| search                         | string  | —       | Optional search query to filter followers by name or username (matches Instagram's native follower-list search bar). Leave empty to scrape all followers. |
| max\_unique\_results\_per\_run | int     | —       | Maximum number of unique results retrieved across all tasks in the entire run. Leave empty for unlimited.                                                 |
| max\_results                   | integer | —       | Total followers the crawler will collect during the run.                                                                                                  |

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH \
    -H "Authorization: Token YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "max_results": 500,
      "max_unique_results_per_run": 2000
    }'
  ```

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

  response = requests.post(
      "https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH",
      headers={
          "Authorization": "Token YOUR_API_KEY",
          "Content-Type": "application/json",
      },
      json={
          "max_results": 500,
          "max_unique_results_per_run": 2000,
      },
  )
  print(response.json())
  ```
</CodeGroup>

## Response

```json 201 theme={null}
{"params": {"max_results": 500, "max_unique_results_per_run": 2000}}
```
