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

# Get accounts followed by a user

> Returns a page of accounts the user is following. Pagination uses `max_time` — pass the `next_max_time` from the previous response as `?max_time=` to get the next page.

Returns a page of accounts the user is following. Pagination uses `max_time` — pass the `next_max_time` from the previous response as `?max_time=` to get the next page.


## OpenAPI

````yaml GET /api/v1/users/{username}/following
openapi: 3.0.3
info:
  title: TikTok Intel API
  version: 2025-01
  description: >-
    Real-time TikTok data API — creator intelligence, user profiles, posts,
    sounds,

    search, live streams, effects, places, collections, and challenges.


    ### Response Envelope


    Every response follows the same structure:


    ```json

    {
      "meta": {
        "request_id": "550e8400-e29b-41d4-a716-446655440000",
        "timestamp": "2025-04-29T12:00:00.000Z",
        "cached": false,
        "version": "2025-01"
      },
      "data": { ... },
      "pagination": null,
      "error": null
    }

    ```


    Paginated list endpoints include a `pagination` object with `cursor` and
    `has_more`.

    On error, `data` is `null` and `error` carries `code` and `message`.


    ### Field Names


    All public fields use `snake_case`. Internal TikTok identifiers (`secUid`,
    `bitrateInfo`, etc.) are never exposed.


    ### Caching


    `meta.cached: true` means the response was served from cache. TTLs vary by
    category (2 min for live data, 30 min for profiles).
  contact:
    name: API Support
    url: https://rapidapi.com
servers:
  - url: https://full-tiktok-api.p.rapidapi.com
    description: Production
security: []
tags:
  - name: Users
    description: TikTok user profiles, posts, followers, and playlists
  - name: Posts
    description: TikTok video post metadata and comments
  - name: Sounds
    description: TikTok sounds, music tracks, and commercial library
  - name: Search
    description: Keyword search across videos, users, live rooms, and suggestions
  - name: Live
    description: TikTok live stream rooms, categories, and streaming status
  - name: Effects
    description: TikTok AR effects and associated videos
  - name: Places
    description: TikTok location tags and geotagged posts
  - name: Collections
    description: TikTok user-created collections and playlists
  - name: Challenges
    description: TikTok hashtag challenges and associated posts
  - name: Intelligence
    description: Computed creator analytics, scores, and partnership intelligence
paths:
  /api/v1/users/{username}/following:
    get:
      tags:
        - Users
      summary: Get accounts followed by a user
      description: >-
        Returns a page of accounts the user is following. Pagination uses
        `max_time` — pass the `next_max_time` from the previous response as
        `?max_time=` to get the next page.
      operationId: users_following
      parameters:
        - name: username
          in: path
          required: true
          description: TikTok username
          schema:
            type: string
          example: charlidamelio
        - name: count
          in: query
          required: false
          description: Number of accounts to return (1–100)
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
          example: 20
        - name: max_time
          in: query
          required: false
          description: >-
            Unix timestamp cursor for pagination; use the next_max_time from the
            previous response
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta'
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/UserProfile'
                  pagination:
                    $ref: '#/components/schemas/PaginationMaxTime'
                  error:
                    $ref: '#/components/schemas/ErrorObject'
        '400':
          description: >-
            **INVALID_PARAM**: count is not a positive integer;
            **INVALID_PARAM**: max_time is not a positive integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: '**UNAUTHORIZED**: Missing or invalid x-rapidapi-key header'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      security:
        - RapidApiKey: []
components:
  schemas:
    Meta:
      type: object
      description: Response metadata present in every API response
      properties:
        request_id:
          type: string
          format: uuid
          description: Unique ID for this request
          example: 3c90c3cc-0d44-4b50-8888-8dd25736052a
        timestamp:
          type: string
          format: date-time
          description: ISO 8601 server time when the response was generated
          example: '2025-03-12T14:32:01.498Z'
        cached:
          type: boolean
          description: true if the response was served from cache
          example: false
        version:
          type: string
          example: 2025-01
          description: API version string
    UserProfile:
      description: A normalized TikTok user profile
      type: object
      properties:
        user_id:
          type: string
          nullable: true
          format: int64
          description: Numeric TikTok user ID
          example: '107955'
        username:
          type: string
          nullable: true
          description: TikTok username without @
          example: charlidamelio
        display_name:
          type: string
          nullable: true
          description: Display name shown on profile
          example: charli d'amelio
        website_url:
          type: string
          nullable: true
          format: uri
          description: Bio link URL if set
          example: https://charlidamelio.com
        followers:
          type: integer
          description: Follower count
          example: 155000000
        following:
          type: integer
          description: Following count
          example: 1200
        total_likes:
          type: integer
          description: Total likes received across all videos
          example: 11000000000
        total_videos:
          type: integer
          description: Total number of posted videos
          example: 2400
        verified:
          type: boolean
          description: Whether the account is verified
          example: true
        is_private:
          type: boolean
          description: Whether the account is private
          example: false
        bio:
          type: string
          nullable: true
          description: Profile bio / signature text
          example: just a girl who loves to dance
        avatar_url:
          type: string
          nullable: true
          format: uri
          description: Full-size avatar URL
          example: https://p16-sign.tiktokcdn-us.com/...
        avatar_thumb_url:
          type: string
          nullable: true
          format: uri
          description: Thumbnail-size avatar URL
          example: https://p16-sign.tiktokcdn-us.com/...
    PaginationMaxTime:
      type: object
      nullable: true
      description: Max-time pagination info (used by followers and following endpoints)
      properties:
        next_max_time:
          type: integer
          format: int64
          nullable: true
          description: Pass as ?max_time= to get the next page
          example: 1780426275
        has_more:
          type: boolean
          description: Whether additional results are available
          example: true
        total:
          type: integer
          description: Total count (may be approximate for large accounts)
          example: 158151684
    ErrorObject:
      type: object
      nullable: true
      description: Error details. Present only when the request failed; null on success.
      properties:
        code:
          type: string
          description: Machine-readable error code in SCREAMING_SNAKE_CASE
          example: NOT_FOUND
        message:
          type: string
          description: Human-readable error description
          example: The requested resource was not found.
        details:
          description: Additional context, if available
          nullable: true
          example: null
    ErrorEnvelope:
      type: object
      description: Standard error response envelope returned for all 4xx and 5xx responses.
      properties:
        meta:
          $ref: '#/components/schemas/Meta'
        data:
          type: object
          nullable: true
          example: null
          description: Always null on error.
        pagination:
          type: object
          nullable: true
          example: null
          description: Always null on error.
        error:
          $ref: '#/components/schemas/ErrorObject'
  securitySchemes:
    RapidApiKey:
      type: apiKey
      in: header
      name: x-rapidapi-key
      description: >-
        Your RapidAPI subscription key. Injected automatically by the RapidAPI
        gateway in production.

````