Coin Metrics LogoData Downloader

Returns open interest for specified futures markets.

Time Range (UTC)

Markets

Start typing to search markets

Select markets above to preview and download data

Automate downloads / API call examples(Select data first)

Download file via API

View API documentation
curl
# Set your API key
API_KEY="YOUR_API_KEY"
curl --compressed "URL" -o market-openinterest__.jsonl
python
import requests

# Set your API key
API_KEY = "YOUR_API_KEY"
url = f'URL'
with requests.get(url, stream=True) as r:
    r.raise_for_status()
    with open('market-openinterest__.jsonl', 'wb') as f:
        for chunk in r.iter_content(chunk_size=1024*1024):
            if chunk:
                f.write(chunk)