> For the complete documentation index, see [llms.txt](https://bybt.gitbook.io/bybt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bybt.gitbook.io/bybt/api-key.md).

# Api Key

All api require permission validation.you need to add "**bybtSecret**" in http request **header**.

```python
Python Code:

import requests

url = "http://open-api.bybt.com/api/pro/v1/futures/openInterest?interval={interval}&symbol={symbol}"

params = {}
headers = {
  'bybtSecret': 'apiKey'
}

response = requests.request("GET", url, headers=headers, data = params)

print(response.text.encode('utf8'))

```

```python
Curl Code:

curl --location --request GET 'http://open-api.bybt.com/' \
--header 'bybtSecret: apiKey'
```
