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

# Read a public TikTok profile



## OpenAPI

````yaml https://api.vexqo.dev/openapi.json get /tiktok/profiles/{username}
openapi: 3.1.0
info:
  title: Vexqo API
  description: >-
    Public Meta Ad Library, Reddit, Hacker News, Product Hunt, eBay, TikTok and
    Instagram data. Authenticate with X-API-Key. Follow response links for
    related resources and supported pagination; each collection request can use
    credits. Social lookups are fresh by default; max_age explicitly allows
    cached public data.
  version: 0.1.0
servers:
  - url: https://api.vexqo.dev
security: []
paths:
  /tiktok/profiles/{username}:
    get:
      tags:
        - Public social data
      summary: Read a public TikTok profile
      operationId: tiktok_profile_tiktok_profiles__username__get
      parameters:
        - name: username
          in: path
          required: true
          schema:
            type: string
            title: Username
        - name: max_age
          in: query
          required: false
          schema:
            type: integer
            maximum: 300
            minimum: 0
            description: >-
              Maximum acceptable cached age in seconds. 0 (default) collects
              fresh. Cache hits have the same credit cost.
            default: 0
            title: Max Age
          description: >-
            Maximum acceptable cached age in seconds. 0 (default) collects
            fresh. Cache hits have the same credit cost.
        - name: country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^[A-Za-z]{2}$
              - type: 'null'
            description: Proxy exit country, not a filter of the post's audience or origin.
            title: Country
          description: Proxy exit country, not a filter of the post's audience or origin.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ProfileResponse:
      properties:
        source:
          $ref: >-
            #/components/schemas/src__adapters__inbound__http__social_contract__Source
        links:
          additionalProperties:
            anyOf:
              - type: string
              - type: 'null'
          type: object
          title: Links
        profile:
          $ref: >-
            #/components/schemas/src__adapters__inbound__http__social_contract__Profile
      type: object
      required:
        - source
        - links
        - profile
      title: ProfileResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    src__adapters__inbound__http__social_contract__Source:
      properties:
        platform:
          type: string
          enum:
            - tiktok
            - instagram
          title: Platform
        method:
          type: string
          enum:
            - public_web_page
            - rendered_public_page
            - demo_fixture
          title: Method
        collector:
          type: string
          enum:
            - curl_cffi
            - camoufox
            - none
          title: Collector
        url:
          type: string
          title: Url
        observed_at:
          type: string
          title: Observed At
        cached:
          type: boolean
          title: Cached
        age_seconds:
          type: number
          maximum: 300
          minimum: 0
          title: Age Seconds
        exit_country:
          anyOf:
            - type: string
            - type: 'null'
          title: Exit Country
          description: Collection exit country, not a content-country filter.
      type: object
      required:
        - platform
        - method
        - collector
        - url
        - observed_at
        - cached
        - age_seconds
        - exit_country
      title: Source
    src__adapters__inbound__http__social_contract__Profile:
      properties:
        id:
          type: string
          title: Id
        username:
          type: string
          title: Username
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        verified:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Verified
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
        biography:
          anyOf:
            - type: string
            - type: 'null'
          title: Biography
        private:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Private
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Avatar Url
        website:
          anyOf:
            - type: string
            - type: 'null'
          title: Website
        followers:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Followers
        following:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Following
        posts_count:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Posts Count
        likes:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Likes
      type: object
      required:
        - id
        - username
        - name
        - verified
        - url
        - biography
        - private
        - avatar_url
        - website
        - followers
        - following
        - posts_count
        - likes
      title: Profile
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````

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