All requests must include your API key using the api_key parameter.
Get your API key from your dashboard.
Endpoint
GET https://lve.to/api/link/create
Request parameters
| Parameter | Required | Description |
|---|---|---|
api_key |
Yes | Your personal API key |
url |
Yes |
URL must start with https://. Only web pages returning HTTP 200 are supported. Direct file links are not allowed. |
fallback |
No | Redirect URL if no ads are available |
Example request
https://lve.to/api/link/create?api_key=YOUR_API_KEY&url=https://example.com/path
Rules
- The
urlmust be a valid full URL, including https://. - The destination must return HTTP 200. No files.
- The
fallbackis used when no ads are available. - Rate limit: 10 requests per minute.
- Daily limit: 600 links per day.
Success response
{
"ok": true,
"link": "https://lve.to/f3234fwedf"
}
Error response
{
"ok": false,
"code": 403,
"message": "Invalid API key"
}