> ## Documentation Index
> Fetch the complete documentation index at: https://docs.askvideos.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> AskVideos API reference

## REST API

This page describes the AskVideos REST API in detail.

The API can be directly used as a REST API or with the [Python client](/installation/python).

In addition, some functions of the API can be accessed via the [playground](http://app.askvideos.com).

Feel free to explore the API endpoints on the panel on the left.

## Authentication

All API endpoints are authenticated using API tokens.

<Tip>Follow these steps to get an API key: [API keys](/installation/api-key)</Tip>

To authenticate an API call, pass the API key in the `X-API-Key` header field with each request.

<CodeGroup>
  ```cURL cURL theme={null}
  curl \
  -X GET "https://api.askvideos.com/v1/endpoint" \
  -H "X-API-Key: your_api_key_value"
  ```

  ```python python theme={null}
  import requests

  url = "https://api.askvideos.com/v1/endpoint"
  headers = {
      "X-API-Key": "your_api_key_value"
  }

  response = requests.get(url, headers=headers)
  print(response.status_code)
  print(response.json())
  ```

  ```java javascript theme={null}
  const url = "https://api.askvideos.com/v1/endpoint";
  const headers = {
      "X-API-Key": "your_api_key_value"
  };

  fetch(url, {
      method: "GET",
      headers: headers
  })
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));

  ```
</CodeGroup>
