# API

## Overview

Sphere's API allows businesses to call our tax engine within their custom billing and checkout flows.&#x20;

We are also working on providing our API for third party software vendors to embed indirect tax compliance into their products. More to come on this soon!

## [​](https://docs.getsphere.com/api-reference/introduction#authentication)Authentication <a href="#authentication" id="authentication"></a>

The API endpoint requires authentication using an API key. To access the Sphere Tax Calculation API, you must include this API key in your request headers.

### Getting Your API Key

Please contact the Sphere team to obtain your unique API key. Once you have your key, you can include it in the header of each API request as shown below.

### Example Request Header <a href="#example-header" id="example-header"></a>

Include the API key in the `X-API-KEY` header:

```
X-API-KEY: YOUR_API_KEY
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getsphere.com/features/integrations/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
