Skip to main content
The API uses a credit-based system. Each API call consumes credits based on the endpoint and options used.

How Credits Work

  • Each API call has a base credit cost
  • Fetching more data costs more credits
  • ML enrichment adds additional credits per item analyzed

Credit Costs by Endpoint

TikTok

EndpointBase CostPer ItemWith Enrichment
/tiktok/posts1 credit+1 per post+2 per enriched post
/tiktok/comments1 credit+0.5 per comment+1.5 per enriched comment
/tiktok/bulk/posts2 credits+1 per post+2 per enriched post
/tiktok/hashtag/posts2 credits+1 per post+2 per enriched post

Instagram

EndpointBase CostPer ItemWith Enrichment
/instagram/posts1 credit+1 per post+2 per enriched post
/instagram/comments1 credit+0.5 per comment+1.5 per enriched comment
/instagram/hashtag/posts2 credits+1 per post+2 per enriched post

YouTube

EndpointBase CostPer ItemWith Enrichment
/youtube/search2 credits+1 per video+2 per enriched video
/youtube/comments1 credit+0.5 per comment+1.5 per enriched comment
/youtube/hashtag/search2 credits+1 per video+2 per enriched video
/youtube/channel/videos2 credits+1 per video+2 per enriched video
/youtube/channel/shorts2 credits+1 per short+2 per enriched short

Reddit

EndpointBase CostPer ItemWith Enrichment
/reddit/posts1 credit+1 per post+2 per enriched post
/reddit/comments1 credit+0.5 per comment+1.5 per enriched comment

ML Analyze

Analysis TypeCost Per Text
sentiment0.5 credits
topics1 credit
intent1 credit
keywords0.5 credits

Example Credit Calculations

  • Base: 1 credit
  • Posts: 10 × 1 = 10 credits
  • Total: 11 credits
  • Base: 1 credit
  • Posts: 10 × 1 = 10 credits
  • Enrichment: 10 × 2 = 20 credits
  • Total: 31 credits
  • Sentiment: 5 × 0.5 = 2.5 credits
  • Topics: 5 × 1 = 5 credits
  • Intent: 5 × 1 = 5 credits
  • Keywords: 5 × 0.5 = 2.5 credits
  • Total: 15 credits

Viewing Credit Usage

Every API response includes credit information in the metadata:
{
  "success": true,
  "data": { ... },
  "metadata": {
    "credits_used": 31,
    "processing_time": 0.856
  }
}

Tips for Optimizing Credit Usage

Only request what you need

Use the limit parameter wisely

Batch requests

Use bulk endpoints when fetching from multiple users

Selective enrichment

Only enable enrichments you actually need

Cache responses

Store data locally to avoid duplicate requests