Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Cache User v2 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: User v2
paths:
/v2/user/by/id:
get:
tags:
- User v2
summary: Get user by ID (full)
description: 'Retrieve full Instagram user profile by their numeric PK.
Returns the complete unfiltered API response including all fields
not available in the normalized v1 endpoint.'
operationId: user_by_id_raw_v2_user_by_id_get
security:
- APIKeyQuery: []
parameters:
- name: id
in: query
required: true
schema:
type: integer
description: Instagram user PK (numeric ID)
title: Id
description: Instagram user PK (numeric ID)
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response User By Id Raw V2 User By Id Get
'404':
description: User 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