All sections

REST API

Documentation

Every request goes to https://api.interapi.dev and returns JSON. Pick an API to see its parameters and test it with your own link.

BASEhttps://api.interapi.dev

Authentication

Pass your key in the X-API-Key header. Authorization: Bearer ia_live_… and the ?api=ia_live_… parameter also work — use the parameter when a third-party client such as Telegram downloads a file by URL.

X-API-Key: ia_live_…
Authorization: Bearer ia_live_…
https://api.interapi.dev/api/v1/tiktok?url=…&api=ia_live_…

Status codes

200Success. The request price is charged — 5 to 15 credits.
400Invalid or unsupported link.
401Key missing or invalid.
402Out of credits — top up in the dashboard.
403Private content or disabled account.
404Post not found.
429Rate limit exceeded.
5xxOur error. No credits are charged.

Credits

The price depends on the API — 5 to 15 credits per successful request; /api/v1/auto costs as much as the platform it detects. 4xx responses (bad link, deleted post) cost at most 1 credit, 5xx responses are free. Every response carries X-Balance-Remaining and X-Request-Cost headers.

APICredits per request
Instagram /api/v1/instagram6
TikTok /api/v1/tiktok6
YouTube /api/v1/youtube15
X (Twitter) /api/v1/x5
Facebook /api/v1/facebook5
Pinterest /api/v1/pinterest5
RuTube /api/v1/rutube5
Likee /api/v1/likee5
YouTube Search /api/v1/youtube/search6
Shazam /api/v1/shazam5

All packages and payment methods

File downloads

If a direct URL from the response does not open for your client, hand it a link to our proxy instead. Pass the key as the api parameter; downloads cost no credits.

# Instagram / TikTok / Pinterest file
curl -L -o media.mp4 \
  "https://api.interapi.dev/api/v1/media/file?source=tiktok&url=https%3A%2F%2Fvt.tiktok.com%2FZSQrfS4U7%2F&api=YOUR_API_KEY"

# YouTube: kind=audio|video, format_id=best|<itag>
curl -L -o track.m4a \
  "https://api.interapi.dev/api/v1/youtube/file?url=https%3A%2F%2Fyoutu.be%2FUFk4_Ybx7yk&kind=audio&api=YOUR_API_KEY"

API