Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Virlo Public Places 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: Places
description: 'Beta: place data is still sparse, and coverage grows daily as Virlo collects more. Places creators tag on TikTok and Instagram posts (venues and areas), how many videos are tagged at each, and the videos tagged there. A tag is the location a creator chose for a post; about 7% of TikTok and Instagram videos carry one, YouTube none (v1)'
paths:
/v1/places:
get:
description: 'Beta: place data is still sparse, and coverage grows daily as Virlo collects more. A place is the location tag a creator chose on a TikTok or Instagram post (a venue such as a shopping centre or beach, or an area such as a suburb or city). It is usually where the video was filmed. About 7% of TikTok and Instagram videos carry a tag; YouTube has none. Places and crowds only: there is no per-person location view. Finds the places Virlo has seen by name (`q`), suburb or city (`locality`), `postcode`, `country` and `kind`, ranked by how many Virlo videos are tagged there (`video_count`). Needs at least one of q, locality, postcode or country. Use a place’s `id` with `GET /v1/places/:id/videos`, or its name with the `places` filter on `POST /v1/search/videos`. Costs $0.05 (5 credits) per call; a call that finds no place is free.'
operationId: V1PlacesController_search
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: q
required: false
in: query
description: 'Place name contains this (case-insensitive): "chadstone", "bondi beach", "coles".'
schema:
example: chadstone
type: string
- name: locality
required: false
in: query
description: 'Suburb, town or city, matched exactly (case-insensitive) against the parsed suburb (`locality`) or the platform’s area name (`city`, usually the city or local council): "St Kilda", "Melbourne", "Brooklyn".'
schema:
example: St Kilda
type: string
- name: postcode
required: false
in: query
description: 'Postcode, matched exactly: "3182", "10001", "SW1A".'
schema:
example: '3182'
type: string
- name: country
required: false
in: query
description: Country, ISO 3166 alpha-2 (AU, US, GB).
schema:
example: AU
type: string
- name: kind
required: false
in: query
description: '`venue` (a business, landmark, beach, station...) or `area` (a suburb, city, state or country). Instagram places carry no type and match neither.'
schema:
type: string
enum:
- venue
- area
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/PlacesListResponseDto'
'400':
description: No search field, invalid field, or a search that matches more than 5,000 places (narrow it).
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: Search places (beta)
tags:
- Places
/v1/places/{id}/videos:
get:
description: 'Beta: place data is still sparse, and coverage grows daily as Virlo collects more. A place is the location tag a creator chose on a TikTok or Instagram post (a venue such as a shopping centre or beach, or an area such as a suburb or city). It is usually where the video was filmed. About 7% of TikTok and Instagram videos carry a tag; YouTube has none. Places and crowds only: there is no per-person location view. The videos in the Virlo library whose creator tagged this place, newest first (or `sort=most_views`), up to 25 a page, in the `/v1/search/videos` item shape. The answer also carries the place itself. Costs $0.05 (5 credits) per call; a page with no videos is free.'
operationId: V1PlacesController_videos
parameters:
- name: id
required: true
in: path
description: Place id (from `GET /v1/places` or a video’s `location.id`).
schema:
type: string
- name: sort
required: false
in: query
description: newest (posted most recently, the default) or most_views.
schema:
default: newest
type: string
enum:
- newest
- most_views
- name: limit
required: false
in: query
description: Videos per page, up to 25 (values above 25 are clamped to 25). One call is one billed page.
schema:
minimum: 1
maximum: 25
default: 25
type: number
- name: page
required: false
in: query
description: Page number, up to 40 (values above are clamped), like `/v1/search/videos`.
schema:
minimum: 1
maximum: 40
default: 1
type: number
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/PlaceVideosResponseDto'
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Unknown place id.
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: Videos tagged at a place (beta)
tags:
- Places
components:
schemas:
PlacesListResponseDto:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/PlaceDto'
pagination:
$ref: '#/components/schemas/PaginationMetaDto'
required:
- data
- pagination
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
PlaceDto:
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
video_count:
type: number
description: Videos in the Virlo library tagged at this place.
example: 12
required:
- id
- name
- kind
- category
- locality
- postcode
- city
- region
- country
- lat
- lng
- video_count
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.
V1SoundDto:
type: object
properties:
id:
type: string
example: 550e8400-e29b-41d4-a716-446655440000
description: Virlo's internal sound ID (UUID). Use this for the /v1/sounds/:sound_id family (details, videos, usage-history, resolve). For the satellite sound lookup prefer `external_id`, though passing this UUID also works — it is auto-resolved to the sound's platform + external_id.
external_id:
type:
- string
- 'null'
example: '7559312683885201425'
description: Platform-native sound identifier (TikTok music/clip id, or Instagram audio id). This is the `music_id` accepted by the satellite sound lookup — call GET /v1/satellite/sounds/{platform}/{external_id} for TikTok or Instagram sounds. YouTube sounds are not supported (you'll get a 400). Null for sounds without a platform id.
title:
type: string
example: Chopin Nocturne No. 2 Piano Mono
platform:
type: string
example: tiktok
enum:
- tiktok
- youtube
- instagram
duration:
type:
- number
- 'null'
example: 246
description: Duration in seconds. Available on TikTok only.
cover_url:
type:
- string
- 'null'
example: https://auth.virlo.ai/storage/v1/object/public/sound-covers/6e03a216-f8c8-40e9-ba9b-b79d8a287b57.jpg
description: Sound cover image URL. Available on TikTok and YouTube. 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'
example: '@someone'
description: Sound owner handle. Partially available on TikTok (~12%).
owner_nickname:
type:
- string
- 'null'
example: Someone
description: Sound owner display name. Available on TikTok, YouTube, Instagram.
is_original:
type:
- boolean
- 'null'
description: Whether the sound is an original creation. TikTok only.
is_commerce_music:
type:
- boolean
- 'null'
description: Whether the sound is cleared for commercial use. TikTok only.
usage_count:
type:
- number
- 'null'
example: 5999231
description: Platform-wide usage count. TikTok only.
required:
- id
- title
- platform
PlaceVideosDataDto:
type: object
properties:
place:
$ref: '#/components/schemas/PlaceDto'
videos:
description: Videos tagged at the place, in the `/v1/search/videos` item shape (each carries `location`).
type: array
items:
$ref: '#/components/schemas/SearchVideoItemDto'
required:
- place
- videos
SearchVideoItemDto:
type: object
properties:
id:
type: string
url:
type: string
description: Link to the post.
description:
type:
- string
- 'null'
description: Caption or title.
platform:
type: string
enum:
- tiktok
- youtube
- instagram
views:
type:
- number
- 'null'
likes:
type:
- number
- 'null'
shares:
type:
- number
- 'null'
comments:
type:
- number
- 'null'
bookmarks:
type:
- number
- 'null'
publish_date:
type:
- string
- 'null'
duration:
type:
- number
- 'null'
description: Seconds; null when unknown.
virality_score:
type:
- number
- 'null'
description: 'Virality Score: how far the video outran its creator''s audience, comparable across creator sizes and platforms (10 promising, 18 strong, 25 very strong, 35 exceptional). Null when views do not exceed followers.'
author:
allOf:
- $ref: '#/components/schemas/V1AuthorDto'
hashtags:
type: array
items:
type: string
thumbnail_url:
type:
- string
- 'null'
is_duet:
type:
- boolean
- 'null'
is_stitch:
type:
- boolean
- 'null'
is_paid:
type: boolean
description: Paid distribution (ad, paid partnership, promotional content or a caption disclosure).
paid_signals:
type: array
items:
type: string
upload_region:
type:
- string
- 'null'
description: Where it was posted from (ISO 3166 alpha-2).
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'
intelligence:
type:
- object
- 'null'
description: 'What Virlo''s video analysis read: topic, format, hook, on-screen setting, tone, summary and more, as readable values. A value the analysis was not sure of is null.'
additionalProperties: true
intelligence_status:
type: string
enum:
- ready
- skipped
description: ready = analysed; skipped = no analysis for this video.
sound:
allOf:
- $ref: '#/components/schemas/V1SoundDto'
agent_id:
type:
- string
- 'null'
description: 'my_research and agent scopes: the agent that collected the video.'
required:
- id
- url
- description
- platform
- views
- likes
- shares
- comments
- bookmarks
- publish_date
- duration
- virality_score
- author
- hashtags
- thumbnail_url
- is_duet
- is_stitch
- is_paid
- paid_signals
- upload_region
- location
- intelligence
- intelligence_status
- sound
PaginationMetaDto:
type: object
properties:
page:
type: number
example: 1
limit:
type: number
example: 20
total:
type: number
example: 42
total_pages:
type: number
example: 3
has_next_page:
type: boolean
example: true
has_prev_page:
type: boolean
example: false
required:
- page
- limit
- total
- total_pages
- has_next_page
- has_prev_page
PlaceVideosResponseDto:
type: object
properties:
data:
$ref: '#/components/schemas/PlaceVideosDataDto'
pagination:
$ref: '#/components/schemas/PaginationMetaDto'
required:
- data
- pagination
V1AuthorDto:
type: object
properties:
username:
type: string
example: creator_handle
avatar_url:
type:
- string
- 'null'
example: https://auth.virlo.ai/storage/v1/object/public/avatars/abc.jpg
description: Creator avatar 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.
followers:
type: number
example: 160726
verified:
type: boolean
example: false
country:
type:
- string
- 'null'
example: US
description: Creator's country (ISO-3166-1 alpha-2), when the platform exposes it. Distinct from a video's `upload_region`.
required:
- username
- avatar_url
- followers
- verified
securitySchemes:
api-key:
scheme: bearer
bearerFormat: API Key
type: http
name: Authorization
description: 'Enter your customer API key (format: virlo_tkn_xxxxx)'
in: header