# [Deprecated] Use the Sigma API

Learn how to use the Sigma API to execute queries and extract and retrieve data.

The content on this page is deprecated and is superseded by:

- [Run a SQL query programmatically](https://docs.stripe.com/reports/query-runs.md)

> #### Deprecated
> 
> The Sigma API is closed to new users. For programmatic query execution, read [Query runs](https://docs.stripe.com/reports/query-runs.md).

The [Sigma API](https://docs.stripe.com/api/sigma/query_runs.md?api-version=preview) allows you to execute Sigma queries programmatically that are currently executable through the Sigma editor. It permits a wider range of use cases beyond the editor. For example, you can use the Sigma API to retrieve data and render it within a Jupyter notebook, retrieve data at internally scheduled time periods, and extract and transform data. Sign-up for access to the Sigma API by submitting your email address in the interest form below.

### Interested in getting early access to the Sigma API?

Enter your email to request access.

```bash
curl https://docs.stripe.com/preview/register \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Referer: https://docs.stripe.com/data/sigma-api-deprecated" \
  -d '{"email": "EMAIL", "preview": "sigma_api_preview"}'
```
