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

# Quickstart

> Make your first KeyAPI API call in under 5 minutes.

## 1. Get Your API Key

Sign up at [keyapi.ai](https://keyapi.ai) and navigate to your dashboard to obtain an API key.

## 2. Make Your First Request

All requests use **Bearer authentication**. Pass your API key in the `Authorization` header.

<CodeGroup>
  ```bash cURL theme={null}
  curl -H "Authorization: Bearer YOUR_API_KEY" \
    "https://api.keyapi.ai/v1/tiktok/influencer/detail?unique_id=karladelatorre97"
  ```

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

  response = requests.get(
      "https://api.keyapi.ai/v1/tiktok/influencer/detail",
      params={"unique_id": "karladelatorre97"},
      headers={"Authorization": "Bearer YOUR_API_KEY"},
  )
  print(response.json())
  ```

  ```javascript JavaScript theme={null}
  const res = await fetch(
    "https://api.keyapi.ai/v1/tiktok/influencer/detail?unique_id=karladelatorre97",
    {
      headers: {
        Authorization: "Bearer YOUR_API_KEY",
      },
    }
  );
  console.log(await res.json());
  ```
</CodeGroup>

## 3. Check the Response

A successful response looks like:

```json theme={null}
{
  "code": 0,
  "message": "success",
  "data": {
    "status_code": 0,
    "status_msg": "",
    "user": { ... }
  }
}
```

<Note>
  `code: 0` means success. Any non-zero code indicates an error — check `message` for details.
</Note>

## Next Steps

* Read the [Authentication](/en/overview/authentication) guide for full auth details.
* Browse endpoints in the platform sections (TikTok, Instagram, etc.) in the sidebar.
