🚀 Fast Index Bot API

This API allows you to submit links for indexing programmatically without interaction with the Telegram bot.

⚙️ Authorization: To make requests to the API, you must pass a Bearer access token in the Authorization header.

Getting Started

To obtain an API key:

  1. Start a chat with the bot: https://t.me/fast_index_bot
  2. Enter the command /apikey
  3. Important: Replenish your balance - submitting links for indexing consumes limits

Submit Links for Indexing (Create Task)

To create a task, send a POST request in JSON format to the URL:

POST https://host060126.eu/api/links

Request Body

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)

Successful Request Examples

Links as String (Semicolon-separated):

{
  "method": "gold",
  "links": "https://ya.ru;https://mail.ru;https://google.ru;https://vk.com"
}

Links as Array:

{
  "method": "gold",
  "links": ["https://ya.ru", "https://mail.ru", "https://google.ru", "https://vk.com"]
}

Server Response (Success):

{
  "status": 201,
  "msg": "Task created successfully",
  "data": {
    "limits_used": 4,
    "task_id": "1721392204",
    "links_count": 4
  }
}

Error Handling

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.

Error Response Example

{
  "status": 400,
  "message": "Task wasn't created: Invalid data provided"
}

Next Steps