Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.urltodata.ai/llms.txt

Use this file to discover all available pages before exploring further.

1. Create an account

curl -X POST "https://api.urltodata.ai/v1/auth/register" \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com", "password": "your-password"}'
This returns your API key and 100 free credits to get started:
{
  "user": { "id": "...", "email": "you@example.com", "status": "active" },
  "freeCredits": 100,
  "apiKey": "mp_abc123_secret"
}

2. Make your first request

Use the Authorization: Bearer header with every request:
curl -H "Authorization: Bearer mp_abc123_secret" \
  "https://api.urltodata.ai/v1/youtube/video?id=dQw4w9WgXcQ"
{
  "id": "dQw4w9WgXcQ",
  "title": "Rick Astley - Never Gonna Give You Up",
  "duration": 212,
  "channel": { "id": "UCuAXFkgsw1L7xaCfnd5JJOw", "name": "Rick Astley" },
  "viewCount": 1500000000,
  "likeCount": 16000000
}

3. Try a transcript

curl -H "Authorization: Bearer mp_abc123_secret" \
  "https://api.urltodata.ai/v1/youtube/transcript?videoId=dQw4w9WgXcQ&text=true"

4. Try cross-platform

The same API works across YouTube, TikTok, Instagram, X/Twitter, and Facebook:
# TikTok metadata
curl -H "Authorization: Bearer mp_abc123_secret" \
  "https://api.urltodata.ai/v1/metadata?url=https://www.tiktok.com/@user/video/123"

# Instagram transcript
curl -H "Authorization: Bearer mp_abc123_secret" \
  "https://api.urltodata.ai/v1/transcript?url=https://www.instagram.com/reel/ABC123/&text=true"

Next steps

Authentication

Manage API keys and check your credits.

Supported Platforms

See all supported platforms and URL formats.

Async Jobs

Learn how batch operations and polling work.

API Reference

Explore every endpoint with interactive examples.