Documentation
You can get data automatically using the API.
To do this, you need to write the /api command in the bot and get your personal token.
Initially, there will be 100 free queries on it, which will allow you to test the system.
When they run out, money from your balance will begin to be spent.
The price of a request depends on the type of request and the specified search limit. The default limit is 100.
Here are examples of prices with this limit:
Phone number: $0.003
Email $0.003
Car number 0.003$
Username $0.0038
Full name $0.0088
A request can contain multiple lines, separated by a newline character (n). In this case, they will be executed independently of each other and you will see results that match at least one string.
If you enclose all or part of a query in double quotes, an exact search will be performed for those words in the specified order. An exact search is cheaper than a regular search, for example, a search by name with an exact search will be 4 times cheaper.
The request has five parameters:
Required parameters
'token' - token from page /api
'request' - line with your request
Optional parameters
'limit' - search limit. A number from 10 to 10,000. The number of results returned and the search range in the database depend on it. The default is 100. The higher the number, the more expensive the request will be. If the values are too low, the results may not be shown, even if they are in the database.
'lang' - code of the language in which the query results will be displayed. Default is English. The list of codes is available here.
'bot_name' - bot name in @name format. It is necessary to indicate if the bot in which you have a subscription does not belong to the main group of mirrors. In most cases there is no need to specify.
Example requests (don't forget to replace the token with your own)::
{"token":"987654321:b42vAQjW", "request":"google"}
{"token":"987654321:b42vAQjW", "request":"Petya Ivanov", "lang": "en"}
{"token":"987654321:b42vAQjW", "request":"example@gmail.com", "limit": 10}
{"token":"987654321:b42vAQjW", "request":"Elon Reeve Musk", "limit": 100, "lang":"ru"}
{"token":"987654321:b42vAQjW", "request":"example@gmail.comnElon Reeve Musk"}
Example code: (Python)
import requestsdata = {"token":"987654321:Vg41g0qY", "request":"test request", "limit": 100, "lang":"en"}
url = 'https://leakosintapi.com/'
response = requests.post(url, json=data)
print(response.json())
Please note that the request data is sent in json format. If sent as request parameters, you will receive a 501 error.