> ## 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 Staking Rate

> Read the base staking rate configured for your token

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

Returns the base lock period and base reward percent you've configured via [`/set-staking-rate`](/api-reference/tokens/staking/set-staking-rate). `is_set` is `false` if you've never configured a rate.

### Response

<ResponseField name="base_duration" type="string">
  Base lock period in seconds
</ResponseField>

<ResponseField name="base_reward_percent" type="number">
  Reward percent for the base period (e.g. `20` = 20%)
</ResponseField>

<ResponseField name="is_set" type="boolean">
  `false` until you've called `/set-staking-rate` at least once
</ResponseField>

```javascript theme={null}
const res = await fetch("https://tokens.shakesco.com/staking-rate", {
  headers: { Authorization: `Bearer ${API_KEY}` },
});
const { base_duration, base_reward_percent, is_set } = await res.json();
```

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "base_duration": "31536000",
    "base_reward_percent": 20,
    "is_set": true
  }
  ```
</ResponseExample>
