Virlo Tik Tok API

TikTok-specific analytics (v1)

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /v1/tiktok/hashtags Get TikTok hashtags with analytics #
GET /v1/tiktok/videos/digest Get top TikTok videos from the last 24-48 hours #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/virlo-ai:virlo-ai-tiktok-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

virlo-ai-tiktok-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Virlo Public Tik Tok API
  description: 'Short-form social intelligence across TikTok, YouTube Shorts, Instagram Reels and Meta ads: Content Research Agents, Topic Trends (`/v1/topic-trends`: what people are talking about, by region, each topic with a category), Content Trends (`/v1/content-trends`: video formats creators are copying), hashtags, sounds, hooks, creator lookups and tracking. Send your API key as `Authorization: Bearer virlo_tkn_...`. Guides and pricing: https://dev.virlo.ai/docs'
  version: 1.0.0
  contact: {}
servers:
- url: https://api.virlo.ai
  description: Production
tags:
- name: tiktok
  description: TikTok-specific analytics (v1)
paths:
  /v1/tiktok/hashtags:
    get:
      description: Returns hashtag statistics for TikTok videos only within a specified date range (max 3 months).
      operationId: V1TiktokHashtagsController_getHashtags
      parameters:
      - name: limit
        required: false
        in: query
        description: Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.
        schema:
          minimum: 1
          maximum: 100
          default: 50
          example: 50
          type: number
      - name: page
        required: false
        in: query
        description: Page number for pagination
        schema:
          minimum: 1
          default: 1
          example: 1
          type: number
      - name: start_date
        required: true
        in: query
        description: Start date for filtering (YYYY-MM-DD)
        schema:
          example: '2024-01-01'
          type: string
      - name: end_date
        required: true
        in: query
        description: End date for filtering (YYYY-MM-DD, max 3 months from start_date)
        schema:
          example: '2024-03-31'
          type: string
      - name: order_by
        required: false
        in: query
        description: Field to sort by
        schema:
          default: count
          example: count
          type: string
          enum:
          - count
          - views
      - name: sort
        required: false
        in: query
        description: Sort direction
        schema:
          default: desc
          example: desc
          type: string
          enum:
          - asc
          - desc
      responses:
        '200':
          description: Successfully retrieved TikTok hashtags
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1HashtagListResponseDto'
        '400':
          description: Bad request - invalid parameters
        '401':
          description: Unauthorized - missing or invalid API key
        '429':
          description: Too many requests - rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitErrorResponse'
      security:
      - api-key: []
      summary: Get TikTok hashtags with analytics
      tags:
      - tiktok
  /v1/tiktok/videos/digest:
    get:
      description: Returns the top TikTok videos published recently, ordered by view count.
      operationId: V1TiktokVideosController_getVideosDigest
      parameters:
      - name: limit
        required: false
        in: query
        description: Maximum number of videos to return
        schema:
          minimum: 1
          maximum: 100
          default: 50
          example: 50
          type: number
      responses:
        '200':
          description: Successfully retrieved top TikTok videos
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1VideoDigestResponseDto'
        '400':
          description: Bad request - invalid parameters
        '401':
          description: Unauthorized - missing or invalid API key
        '429':
          description: Too many requests - rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitErrorResponse'
      security:
      - api-key: []
      summary: Get top TikTok videos from the last 24-48 hours
      tags:
      - tiktok
components:
  schemas:
    V1VideoDigestResponseDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/V1VideoDigestItemDto'
      required:
      - data
    VideoLocationDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Virlo place id. Pass it to `GET /v1/places/:id/videos` for other videos tagged there.
        name:
          type: string
          description: Place name as the platform shows it.
          example: Chadstone Shopping Centre
        kind:
          type:
          - string
          - 'null'
          enum:
          - venue
          - area
          - null
          description: '`venue` (a business, landmark, beach, station...) or `area` (a suburb, city, state or country). Null when the platform sent no type (Instagram).'
        category:
          type:
          - string
          - 'null'
          description: TikTok’s top-level place category ("Food and Drink", "Shopping and Retail", "Outdoors and Attractions"...). Null on Instagram.
          example: Shopping and Retail
        locality:
          type:
          - string
          - 'null'
          description: Suburb or town read from the place’s street address (AU, NZ, US and CA formats). Null when the address does not parse; never guessed.
          example: Malvern East
        postcode:
          type:
          - string
          - 'null'
          description: Postcode from the place’s street address.
          example: '3145'
        city:
          type:
          - string
          - 'null'
          description: The platform’s own area name for the place. On TikTok this is usually the city or local council (St Kilda sits in "Port Phillip").
          example: Stonnington
        region:
          type:
          - string
          - 'null'
          description: State or province code read from the place’s street address (VIC, NSW, NY, ON). Null when the address does not parse.
          example: VIC
        country:
          type:
          - string
          - 'null'
          description: Country, ISO 3166 alpha-2.
          example: AU
        lat:
          type:
          - number
          - 'null'
          description: Latitude of the place.
          example: -37.8862
        lng:
          type:
          - number
          - 'null'
          description: Longitude of the place.
          example: 145.0835
      required:
      - id
      - name
      - kind
      - category
      - locality
      - postcode
      - city
      - region
      - country
      - lat
      - lng
    ErrorResponse:
      type: object
      required:
      - statusCode
      - code
      - error
      - message
      properties:
        statusCode:
          type: integer
          example: 401
        code:
          type: string
          description: Stable machine-readable error code. Branch on this, never on `message`.
          enum:
          - validation_error
          - invalid_date_range
          - unknown_region
          - unknown_event_type
          - unsupported_platform
          - invalid_cursor
          - cursor_too_long
          - creator_login_required
          - creator_not_found
          - missing_api_key
          - invalid_api_key
          - insufficient_credits
          - forbidden
          - owner_only
          - not_found
          - conflict
          - no_team
          - rate_limit_exceeded
          - library_quota
          - internal_error
          - upstream_error
          - service_unavailable
          - top_up_unavailable
          - request_timeout
          example: invalid_api_key
        error:
          type: string
          example: Unauthorized
        message:
          description: Human-readable explanation (an array of messages for validation errors). Wording may change.
          oneOf:
          - type: string
          - type: array
            items:
              type: string
          example: Invalid or inactive API key
    RateLimitErrorResponse:
      allOf:
      - $ref: '#/components/schemas/ErrorResponse'
      - type: object
        properties:
          limit:
            type: integer
            description: Requests allowed in the window.
          remaining:
            type: integer
            description: Requests left in the window.
          reset_at:
            type: integer
            description: Unix time (seconds) the window resets.
          reset_at_formatted:
            type: string
            description: reset_at as a readable UTC time.
          retry_after:
            type: integer
            description: Seconds to wait before retrying.
          resetAt:
            type: integer
            deprecated: true
            description: Deprecated alias of reset_at.
          resetAtFormatted:
            type: string
            deprecated: true
            description: Deprecated alias of reset_at_formatted.
          retryAfter:
            type: integer
            deprecated: true
            description: Deprecated alias of retry_after.
    V1HashtagItemDto:
      type: object
      properties:
        hashtag:
          type: string
          example: fyp
        count:
          type: number
          example: 15234
        total_views:
          type: number
          example: 45678900
      required:
      - hashtag
      - count
      - total_views
    V1VideoDigestSoundDto:
      type: object
      properties:
        id:
          type: string
        title:
          type:
          - string
          - 'null'
        duration:
          type:
          - number
          - 'null'
        cover_url:
          type:
          - string
          - 'null'
          description: Sound cover image URL. Always an absolute URL (or null). Images Virlo stores are served from https://media.virlo.ai/<bucket>/ (stored since Nov 18 2026; a few from that day use https://dmkfcivrrvg3x.cloudfront.net/<bucket>/) or https://auth.virlo.ai/storage/v1/object/public/<bucket>/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to.
        owner_handle:
          type:
          - string
          - 'null'
        owner_nickname:
          type:
          - string
          - 'null'
        is_original:
          type:
          - boolean
          - 'null'
        is_commerce_music:
          type:
          - boolean
          - 'null'
        usage_count:
          type:
          - number
          - 'null'
        platform:
          type:
          - string
          - 'null'
      required:
      - id
    V1HashtagListResponseDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/V1HashtagItemDto'
      required:
      - data
    V1VideoDigestItemDto:
      type: object
      properties:
        id:
          type: string
          example: 550e8400-e29b-41d4-a716-446655440000
        url:
          type: string
          example: https://www.tiktok.com/@user/video/123
        platform:
          type: string
          enum:
          - tiktok
          - youtube
          - instagram
          example: tiktok
          description: Platform the video was published on.
        type:
          type: string
          example: tiktok
          deprecated: true
          description: Deprecated alias of `platform` (same value). Read `platform`.
        description:
          type:
          - string
          - 'null'
        publish_date:
          type:
          - string
          - 'null'
        views:
          type: number
          example: 250000
        number_of_likes:
          type: number
        number_of_comments:
          type: number
        number_of_shares:
          type: number
        bookmarks:
          type: number
          example: 22108
          description: Save/bookmark count.
        hashtags:
          type: array
          items:
            type: string
        thumbnail_url:
          type:
          - string
          - 'null'
        duration:
          type:
          - number
          - 'null'
          description: Duration in seconds.
        external_id:
          type: string
          description: Platform-native video id.
        author_id:
          type:
          - string
          - 'null'
          description: Author id; null when the author row is not linked yet.
        niche:
          type:
          - string
          - 'null'
          description: AI-inferred niche slug.
        region:
          type:
          - string
          - 'null'
          description: Resolved upload region (ISO 3166-1 alpha-2), when available.
        upload_region:
          type:
          - string
          - 'null'
        upload_region_source:
          type:
          - string
          - 'null'
          description: How upload_region was resolved.
        location:
          description: Beta. The place the creator tagged on the post (a TikTok or Instagram location tag), or null when the post carries no tag. A tag is the location the creator chose, usually where the video was filmed. About 7% of TikTok and Instagram videos carry one; YouTube has no place tag, so YouTube videos are always null.
          allOf:
          - $ref: '#/components/schemas/VideoLocationDto'
        transcript_raw:
          type:
          - string
          - 'null'
          description: Raw transcript when available.
        is_eligible_for_commission:
          type:
          - boolean
          - 'null'
          description: TikTok commission eligibility.
        is_duet:
          type: boolean
          description: Whether this video is a TikTok duet. Always false for YouTube/Instagram.
        is_stitch:
          type: boolean
          description: Whether this video is a TikTok stitch. Always false for YouTube/Instagram.
        sound:
          description: Nested sound metadata, or null.
          allOf:
          - $ref: '#/components/schemas/V1VideoDigestSoundDto'
      required:
      - id
      - url
      - platform
      - type
      - views
      - location
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: API Key
      type: http
      name: Authorization
      description: 'Enter your customer API key (format: virlo_tkn_xxxxx)'
      in: header