> ## 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.

# Get Happy Hour

> Check whether a happy hour is active and what the multiplier is

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

Returns the current happy hour state. `is_active` tells you whether claims right now would be multiplied.

### Response

<ResponseField name="end_time" type="string">
  Unix timestamp (seconds) when the happy hour ends. `"0"` if no happy hour was ever set or it was ended early.
</ResponseField>

<ResponseField name="multiplier" type="number">
  Multiplier value (e.g. `2` for 2x). Returns `1` when inactive.
</ResponseField>

<ResponseField name="is_active" type="boolean">
  `true` if a happy hour is currently in progress
</ResponseField>

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

<ResponseExample>
  ```json 200 OK (active) theme={null}
  {
    "end_time": "1715010000",
    "multiplier": 2,
    "is_active": true
  }
  ```

  ```json 200 OK (inactive) theme={null}
  {
    "end_time": "0",
    "multiplier": 1,
    "is_active": false
  }
  ```
</ResponseExample>
