datalikers-com TikTok Media API
TikTok videos — lookup by PK or by owner user_pk.
TikTok videos — lookup by PK or by owner user_pk.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/datalikers-com:datalikers-com-tiktok-media-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Cache TikTok Media API
description: 'RESTful API for Instagram and TikTok data. Access user profiles, posts, stories, highlights, comments, hashtags, locations, audio tracks (Instagram), and videos, comments, hashtags, playlists (TikTok).
All endpoints require an `access_key` query parameter for authentication (handled by the gateway).
**Rate limits** depend on your plan. Instagram responses are served from cache with automatic fallback to HikerAPI when available; TikTok responses are cache-only.'
termsOfService: https://datalikers.com/help/terms-of-service
license:
name: Pricing
url: https://datalikers.com/pricing
version: 2.10.1
tags:
- name: TikTok Media
description: TikTok videos — lookup by PK or by owner user_pk.
paths:
/t1/media/by/id:
get:
tags:
- TikTok Media
summary: Get TikTok media by ID
description: 'Retrieve a TikTok media (video) by its numeric PK.
On cache miss the request falls back to api.lamatok.com
`/v1/media/by/id` and writes the result to Citus + ScyllaDB.'
operationId: media_by_id_t1_media_by_id_get
security:
- APIKeyQuery: []
parameters:
- name: id
in: query
required: true
schema:
type: integer
description: TikTok media PK (numeric ID)
title: Id
description: TikTok media PK (numeric ID)
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Media By Id T1 Media By Id Get
'404':
description: Media not found
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/t1/media/by/user:
get:
tags:
- TikTok Media
summary: List TikTok media by user
description: 'List a user''s TikTok videos (most recent first).
Cache-only — lamatok exposes per-user media listings only via
background ttapi flows (`/v1/hashtag/medias`), not as a point lookup
suitable for cache-miss fallback. Returns an empty array if the user
has no cached media.'
operationId: media_by_user_t1_media_by_user_get
security:
- APIKeyQuery: []
parameters:
- name: user_pk
in: query
required: true
schema:
type: integer
description: TikTok user PK (owner)
title: User Pk
description: TikTok user PK (owner)
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Max items to return
default: 20
title: Limit
description: Max items to return
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
type: object
additionalProperties: true
title: Response Media By User T1 Media By User Get
'404':
description: Media not found
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
APIKeyQuery:
type: apiKey
in: query
name: access_key
externalDocs:
description: Get the access_key
url: https://datalikers.com/tokens