> ## 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 Pinterest Scraper settings

Configure your **Pinterest 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 |
| - | - | - | - |
| video\_only | boolean | false | Only keep pins that come with a playable video. Idea pins are not included. |
| pin\_details | boolean | false | Open each pin to add its share, comment and save counts, price, alt text, full description and the topics Pinterest detected. Included at no extra cost when the task is a single pin link. Costs 1 extra credit per pin otherwise. |
| max\_results | integer | — | The most pins to collect from each keyword, board or profile. Leave empty to collect everything Pinterest shows. |
| max\_unique\_results\_per\_run | integer | — | Maximum number of unique pins retrieved across all tasks in the entire run. Leave empty for unlimited. |

## 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 '{
      "video_only": false,
      "pin_details": true,
      "max_results": 100
    }'
  ```

  ```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={
          "video_only": False,
          "pin_details": True,
          "max_results": 100,
      },
  )
  print(response.json())
  ```
</CodeGroup>

## Response

```json 201 theme={null}
{"params": {"video_only": false, "pin_details": true, "max_results": 100}}
```
