Quick start
Create an account, add funds, generate an API key, and make your first API request.
Get up and running with DraxonCloud in a few minutes. One account balance and one API key let you solve captchas, create temporary inboxes, and receive automated notifications.
1. Create an account
- Go to /signup and register with your email or social login.
- Verify your email address with the 6-digit code sent to your inbox.
2. Add funds
DraxonCloud uses a single prepaid balance for all services. There are no monthly tiers or separate product credits.
- Go to /dashboard/billing.
- Choose a payment method and add funds. Check /pricing for minimum deposit amounts.
- Once the transaction confirms, your balance updates immediately.
3. Create an API key
- Open /dashboard/keys and select New API Key.
- Give your key a label (such as
production). - Set optional safety limits:
- Allowed products: Limit the key to
captchaormail. Leave empty to allow all products. - Daily spending limit: Set a maximum daily charge to cap automated spend.
- Allowed IP addresses: Restrict requests to trusted server IPs or CIDR subnets.
- Allowed products: Limit the key to
- Copy the full secret key (
drx_...). It is shown only once.
4. Check your balance
Every customer API request uses the base URL https://draxon.one/api. Pass your API key in the Authorization: Bearer header or X-Api-Key header.
curl
curl -s -X GET https://draxon.one/api/account/v1/billing/balance \
-H "Authorization: Bearer $DRAXON_KEY"
Expected response:
{
"balance_micros": 10000000,
"held_micros": 0,
"available_micros": 10000000,
"balance_usd": "10.000000",
"available_usd": "10.000000"
}
Money amounts ending in _micros are millionths of a dollar (1,000,000 micros = $1.00). The _usd text fields show the same amount in standard dollars. held_micros is the amount currently reserved for running tasks.
Python
import os
import requests
api_key = os.environ["DRAXON_KEY"]
headers = {"Authorization": f"Bearer {api_key}"}
res = requests.get("https://draxon.one/api/account/v1/billing/balance", headers=headers)
data = res.json()
print("Available balance:", data["available_usd"])
JavaScript
const apiKey = process.env.DRAXON_KEY;
const headers = { Authorization: `Bearer ${apiKey}` };
const res = await fetch("https://draxon.one/api/account/v1/billing/balance", { headers });
const data = await res.json();
console.log("Available balance:", data.available_usd);
Next steps
- Configure spending caps and allowed IPs in API keys & limits.
- Learn how tasks reserve and deduct balance in Balance & billing.
- Start solving captchas in Solve a captcha.
- Provision disposable email addresses in Temporary mail.
- Receive event callbacks in Notifications to your server.