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

# TikHub

> Public data from TikTok, Instagram, YouTube and X (and many other platforms) over one API: profiles, posts, comments and search.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/tikhub.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=3e46c93e50af987fd1914ca9e0a8d7f2)

[Web Catalog · Social](https://docs.webrouter.net/data-apis.md?category=social)

Needs&#x20;

`TIKHUB_API_KEY`

Endpoints

20

Auth

Key in header

[Vendor docs](https://docs.tikhub.io/)

## Setup

| Variable | | What it is |
| - | - | - |
| `TIKHUB_API_KEY` | required | A TikHub API token (tikhub.io user center > API token) |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* The full catalog has hundreds of endpoints (Douyin, Xiaohongshu, Bilibili, Weibo and more, plus 'web\_v2' and app variants); this file names the main reads for TikTok, Instagram, YouTube and X.
* Identifiers vary per call: TikTok lists want secUid, Instagram posts want a numeric user\_id (look it up with the profile call), X accepts screen\_name or rest\_id.
* Paging tokens differ per endpoint (cursor, offset plus search\_id, max\_id, min\_id, continuation\_token).
* Calls are billed per request from your TikHub balance; account.info shows the account.

## Endpoints

GET

Get your TikHub account

Account details tied to the API token.

[Open](#tikhub-account-info)

GET

Get daily usage

Daily usage of the account.

[Open](#tikhub-account-daily-usage)

GET

Get a TikTok profile

Profile by username or secUid; send at least one.

[Open](#tikhub-tiktok-profile)

GET

List a TikTok user's videos

Videos by secUid, up to 15 per page, paged by cursor.

[Open](#tikhub-tiktok-posts)

GET

Get a TikTok video

Details of one video by id.

[Open](#tikhub-tiktok-post)

GET

List comments on a TikTok video

Comments of a video, paged by cursor.

[Open](#tikhub-tiktok-comments)

GET

Search TikTok videos

Videos by keyword, paged by offset and search\_id.

[Open](#tikhub-tiktok-search)

GET

Get an Instagram profile

Profile data by username.

[Open](#tikhub-instagram-profile)

GET

List an Instagram user's posts

Posts by user id (not username), paged by max\_id.

[Open](#tikhub-instagram-posts)

GET

Get an Instagram post by URL

Post details from a post URL.

[Open](#tikhub-instagram-post)

GET

List comments on an Instagram post

Comments by media id, popular or recent, paged by min\_id.

[Open](#tikhub-instagram-comments)

GET

Search YouTube videos

Videos by keyword with language, country and sort options.

[Open](#tikhub-youtube-search)

GET

Get a YouTube channel

Channel information by channel id.

[Open](#tikhub-youtube-channel)

GET

Get a YouTube video

Video details by id; need\_format=true trims the raw player data.

[Open](#tikhub-youtube-video)

GET

List comments on a YouTube video

First-level comments, top or newest.

[Open](#tikhub-youtube-comments)

GET

List a YouTube channel's videos

Uploads of a channel, paged by continuation\_token.

[Open](#tikhub-youtube-channel-videos)

GET

Get an X profile

Profile by screen name or numeric id.

[Open](#tikhub-x-profile)

GET

List an X user's posts

Posts by screen name or id, paged by cursor.

[Open](#tikhub-x-user-posts)

GET

Get a tweet

One tweet by id.

[Open](#tikhub-x-post)

GET

Search X posts

Posts matching a keyword.

[Open](#tikhub-x-search)

### Get your TikHub account

GET

`/api/v1/tikhub/user/get_user_info`

`tikhub.account.info`

Account details tied to the API token.

Input

No inputs.

[Vendor docs](https://api.tikhub.io/openapi.json)

```python Python theme={null}
router.call_data_api("tikhub.account.info")
```

```text MCP theme={null}
call_data_api(endpoint="tikhub.account.info")
```

### Get daily usage

GET

`/api/v1/tikhub/user/get_user_daily_usage`

`tikhub.account.daily_usage`

Daily usage of the account.

Input

No inputs.

[Vendor docs](https://api.tikhub.io/openapi.json)

```python Python theme={null}
router.call_data_api("tikhub.account.daily_usage")
```

```text MCP theme={null}
call_data_api(endpoint="tikhub.account.daily_usage")
```

### Get a TikTok profile

GET

`/api/v1/tiktok/web/fetch_user_profile`

`tikhub.tiktok.profile`

Profile by username or secUid; send at least one.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `uniqueId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Public TikTok username (preferred over secUid).
      </td>
    </tr>

    <tr>
      <td>
        `secUid`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        TikTok's opaque user id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-profile), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-company-social-metrics), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-users-get), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-get), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-post-reactions), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-post-reactions)

```python Python theme={null}
router.call_data_api("tikhub.tiktok.profile")
```

```text MCP theme={null}
call_data_api(endpoint="tikhub.tiktok.profile")
```

### List a TikTok user's videos

GET

`/api/v1/tiktok/web/fetch_user_post`

`tikhub.tiktok.posts`

Videos by secUid, up to 15 per page, paged by cursor.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `secUid`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        TikTok's opaque user id.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Cursor from the previous response.
      </td>
    </tr>

    <tr>
      <td>
        `count`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page.
      </td>
    </tr>

    <tr>
      <td>
        `coverFormat`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td />
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

### Get a TikTok video

GET

`/api/v1/tiktok/web/fetch_post_detail`

`tikhub.tiktok.post`

Details of one video by id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `itemId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Video id.
      </td>
    </tr>

    <tr>
      <td>
        `region`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Region code such as US, GB, JP.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

### List comments on a TikTok video

GET

`/api/v1/tiktok/web/fetch_post_comment`

`tikhub.tiktok.comments`

Comments of a video, paged by cursor.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `aweme_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Video id.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Cursor from the previous response.
      </td>
    </tr>

    <tr>
      <td>
        `count`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page.
      </td>
    </tr>

    <tr>
      <td>
        `current_region`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Region code.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-comments), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-comments-list), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-post-comments), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-profile-comments), [Hacker News Search (Algolia)](https://docs.webrouter.net/data-apis/hn-algolia.md#hn-algolia-item-get), [Influencers Club](https://docs.webrouter.net/data-apis/influencersclub.md#influencersclub-posts-details)

### Search TikTok videos

GET

`/api/v1/tiktok/web/fetch_search_video`

`tikhub.tiktok.search`

Videos by keyword, paged by offset and search\_id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `keyword`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Search keyword.
      </td>
    </tr>

    <tr>
      <td>
        `count`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page.
      </td>
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Offset from the previous response.
      </td>
    </tr>

    <tr>
      <td>
        `search_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        search\_id from the previous response; needed when paging.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-search), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-search), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-creators-search), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-posts-search), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-post-search), [Hacker News Search (Algolia)](https://docs.webrouter.net/data-apis/hn-algolia.md#hn-algolia-search)

### Get an Instagram profile

GET

`/api/v1/instagram/v1/fetch_user_info_by_username`

`tikhub.instagram.profile`

Profile data by username.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `username`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Instagram username.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-profile), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-company-social-metrics), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-users-get), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-get), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-post-reactions), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-post-reactions)

### List an Instagram user's posts

GET

`/api/v1/instagram/v1/fetch_user_posts`

`tikhub.instagram.posts`

Posts by user id (not username), paged by max\_id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `user_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Instagram user id.
      </td>
    </tr>

    <tr>
      <td>
        `count`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Items per page.
      </td>
    </tr>

    <tr>
      <td>
        `max_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor for the next page.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

### Get an Instagram post by URL

GET

`/api/v1/instagram/v1/fetch_post_by_url`

`tikhub.instagram.post`

Post details from a post URL.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `post_url`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Post URL.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

### List comments on an Instagram post

GET

`/api/v1/instagram/v1/fetch_post_comments_v2`

`tikhub.instagram.comments`

Comments by media id, popular or recent, paged by min\_id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `media_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Post media id.
      </td>
    </tr>

    <tr>
      <td>
        `sort_order`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        popular or recent.
      </td>
    </tr>

    <tr>
      <td>
        `min_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        next\_min\_id from the previous response.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-comments), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-comments-list), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-post-comments), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-profile-comments), [Hacker News Search (Algolia)](https://docs.webrouter.net/data-apis/hn-algolia.md#hn-algolia-item-get), [Influencers Club](https://docs.webrouter.net/data-apis/influencersclub.md#influencersclub-posts-details)

### Search YouTube videos

GET

`/api/v1/youtube/web/search_video`

`tikhub.youtube.search`

Videos by keyword with language, country and sort options.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `search_query`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Search keyword.
      </td>
    </tr>

    <tr>
      <td>
        `language_code`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Language code, e.g. en-US.
      </td>
    </tr>

    <tr>
      <td>
        `order_by`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Sort order.
      </td>
    </tr>

    <tr>
      <td>
        `country_code`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Country code, e.g. US.
      </td>
    </tr>

    <tr>
      <td>
        `continuation_token`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Token from the previous response.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-search), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-search), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-creators-search), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-posts-search), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-post-search), [Hacker News Search (Algolia)](https://docs.webrouter.net/data-apis/hn-algolia.md#hn-algolia-search)

### Get a YouTube channel

GET

`/api/v1/youtube/web/get_channel_info`

`tikhub.youtube.channel`

Channel information by channel id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `channel_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        YouTube channel id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-profile), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-company-social-metrics), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-users-get), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-get), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-post-reactions), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-post-reactions)

### Get a YouTube video

GET

`/api/v1/youtube/web_v2/get_video_info`

`tikhub.youtube.video`

Video details by id; need\_format=true trims the raw player data.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `video_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        YouTube video id.
      </td>
    </tr>

    <tr>
      <td>
        `language_code`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Language code, e.g. en-US.
      </td>
    </tr>

    <tr>
      <td>
        `need_format`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        True for cleaned, trimmed data.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

### List comments on a YouTube video

GET

`/api/v1/youtube/web_v2/get_video_comments`

`tikhub.youtube.comments`

First-level comments, top or newest.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `video_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        YouTube video id.
      </td>
    </tr>

    <tr>
      <td>
        `language_code`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Language code, e.g. en-US.
      </td>
    </tr>

    <tr>
      <td>
        `country_code`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Country code, e.g. US.
      </td>
    </tr>

    <tr><td>`sort_by`</td><td>string</td><td>query</td><td>top or newest. One of `top`, `newest`</td></tr>

    <tr>
      <td>
        `continuation_token`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Token from the previous response.
      </td>
    </tr>

    <tr>
      <td>
        `need_format`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        True for cleaned, trimmed data.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-comments), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-comments-list), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-post-comments), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-profile-comments), [Hacker News Search (Algolia)](https://docs.webrouter.net/data-apis/hn-algolia.md#hn-algolia-item-get), [Influencers Club](https://docs.webrouter.net/data-apis/influencersclub.md#influencersclub-posts-details)

### List a YouTube channel's videos

GET

`/api/v1/youtube/web_v2/get_channel_videos`

`tikhub.youtube.channel_videos`

Uploads of a channel, paged by continuation\_token.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `channel_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        YouTube channel id.
      </td>
    </tr>

    <tr>
      <td>
        `language_code`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Language code, e.g. en-US.
      </td>
    </tr>

    <tr>
      <td>
        `country_code`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Country code, e.g. US.
      </td>
    </tr>

    <tr>
      <td>
        `continuation_token`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Token from the previous response.
      </td>
    </tr>

    <tr>
      <td>
        `need_format`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        True for cleaned, trimmed data.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

### Get an X profile

GET

`/api/v1/twitter/web/fetch_user_profile`

`tikhub.x.profile`

Profile by screen name or numeric id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `screen_name`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        X username (screen name).
      </td>
    </tr>

    <tr>
      <td>
        `rest_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        X numeric user id; wins over screen\_name.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-profile), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-company-social-metrics), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-users-get), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-get), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-post-reactions), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-post-reactions)

```python Python theme={null}
router.call_data_api("tikhub.x.profile")
```

```text MCP theme={null}
call_data_api(endpoint="tikhub.x.profile")
```

### List an X user's posts

GET

`/api/v1/twitter/web/fetch_user_post_tweet`

`tikhub.x.user_posts`

Posts by screen name or id, paged by cursor.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `screen_name`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        X username (screen name).
      </td>
    </tr>

    <tr>
      <td>
        `rest_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        X numeric user id; wins over screen\_name.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor from the previous response.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

```python Python theme={null}
router.call_data_api("tikhub.x.user_posts")
```

```text MCP theme={null}
call_data_api(endpoint="tikhub.x.user_posts")
```

### Get a tweet

GET

`/api/v1/twitter/web/fetch_tweet_detail`

`tikhub.x.post`

One tweet by id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `tweet_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Tweet id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

### Search X posts

GET

`/api/v1/twitter/web/fetch_search_timeline`

`tikhub.x.search`

Posts matching a keyword.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `keyword`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Search keyword.
      </td>
    </tr>

    <tr>
      <td>
        `search_type`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Search tab (e.g. Top, Latest).
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor from the previous response.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://api.tikhub.io/openapi.json) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-search), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-search), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-creators-search), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-posts-search), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-post-search), [Hacker News Search (Algolia)](https://docs.webrouter.net/data-apis/hn-algolia.md#hn-algolia-search)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.