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

# Check follow

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">per request</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 Why Code When AI Can Do It For You?</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">Stop writing code like it's 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.</p>
  </div>

  <div className="mt-4">
    <button
      type="button"
      className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50"
      onClick={() => navigator.clipboard.writeText(`I want to make an API call to https://api.keyapi.ai/v1/twitter/checkfollow.

Please help me write code to make this API call and handle the response appropriately. Include error handling and best practices.

Here are the details:

Endpoint: GET https://api.keyapi.ai/v1/twitter/checkfollow

Description: Check follow

Required Headers:
--header 'Authorization: Bearer <YOUR_API_KEY>'

Parameters:
- user (Required): 
- follows (Required): 

Example Response:
{
"code": 0,
"message": "success",
"data": {
"status": "ok",
"timeline": [
  {
    "type": "tweet",
    "tweet_id": "1947625824733282772",
    "screen_name": "jackma57245",
    "bookmarks": 0,
    "favorites": 0,
    "created_at": "Tue Jul 22 11:52:36 +0000 2025",
    "text": "@elonmusk hello",
    "lang": "en",
    "display_text_range": [
      10,
      15
    ],
    "source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
    "quotes": 0,
    "replies": 0,
    "conversation_id": "1738106896777699464",
    "retweets": 0,
    "views": "2",
    "entities": {
      "hashtags": [],
      "symbols": [],
      "timestamps": [],
      "urls": [],
      "user_mentions": [
        {
          "id_str": "44196397",
          "indices": [
            0,
            9
          ],
          "name": "Elon Musk",
          "screen_name": "elonmusk"
        }
      ]
    },
    "user_info": {
      "screen_name": "jackma57245",
      "name": "jack ma",
      "created_at": "Sat Jul 19 03:14:28 +0000 2025",
      "description": "",
      "rest_id": "1946408212917637120",
      "followers_count": 1,
      "favourites_count": 6,
      "avatar": "https://pbs.twimg.com/profile_images/1946408270475988992/XJsdEjxM_normal.png",
      "url": null,
      "cover_image": "",
      "verified_type": null,
      "verified": false,
      "friends_count": 7,
      "location": ""
    },
    "media": [],
    "in_reply_to_screen_name": "elonmusk",
    "in_reply_to_status_id_str": "1738106896777699464",
    "in_reply_to_user_id_str": "44196397"
  },
  {
    "type": "tweet",
    "tweet_id": "1929304754812776882",
    "screen_name": "AnilaMathew",
    "bookmarks": 0,
    "favorites": 0,
    "created_at": "
... (truncated)`)}
    >
      <span>✨</span>
      <span>Copy for AI</span>
    </button>
  </div>
</div>


## OpenAPI

````yaml en/twitter.openapi.json GET /v1/twitter/checkfollow
openapi: 3.0.1
info:
  title: Twitter/X API english documentation
  description: >-
    The english reference documentation of the Twitter/X API includes the
    interface's purpose, parameter description, response status, and sample
    structure.
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Twitter/X
security:
  - JWT Bearer: []
tags: []
paths:
  /v1/twitter/checkfollow:
    get:
      tags: []
      summary: Check follow
      parameters:
        - name: user
          in: query
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: follows
          in: query
          description: ''
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 0
                message: success
                data:
                  status: ok
                  timeline:
                    - type: tweet
                      tweet_id: '1947625824733282772'
                      screen_name: jackma57245
                      bookmarks: 0
                      favorites: 0
                      created_at: Tue Jul 22 11:52:36 +0000 2025
                      text: '@elonmusk hello'
                      lang: en
                      display_text_range:
                        - 10
                        - 15
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '2'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: jackma57245
                        name: jack ma
                        created_at: Sat Jul 19 03:14:28 +0000 2025
                        description: ''
                        rest_id: '1946408212917637120'
                        followers_count: 1
                        favourites_count: 6
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1946408270475988992/XJsdEjxM_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 7
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1929304754812776882'
                      screen_name: AnilaMathew
                      bookmarks: 0
                      favorites: 0
                      created_at: Sun Jun 01 22:31:12 +0000 2025
                      text: '@elonmusk Wow'
                      lang: und
                      display_text_range:
                        - 10
                        - 13
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '9'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: AnilaMathew
                        name: Anila Mathew
                        created_at: Wed Aug 12 15:56:35 +0000 2009
                        description: ''
                        rest_id: '65072209'
                        followers_count: 1222
                        favourites_count: 4067
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1942622796460261378/flSp7RJ-_normal.jpg
                        url: null
                        cover_image: >-
                          https://pbs.twimg.com/profile_banners/65072209/1749142813
                        verified_type: null
                        verified: false
                        friends_count: 46
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1920034606201327781'
                      screen_name: YvonneClem46448
                      bookmarks: 0
                      favorites: 0
                      created_at: Wed May 07 08:34:57 +0000 2025
                      text: '@elonmusk Wow! Wow! Wow! Love to watch.'
                      lang: en
                      display_text_range:
                        - 10
                        - 39
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '9'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: YvonneClem46448
                        name: Yvonne Clement
                        created_at: Thu Jul 11 05:50:09 +0000 2024
                        description: ''
                        rest_id: '1811276501687365632'
                        followers_count: 36
                        favourites_count: 18
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1811276773990023168/ENcQplR9_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 24
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1918363701830107153'
                      screen_name: MarsResident027
                      bookmarks: 0
                      favorites: 1
                      created_at: Fri May 02 17:55:22 +0000 2025
                      text: '@elonmusk Just incredible'
                      lang: en
                      display_text_range:
                        - 10
                        - 25
                      source: >-
                        <a href="http://twitter.com/download/iphone"
                        rel="nofollow">Twitter for iPhone</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '9'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: MarsResident027
                        name: Ryan
                        created_at: Wed Jul 15 00:22:35 +0000 2009
                        description: >-
                          Just a regular dude that loves and invests in
                          technology and space exploration.
                        rest_id: '56867116'
                        followers_count: 697
                        favourites_count: 40367
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1830247303422128128/6bxYtDKU_normal.jpg
                        url: null
                        cover_image: >-
                          https://pbs.twimg.com/profile_banners/56867116/1635034260
                        verified_type: null
                        verified: true
                        friends_count: 142
                        location: At Home
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1875861554270519561'
                      screen_name: AlexanderW15354
                      bookmarks: 0
                      favorites: 0
                      created_at: Sun Jan 05 11:07:01 +0000 2025
                      text: '@elonmusk Ohne die Technik von 1969 ?'
                      lang: de
                      display_text_range:
                        - 10
                        - 37
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '9'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: AlexanderW15354
                        name: Alexander Weiss
                        created_at: Thu Dec 21 07:33:24 +0000 2023
                        description: ''
                        rest_id: '1737737824370069504'
                        followers_count: 2
                        favourites_count: 21
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1737738021099761664/m2S3XYUl_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 30
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1870001231072243748'
                      screen_name: 0xsivi
                      bookmarks: 0
                      favorites: 0
                      created_at: Fri Dec 20 07:00:11 +0000 2024
                      text: '@elonmusk 1111111111111 https://t.co/sfcTT5yzdC'
                      lang: und
                      display_text_range:
                        - 10
                        - 23
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '14'
                      entities:
                        hashtags: []
                        media:
                          - allow_download_status:
                              allow_download: true
                            display_url: pic.x.com/sfcTT5yzdC
                            expanded_url: >-
                              https://x.com/0xsivi/status/1870001231072243748/photo/1
                            ext_media_availability:
                              status: Available
                            features:
                              large:
                                faces: []
                              medium:
                                faces: []
                              orig:
                                faces: []
                              small:
                                faces: []
                            id_str: '1870001214009815041'
                            indices:
                              - 24
                              - 47
                            media_key: '3_1870001214009815041'
                            media_results:
                              result:
                                media_key: '3_1870001214009815041'
                            media_url_https: https://pbs.twimg.com/media/GfOUMkqasAEY8xa.png
                            original_info:
                              focus_rects:
                                - h: 129
                                  w: 230
                                  x: 0
                                  'y': 45
                                - h: 219
                                  w: 219
                                  x: 6
                                  'y': 0
                                - h: 219
                                  w: 192
                                  x: 19
                                  'y': 0
                                - h: 219
                                  w: 110
                                  x: 60
                                  'y': 0
                                - h: 219
                                  w: 230
                                  x: 0
                                  'y': 0
                              height: 219
                              width: 230
                            sizes:
                              large:
                                h: 219
                                resize: fit
                                w: 230
                              medium:
                                h: 219
                                resize: fit
                                w: 230
                              small:
                                h: 219
                                resize: fit
                                w: 230
                              thumb:
                                h: 150
                                resize: crop
                                w: 150
                            type: photo
                            url: https://t.co/sfcTT5yzdC
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: 0xsivi
                        name: SIVI
                        created_at: Tue Jun 28 18:01:00 +0000 2022
                        description: ''
                        rest_id: '1541844079562346497'
                        followers_count: 1
                        favourites_count: 60
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1733711906920402945/-TZ2KOS7_normal.jpg
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 31
                        location: ''
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/GfOUMkqasAEY8xa.png
                            id: '1870001214009815041'
                            sizes:
                              h: 219
                              w: 230
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1867999950145306857'
                      screen_name: Janie0591362642
                      bookmarks: 0
                      favorites: 2
                      created_at: Sat Dec 14 18:27:48 +0000 2024
                      text: >-
                        @elonmusk Wow. I'm finally seeing something
                        unbelievable!
                      lang: en
                      display_text_range:
                        - 10
                        - 57
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '10'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: Janie0591362642
                        name: Janie
                        created_at: Thu Aug 08 18:04:41 +0000 2024
                        description: ''
                        rest_id: '1821607878400290816'
                        followers_count: 255
                        favourites_count: 257
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1821608486138212353/e2RlHy1k_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 198
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1863428076081729868'
                      screen_name: zell2023
                      bookmarks: 0
                      favorites: 0
                      created_at: Mon Dec 02 03:40:48 +0000 2024
                      text: '@EmoQueen50 @elonmusk 🤩🤩🤩🤩🤩'
                      lang: qme
                      display_text_range:
                        - 22
                        - 27
                      source: >-
                        <a href="http://twitter.com/download/iphone"
                        rel="nofollow">Twitter for iPhone</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '15'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '1709206674630737920'
                            indices:
                              - 0
                              - 11
                            name: Emo Queen
                            screen_name: EmoQueen50
                          - id_str: '44196397'
                            indices:
                              - 12
                              - 21
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: zell2023
                        name: Zell2023
                        created_at: Thu Oct 12 12:08:33 +0000 2023
                        description: I'm a grown man and to some people I'm wonderful.
                        rest_id: '1712440049479090176'
                        followers_count: 17
                        favourites_count: 1438
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1862303588552224768/fbdO1_sv_normal.jpg
                        url: https://vk.com/id866543467
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 23
                        location: Los Angeles, CA
                      media: []
                      in_reply_to_screen_name: EmoQueen50
                      in_reply_to_status_id_str: '1738134791357415772'
                      in_reply_to_user_id_str: '1709206674630737920'
                    - type: tweet
                      tweet_id: '1858733510795948481'
                      screen_name: christin_d74509
                      bookmarks: 0
                      favorites: 0
                      created_at: Tue Nov 19 04:46:17 +0000 2024
                      text: '@elonmusk 🐦‍🔥🐦‍🔥🐦‍🔥'
                      lang: qme
                      display_text_range:
                        - 10
                        - 19
                      source: >-
                        <a href="http://twitter.com/download/iphone"
                        rel="nofollow">Twitter for iPhone</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '2'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: christin_d74509
                        name: Christin Didier
                        created_at: Fri Feb 23 06:02:15 +0000 2024
                        description: ''
                        rest_id: '1760907825759567872'
                        followers_count: 1
                        favourites_count: 5
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1760907908227940352/tsF04-yt_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 8
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1858733319179169823'
                      screen_name: christin_d74509
                      bookmarks: 0
                      favorites: 0
                      created_at: Tue Nov 19 04:45:31 +0000 2024
                      text: '@elonmusk 😇😇😇'
                      lang: qme
                      display_text_range:
                        - 10
                        - 13
                      source: >-
                        <a href="http://twitter.com/download/iphone"
                        rel="nofollow">Twitter for iPhone</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '2'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: christin_d74509
                        name: Christin Didier
                        created_at: Fri Feb 23 06:02:15 +0000 2024
                        description: ''
                        rest_id: '1760907825759567872'
                        followers_count: 1
                        favourites_count: 5
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1760907908227940352/tsF04-yt_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 8
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1858733254603583569'
                      screen_name: christin_d74509
                      bookmarks: 0
                      favorites: 0
                      created_at: Tue Nov 19 04:45:16 +0000 2024
                      text: '@elonmusk Sweet Jesus'
                      lang: en
                      display_text_range:
                        - 10
                        - 21
                      source: >-
                        <a href="http://twitter.com/download/iphone"
                        rel="nofollow">Twitter for iPhone</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '3'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: christin_d74509
                        name: Christin Didier
                        created_at: Fri Feb 23 06:02:15 +0000 2024
                        description: ''
                        rest_id: '1760907825759567872'
                        followers_count: 1
                        favourites_count: 5
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1760907908227940352/tsF04-yt_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 8
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1849719484082233497'
                      screen_name: HartsoTheGreat
                      bookmarks: 0
                      favorites: 0
                      created_at: Fri Oct 25 07:47:45 +0000 2024
                      text: >-
                        I'm not sure there is a study to show your case? Earth's
                        firmament is not disrupted by starship launches. If so,
                        then why is it not disrupted by all aircraft? Why do you
                        choose only one person to blame?  Belief in firmament
                        leads to belief in the Lord, and God would not create
                        his firmament to be perishable to starships. God is
                        impervious to all of mankind's creations because he is
                        God. Also, if God created man. Then, he also created our
                        curiosity to explore and would encourage this of his
                        creations to grow and to further their growth in
                        humanity. The wiser humanity becomes the more advanced
                        technologically, and this would only lead to exploration
                        above and beyond the firmament. 😊
                      lang: en
                      display_text_range:
                        - 27
                        - 304
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '7'
                      entities:
                        hashtags: []
                        symbols: []
                        urls: []
                        user_mentions: []
                      user_info:
                        screen_name: HartsoTheGreat
                        name: HartsoughTheGreat
                        created_at: Mon Sep 02 00:56:01 +0000 2024
                        description: >-
                          Time consists of no matter, but for some time, it
                          matters the most.
                        rest_id: '1830409245310763008'
                        followers_count: 173
                        favourites_count: 185
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1845328368163577857/2jTeeT0k_normal.jpg
                        url: null
                        cover_image: >-
                          https://pbs.twimg.com/profile_banners/1830409245310763008/1728795656
                        verified_type: null
                        verified: false
                        friends_count: 83
                        location: Earth
                      media: []
                      in_reply_to_screen_name: certifiedErwinS
                      in_reply_to_status_id_str: '1738884157705498976'
                      in_reply_to_user_id_str: '1536788921979490304'
                    - type: tweet
                      tweet_id: '1847425429168070783'
                      screen_name: MaryMasse167815
                      bookmarks: 0
                      favorites: 0
                      created_at: Fri Oct 18 23:52:00 +0000 2024
                      text: '@MisttinaBr24043 @elonmusk Great photos'
                      lang: en
                      display_text_range:
                        - 27
                        - 39
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '5'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '1638163754759204864'
                            indices:
                              - 0
                              - 16
                            name: Misttina Brownfield
                            screen_name: MisttinaBr24043
                          - id_str: '44196397'
                            indices:
                              - 17
                              - 26
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: MaryMasse167815
                        name: Mary Masse
                        created_at: Fri Aug 02 09:09:37 +0000 2024
                        description: ''
                        rest_id: '1819299196341460992'
                        followers_count: 9
                        favourites_count: 33
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1819299507483369472/HrTGUhOG_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 34
                        location: ''
                      media: []
                      in_reply_to_screen_name: MisttinaBr24043
                      in_reply_to_status_id_str: '1738419164711174242'
                      in_reply_to_user_id_str: '1638163754759204864'
                    - type: tweet
                      tweet_id: '1836031832841732454'
                      screen_name: AlRhodes563416
                      bookmarks: 0
                      favorites: 0
                      created_at: Tue Sep 17 13:17:55 +0000 2024
                      text: '@elonmusk Wooooooooow'
                      lang: und
                      display_text_range:
                        - 10
                        - 21
                      source: >-
                        <a href="http://twitter.com/download/iphone"
                        rel="nofollow">Twitter for iPhone</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '3'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: AlRhodes563416
                        name: Al Rhodes
                        created_at: Fri Jun 28 04:48:58 +0000 2024
                        description: ''
                        rest_id: '1806550150027878400'
                        followers_count: 1323
                        favourites_count: 6
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1806550337202876416/2PZaFOQq_normal.png
                        url: null
                        cover_image: >-
                          https://pbs.twimg.com/profile_banners/1806550150027878400/1752435772
                        verified_type: null
                        verified: false
                        friends_count: 432
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1825462399190606276'
                      screen_name: amaurimoraes38
                      bookmarks: 0
                      favorites: 0
                      created_at: Mon Aug 19 09:18:46 +0000 2024
                      text: >-
                        @buiduchoahg @elonmusk Que desespero   acordar os amigos
                        kkkkllkk
                      lang: pt
                      display_text_range:
                        - 23
                        - 65
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '4'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '1672857900639981569'
                            indices:
                              - 0
                              - 12
                            name: Bùi Đức Hòa
                            screen_name: buiduchoahg
                          - id_str: '44196397'
                            indices:
                              - 13
                              - 22
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: amaurimoraes38
                        name: Amauri moraes
                        created_at: Fri Apr 21 00:07:32 +0000 2023
                        description: ''
                        rest_id: '1649202911484825605'
                        followers_count: 40
                        favourites_count: 3511
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1649203178427015171/jal_zTQ2_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 101
                        location: ''
                      media: []
                      in_reply_to_screen_name: buiduchoahg
                      in_reply_to_status_id_str: '1738108659648122963'
                      in_reply_to_user_id_str: '1672857900639981569'
                    - type: tweet
                      tweet_id: '1825461945727701248'
                      screen_name: amaurimoraes38
                      bookmarks: 0
                      favorites: 0
                      created_at: Mon Aug 19 09:16:57 +0000 2024
                      text: >-
                        @K_Ji_Gur @elonmusk Muito lindo de se ver e aderissem de
                        re
                      lang: pt
                      display_text_range:
                        - 20
                        - 59
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '5'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '1718969305847771136'
                            indices:
                              - 0
                              - 9
                            name: Nguồn Sống
                            screen_name: K_Ji_Gur
                          - id_str: '44196397'
                            indices:
                              - 10
                              - 19
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: amaurimoraes38
                        name: Amauri moraes
                        created_at: Fri Apr 21 00:07:32 +0000 2023
                        description: ''
                        rest_id: '1649202911484825605'
                        followers_count: 40
                        favourites_count: 3511
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1649203178427015171/jal_zTQ2_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 101
                        location: ''
                      media: []
                      in_reply_to_screen_name: K_Ji_Gur
                      in_reply_to_status_id_str: '1738108524255977506'
                      in_reply_to_user_id_str: '1718969305847771136'
                    - type: tweet
                      tweet_id: '1825461178941796851'
                      screen_name: amaurimoraes38
                      bookmarks: 0
                      favorites: 0
                      created_at: Mon Aug 19 09:13:55 +0000 2024
                      text: '@OPteemyst @elonmusk P0temcia extrema'
                      lang: und
                      display_text_range:
                        - 21
                        - 37
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '5'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '1232787923445178369'
                            indices:
                              - 0
                              - 10
                            name: Oukham
                            screen_name: OPteemyst
                          - id_str: '44196397'
                            indices:
                              - 11
                              - 20
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: amaurimoraes38
                        name: Amauri moraes
                        created_at: Fri Apr 21 00:07:32 +0000 2023
                        description: ''
                        rest_id: '1649202911484825605'
                        followers_count: 40
                        favourites_count: 3511
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1649203178427015171/jal_zTQ2_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 101
                        location: ''
                      media: []
                      in_reply_to_screen_name: OPteemyst
                      in_reply_to_status_id_str: '1738111458829877349'
                      in_reply_to_user_id_str: '1232787923445178369'
                    - type: tweet
                      tweet_id: '1825460755484791231'
                      screen_name: amaurimoraes38
                      bookmarks: 0
                      favorites: 1
                      created_at: Mon Aug 19 09:12:14 +0000 2024
                      text: '@elonmusk O foguete que anda pra traz'
                      lang: pt
                      display_text_range:
                        - 10
                        - 37
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '15'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: amaurimoraes38
                        name: Amauri moraes
                        created_at: Fri Apr 21 00:07:32 +0000 2023
                        description: ''
                        rest_id: '1649202911484825605'
                        followers_count: 40
                        favourites_count: 3511
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1649203178427015171/jal_zTQ2_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 101
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1817197153003200638'
                      screen_name: Harrison88048
                      bookmarks: 0
                      favorites: 0
                      created_at: Sat Jul 27 13:55:37 +0000 2024
                      text: '@elonmusk What?!'
                      lang: en
                      display_text_range:
                        - 10
                        - 16
                      source: >-
                        <a href="http://twitter.com/#!/download/ipad"
                        rel="nofollow">Twitter for iPad</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '8'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: Harrison88048
                        name: Harrison
                        created_at: Sun Nov 19 08:48:45 +0000 2023
                        description: ''
                        rest_id: '1726160516916391936'
                        followers_count: 4
                        favourites_count: 15
                        avatar: >-
                          https://pbs.twimg.com/profile_images/1817137806596358144/x7x8ERGD_normal.jpg
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 24
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                    - type: tweet
                      tweet_id: '1799204112904687987'
                      screen_name: lisawalker58
                      bookmarks: 0
                      favorites: 0
                      created_at: Fri Jun 07 22:17:42 +0000 2024
                      text: '@elonmusk Love LoveLove'
                      lang: en
                      display_text_range:
                        - 10
                        - 23
                      source: >-
                        <a href="http://twitter.com/download/iphone"
                        rel="nofollow">Twitter for iPhone</a>
                      quotes: 0
                      replies: 0
                      conversation_id: '1738106896777699464'
                      retweets: 0
                      views: '3'
                      entities:
                        hashtags: []
                        symbols: []
                        timestamps: []
                        urls: []
                        user_mentions:
                          - id_str: '44196397'
                            indices:
                              - 0
                              - 9
                            name: Elon Musk
                            screen_name: elonmusk
                      user_info:
                        screen_name: lisawalker58
                        name: Lisa Walker
                        created_at: Fri Jun 07 19:28:05 +0000 2024
                        description: ''
                        rest_id: '1799161190767067136'
                        followers_count: 97
                        favourites_count: 3814
                        avatar: >-
                          https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png
                        url: null
                        cover_image: ''
                        verified_type: null
                        verified: false
                        friends_count: 106
                        location: ''
                      media: []
                      in_reply_to_screen_name: elonmusk
                      in_reply_to_status_id_str: '1738106896777699464'
                      in_reply_to_user_id_str: '44196397'
                  next_cursor: >-
                    DAADDAABCgABGwdbXl6awdQKAAIY-A6brBsRcwAIAAIAAAACCAADAAAAAAgABAAAAAAKAAUcgrm9GwAnEAoABhyCub0a_9jwAAA
                  prev_cursor: >-
                    DAADDAABCgABGwdbXl6awdQKAAIY-A6brBsRcwAIAAIAAAABCAADAAAAAAgABAAAAAAKAAUcgrm9GwAnEAoABhyCub0a_9jwAAA
                requestId: a54268fa-ad1c-4b5f-abfc-afb6ef679ced
          headers: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: Missing required parameter
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 500
                  data: null
                  message: Internal server error
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/twitter/checkfollow?user=' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/twitter/checkfollow',
                params={"user": ""},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({"user": ""});


            const response = await
            fetch(`https://api.keyapi.ai/v1/twitter/checkfollow?${params}`, {
              method: 'GET',
              headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
            });

            const data = await response.json();

            console.log(data);
components:
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        API key for authentication. Format: `sk_live_xxxxxxxxxxxxx`
        Get your API key from the [Dashboard](http://keyapi.ai/app/dashboard).

````