> ## 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.

# API Reference

> Overview of all KeyAPI API endpoints organized by platform.

## Base URL

```
https://api.keyapi.ai
```

## Platforms

Browse endpoints by group (20 groups total):

<CardGroup cols={2}>
  <Card title="TikTok Influencer" icon="tiktok" href="/en/tiktok/influencer/search">
    Creator profiles, followers, videos, and analytics.
  </Card>

  <Card title="TikTok Shop" icon="tiktok" href="/en/tiktok/shop/product-id">
    Product, category, shop, and livestream intelligence.
  </Card>

  <Card title="TikTok Content" icon="tiktok" href="/en/tiktok/content/video-search">
    Videos, hashtags, music, comments, and search.
  </Card>

  <Card title="TikTok Intelligence" icon="tiktok" href="/en/tiktok/intelligence/trending-hashtags">
    Trend signals, insights, and ads intelligence.
  </Card>

  <Card title="Instagram User" icon="instagram" href="/en/instagram/fetch_user_info">
    Profiles, followers, reels, stories, and highlights.
  </Card>

  <Card title="Instagram Content" icon="instagram" href="/en/instagram/fetch_post_info">
    Posts, comments, hashtags, and discovery.
  </Card>

  <Card title="YouTube Video" icon="youtube" href="/en/youtube/get_video_info">
    Video detail, comments, streams, and trends.
  </Card>

  <Card title="YouTube Channel" icon="youtube" href="/en/youtube/get_channel_description">
    Channel profiles, search, and discovery.
  </Card>

  <Card title="Twitter / X" icon="x-twitter" href="/en/twitter/screenname">
    Tweets, profiles, replies, media, and trends.
  </Card>

  <Card title="LinkedIn User" icon="linkedin" href="/en/linkedin/get_user_profile">
    Profiles, posts, skills, and professional insights.
  </Card>

  <Card title="LinkedIn Company" icon="linkedin" href="/en/linkedin/get_company_profile">
    Company profiles, jobs, and people data.
  </Card>

  <Card title="Reddit Post" icon="reddit" href="/en/reddit/fetch_post_details">
    Post detail, comments, and feed exploration.
  </Card>

  <Card title="Reddit User & Community" icon="reddit" href="/en/reddit/fetch_user_profile">
    User profiles, subreddits, and search signals.
  </Card>

  <Card title="Threads" icon="threads" href="/en/threads/fetch_user_info">
    Profiles, posts, comments, and search.
  </Card>

  <Card title="Amazon Product" icon="amazon" href="/en/amazon/search">
    Products, reviews, offers, and categories.
  </Card>

  <Card title="Amazon Seller & Influencer" icon="amazon" href="/en/amazon/seller-profile">
    Seller profiles and influencer storefront insights.
  </Card>

  <Card title="Facebook" icon="facebook" href="/en/facebook/profile_details_url">
    Profiles, groups, posts, and reels.
  </Card>

  <Card title="Pinterest" icon="pinterest" href="/en/pinterest/search">
    Users, boards, pins, and followers.
  </Card>

  <Card title="Google" icon="google" href="/en/google/search">
    Web and image search data.
  </Card>
</CardGroup>

## Response Format

All endpoints return JSON in the following envelope:

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

| Field     | Type            | Description                            |
| --------- | --------------- | -------------------------------------- |
| `code`    | integer         | `0` = success, any other value = error |
| `message` | string          | Human-readable status message          |
| `data`    | object \| array | The response payload                   |
