API documentation
API URL
https://autoreg.site/api/
Endpoint: https://autoreg.site/api/get_balance
To check your balance (Token obtained from user history/Api key page), 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 |
Examples:
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). |
Examples:
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 product identifier array (from product_list) |
count | integer | Required | Number of accounts to purchase |
Response | |||||
---|---|---|---|---|---|
status | integer | Response status code | message | string | Response status message |
order_key | string | Unique order identifier for downloading |
Examples:
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
Check order status and download purchased items. Using the order_key obtained from the previous request, you can check if your order is ready and get the download link when processing is complete.
Order Processing Flow:
- Initial Status: When order is first created, status will be 200 with message "Waiting"
- Processing: Order is being prepared (continue checking status)
- Ready: When processing is complete, you'll receive a download URL
Request parameters | |||
---|---|---|---|
api_token | string | Required | Your api key |
order_key | string | Required | Order_key from previous request |
Response | |||||
---|---|---|---|---|---|
status | integer | Response status code (200 for both waiting and ready states) | message | string | "Waiting" (processing) or "Success" (ready for download) |
data | object | Contains download_url when order is ready | download_url | string | Direct link to download your accounts (only when ready) |
Examples:
CURL
1curl --location 'https://autoreg.site/api/download?api_token=YOUR_API_TOKEN&order_key=YOUR_ORDER_KEY'
Response - Order Processing (Waiting)
1{
2 "status": 200,
3 "message": "Waiting"
4}
Response - Order Ready (Success)
1{
2 "status": 200,
3 "message": "Success",
4 "data": {
5 "download_url": "https://autoreg.site/status/cd45ea260db41233e98ae377daf93efc?download=1"
6 }
7}
Usage Example (Polling)
1# Keep checking order status until ready
2while true; do
3 response=$(curl -s "https://autoreg.site/api/download?api_token=YOUR_API_TOKEN&order_key=YOUR_ORDER_KEY")
4 message=$(echo $response | jq -r '.message')
5
6 if [ "$message" = "Success" ]; then
7 download_url=$(echo $response | jq -r '.data.download_url')
8 echo "Order ready! Download URL: $download_url"
9 break
10 elif [ "$message" = "Waiting" ]; then
11 echo "Order still processing, waiting..."
12 sleep 10
13 else
14 echo "Error: $response"
15 break
16 fi
17done
Important Notes:
- Polling Recommended: Check order status every 10-30 seconds until message changes from "Waiting" to "Success"
- Download URL: The download URL is direct and ready to use - you can download the file immediately
- File Format: Downloaded files may be in different formats depending on the product type (TXT, ZIP, etc.)
- Processing Time: Order processing time varies depending on product type and quantity