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

# Daily Cap Settings

> Read the current daily earning cap configuration

<span style={{display:"none"}}>For the complete documentation index, see [llms.txt](/llms.txt).</span>

Returns the current cap value and whether it's active. `is_active` is `false` if the cap was never set or has been removed.

### Response

<ResponseField name="cap" type="string">
  Configured cap amount as a plain decimal string
</ResponseField>

<ResponseField name="is_active" type="boolean">
  `true` if the cap is currently enforced
</ResponseField>

```javascript theme={null}
const res = await fetch("https://tokens.shakesco.com/daily-cap-settings", {
  headers: { Authorization: `Bearer ${API_KEY}` },
});
const { cap, is_active } = await res.json();
```

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "cap": "50.0",
    "is_active": true
  }
  ```
</ResponseExample>
