# The OpenAPI document

`GET https://api.anyshop.io/v1/openapi.json`

This document

- Part of the [API reference](https://docs.anyshop.io/reference.md), [The API](https://docs.anyshop.io/reference.md#api).
- No API key: the license key is the credential.

## Returns

The OpenAPI 3.1 document

## Example

curl:

```bash
curl https://api.anyshop.io/v1/openapi.json
```

Node:

```js
const response = await fetch("https://api.anyshop.io/v1/openapi.json");
const answer = await response.json();
```

Python:

```python
import requests

response = requests.get(
    "https://api.anyshop.io/v1/openapi.json",
)
answer = response.json()
```

The IDs and keys in these examples are made up. Every schema is in the OpenAPI document, https://api.anyshop.io/v1/openapi.json.
