Request:
$ curl https://takefile.link/api/account/sales?key=key&date1=2026-08-01&date2=2026-08-05
Optional type: sales (default), rebills, vip_file_sales. Max period: 366 days, up to 5000 rows. Fields: login (buyer e-mail), country, amount (price), profit (your earnings).
Response:
{
"msg": "OK",
"date1": "2026-08-01",
"date2": "2026-08-05",
"result": [
{
"id": "123456",
"created": "2026-08-02 14:31:07",
"login": "buyer@example.com",
"country": "DE",
"amount": "23.99",
"profit": "10.80",
"type": "Paypal",
"pay_for": "30 days",
"file_id": 0
}
],
"status": 200
}