This API allows you to submit links for indexing programmatically without interaction with the Telegram bot.
Authorization header.
To obtain an API key:
/apikeyTo create a task, send a POST request in JSON format to the URL:
| Field | Required? | Description |
|---|---|---|
method |
Yes | Indexing type - gold |
links |
Yes | List of URLs for indexing. Can be submitted as an array or as a string (semicolon-separated) |
{
"method": "gold",
"links": "https://ya.ru;https://mail.ru;https://google.ru;https://vk.com"
}
{
"method": "gold",
"links": ["https://ya.ru", "https://mail.ru", "https://google.ru", "https://vk.com"]
}
{
"status": 201,
"msg": "Task created successfully",
"data": {
"limits_used": 4,
"task_id": "1721392204",
"links_count": 4
}
}
If the request is incorrectly formatted, the server may respond with one of the following errors:
| Error Code | Description |
|---|---|
400 |
Error creating task. Likely due to incorrectly formatted request or insufficient balance. |
401 |
Authorization error. Likely due to incorrectly formatted authorization header. |
403 |
Authorization error - invalid or missing API key. |
404 |
No such API method. |
50x |
Likely a server-side error when submitting links for indexing. |
{
"status": 400,
"message": "Task wasn't created: Invalid data provided"
}