API documentation
API URL
https://autoreg.site/api/
Endpoint: https://autoreg.site/api/get_balance
To check your balance (Token obtained from the previous request), make the following API call.
Request parameters | |||
---|---|---|---|
api_token | string | Required | Your api key |
Response | |||||
---|---|---|---|---|---|
api_token | string | Api token | balance | string | Balance value |
currency | string | Currency |
Примеры:
CURL
1curl --location 'https://autoreg.site/api/get_balance?api_token=YOUR_API_TOKEN'
Response
1{
2 "api_token": "YOUR_API_TOKEN",
3 "balance": 25.68222
4 "currency": "USD"
5}
Endpoint: https://autoreg.site/api/product_list
List of all products on the website, their availability, and a unique identifier 'uni' through which you should make a purchase in the next request. uni is an array of keys.
Request parameters | |||
---|---|---|---|
api_token | string | Required | Your api key |
Response | |||||
---|---|---|---|---|---|
product_name | string | Product name | price | number | The price per unit |
currency | string | Currency | count | integer | Availability |
uni | array | Uni - an array of unique product identifiers, to be used in the next request for purchase (use as an array). |
Примеры:
CURL
1curl --location 'https://autoreg.site/api/product_list?api_token=YOUR_API_TOKEN'
Response
1{
2 "D-ID": [
3 {
4 "product_name": "D-ID (video)⚡️ on balance 5$",
5 "price": "0.05",
6 "currency": "USD",
7 "count": 13326,
8 "uni": [
9 "9e9881814f4ab7fca348de8d62155826"
10 ]
11 }
12 ],
13 "deepgram": [
14 {
15 "product_name": "deepgram.com - email - (audio)⚡️Credit 200$",
16 "price": "0.03",
17 "currency": "USD",
18 "count": 13207,
19 "uni": [
20 "46675fcb5456cb909492ab7bae025e30",
21 "d68abf293818719b2b69e252d19349bd"
22 ]
23 }
24 ],
25 "Discord": [
26 {
27 "product_name": "Discord - gmail.com | token",
28 "price": "0.01",
29 "currency": "USD",
30 "count": 0,
31 "uni": [
32 "1bfd6f67b5374230ee440a93ed94ff2f"
33 ]
34 },
35 {
36 "product_name": "Discord - phone | token",
37 "price": "0.035",
38 "currency": "USD",
39 "count": 15,
40 "uni": [
41 "102799df07be6b50eaaf9ab12abf07c4"
42 ]
43 }
44}
Endpoint: https://autoreg.site/api/new_order
Purchasing accounts - you specify the uni array obtained from the previous request, along with the quantity (count). If the required amount is available in the balance, the purchase will be completed. If the specified quantity is not available, all available accounts will be purchased.
Request parameters | |||
---|---|---|---|
api_token | string | Required | Your api key |
uni | array | Required | Unique cryptocurrency identifier (List below) |
payment_sum | number | Required | Top up amount |
Response | |||||
---|---|---|---|---|---|
status | integer | Response status code | message | string | Response status message |
data | object | Response data object | payment_type | string | Unique cryptocurrency identifier |
wallet_address | string | Address where you should make the transfer | payment_amount | number | Transfer amount |
Примеры:
CURL
1curl --location 'https://autoreg.site/api/new_order' \
2--header 'Content-Type: application/json' \
3--data '{
4 "api_token": "YOUR_API_TOKEN",
5 "uni": [
6 "68b3e2d954e66c764c1dfc7ef94128c6",
7 ],
8 "count": 10
9 }'
Response error
1{
2 "status": 400,
3 "message": "Negative balance",
4}
Response success
1{
2 "status": 200,
3 "message": "Success",
4 "order_key": "114daa5c50236970a78a623aaae7480c",
5}
Endpoint: https://autoreg.site/api/download
Downloading purchased items. Using the order_key obtained from the previous request, you will receive an array of purchased items. Please note that for items like Telegram and Software, instead of a JSON response, a downloadable file will be provided.
Request parameters | |||
---|---|---|---|
api_token | string | Required | Your api key |
order_key | string | Required | Order_key from previews request |
resp_type | string | Optional | Return accounts as plain format or json. Default: plain. Accept values: json or plain |
Response | |||||
---|---|---|---|---|---|
status | integer | Response status code | message | string | Response status message |
data | array | Response data array |
Примеры:
CURL
1curl --location 'https://autoreg.site/api/download?api_token=YOUR_API_TOKEN&order_key=YOUR_ORDER_KEY'
Response success plain format
1{
2 "status": 200,
3 "message": "Success",
4 "data": [
5 "[email protected]:4fCvJc1meE",
6 "[email protected]:4fCvJc1meE",
7 ]
8}
CURL JSON RESPONSE
1curl --location 'https://autoreg.site/api/download?api_token=YOUR_API_TOKEN&order_key=YOUR_ORDER_KEY&resp_type=json'
Response success json
1{
2 "status": 200,
3 "message": "Success",
4 "data": [
5 {
6 "username": "[email protected]",
7 "password": "4fCvJc1meE",
8 },
9 {
10 "username": "[email protected]",
11 "password": "TLTiBluNYB",
12 }
13 ]
14}