Authorization header:
Get Started
Authentication
API keys, credits, and managing your account.
All API requests require a Bearer token in the
This returns a checkout URL to complete the purchase.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
API keys, credits, and managing your account.
Authorization header:
curl -H "Authorization: Bearer your-api-key" \
"https://api.urltodata.ai/v1/youtube/video?id=dQw4w9WgXcQ"
curl -X POST "https://api.urltodata.ai/v1/auth/register" \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com", "password": "your-password"}'
curl -X POST "https://api.urltodata.ai/v1/keys/create" \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"name": "production"}'
curl -H "Authorization: Bearer your-api-key" \
"https://api.urltodata.ai/v1/keys"
curl -X DELETE "https://api.urltodata.ai/v1/keys/your-key-id" \
-H "Authorization: Bearer your-api-key"
curl -H "Authorization: Bearer your-api-key" \
"https://api.urltodata.ai/v1/account"
curl "https://api.urltodata.ai/v1/credits/packages"
{
"packages": [
{ "id": "credits_500", "credits": 500, "priceUsd": "5.00" },
{ "id": "credits_2000", "credits": 2000, "priceUsd": "15.00" },
{ "id": "credits_5000", "credits": 5000, "priceUsd": "35.00" },
{ "id": "credits_15000", "credits": 15000, "priceUsd": "100.00" }
]
}
curl -X POST "https://api.urltodata.ai/v1/credits/purchase" \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"package_id": "credits_2000"}'
curl -H "Authorization: Bearer your-api-key" \
"https://api.urltodata.ai/v1/account/usage?limit=20"