All API endpoints require an API key passed in the x-api-key header.

API Key

After creating your account at zocialmine.com, you’ll find your unique API key in the dashboard. Include it in every request:
curl -X POST https://api.zocialmine.com/v1/tiktok/profile \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.tiktok.com/@username"}'
x-api-key
string
required
Your unique API key. Found in your dashboard after signing in.
Your API key is generated automatically when you create your account. Keep it secret — do not share it publicly or commit it to version control.

Error Responses

401 Unauthorized
object
Returned when the API key is missing or invalid.
Invalid or missing API key
{
  "status": "error",
  "message": "Unauthorized"
}
Insufficient credits
{
  "status": "error",
  "message": "Insufficient credits"
}

Credits

  • Each API call costs 1 credit
  • New accounts start with 100 free credits
  • Purchase more credits from the dashboard
  • Requests with 0 credits return 401 Unauthorized