Use your personal API key (created under API Keys) to generate wallets, list your wallets, and read transaction history programmatically.
https://api.gen-wallet.space/api/v1
Every request must include your API key in the x-api-key header.
curl https://api.gen-wallet.space/api/v1/wallets \ -H "x-api-key: YOUR_API_KEY"
List wallets generated by your account. Supports search and pagination.
Required permission: DataList
Query parameters
search (optional) — match address or label page (optional, default 1) pageSize (optional, default 20, max 100)
Example response
{
"wallets": [
{
"id": "clx123...",
"label": "user-1042",
"address": "UQ...",
"publicKey": "ab12...",
"walletVersion": "v5r1",
"network": "mainnet",
"createdAt": "2026-06-01T12:00:00.000Z"
}
],
"pagination": { "page": 1, "pageSize": 20, "total": 1, "totalPages": 1 }
}Generate a new GRAM (TON) wallet for your account. The recovery phrase is NOT returned via the API — only the dashboard owner can reveal it.
Required permission: GenerateAddress
Body
{
"label": "optional-label"
}Example response
{
"wallet": {
"id": "clx456...",
"label": "optional-label",
"address": "UQ...",
"publicKey": "cd34...",
"walletVersion": "v5r1",
"network": "mainnet",
"createdAt": "2026-06-12T10:00:00.000Z"
}
}Get synced transaction history for one of your wallets, identified by its address.
Required permission: DataList
Query parameters
page (optional, default 1) pageSize (optional, default 20, max 100)
Example response
{
"address": "UQ...",
"transactions": [
{
"txHash": "ab12...",
"lt": "123456000001",
"utime": 1750000000,
"direction": "in",
"amountNano": "1000000000",
"feeNano": "1000000",
"fromAddress": "UQ...",
"toAddress": "UQ...",
"comment": null,
"createdAt": "2026-06-12T10:05:00.000Z"
}
],
"pagination": { "page": 1, "pageSize": 20, "total": 1, "totalPages": 1 }
}Get info and live balance for a single wallet, identified by its address.
Required permission: DataList
Example response
{
"id": "clx123...",
"label": "user-1042",
"address": "UQ...",
"publicKey": "ab12...",
"walletVersion": "v5r1",
"network": "mainnet",
"createdAt": "2026-06-01T12:00:00.000Z",
"balanceNano": "1500000000",
"balanceTon": 1.5,
"usdtBalanceRaw": "2500000",
"usdtBalance": 2.5
}Get the list of your wallets filtered by an exact label match.
Required permission: DataList
Query parameters
label (required) — exact label to match page (optional, default 1) pageSize (optional, default 20, max 100)
Example response
{
"wallets": [
{
"id": "clx123...",
"label": "user-1042",
"address": "UQ...",
"publicKey": "ab12...",
"walletVersion": "v5r1",
"network": "mainnet",
"createdAt": "2026-06-01T12:00:00.000Z"
}
],
"pagination": { "page": 1, "pageSize": 20, "total": 1, "totalPages": 1 }
}Get the combined GRAM (TON)/USDT balance across all of your wallets.
Required permission: DataList
Example response
{
"walletCount": 4,
"totalTon": 12.345,
"totalUsdt": 100.5
}Get synced transaction history across all of your wallets, newest first.
Required permission: DataList
Query parameters
limit (optional, default 20, max 100) offset (optional, default 0)
Example response
{
"transactions": [
{
"address": "UQ...",
"txHash": "ab12...",
"lt": "123456000001",
"utime": 1750000000,
"direction": "in",
"amountNano": "1000000000",
"feeNano": "1000000",
"fromAddress": "UQ...",
"toAddress": "UQ...",
"comment": null,
"createdAt": "2026-06-12T10:05:00.000Z"
}
],
"pagination": { "limit": 20, "offset": 0, "total": 1 }
}Withdraw GRAM (TON) or USDT from one of your wallets to any GRAM (TON) address.
Required permission: Withdraw
Body
{
"token": "GRAM"// "GRAM" | "USDT", // "TON" | "USDT"
"toAddress": "UQ...",
"amount": "1.5",
"comment": "optional"
}Example response
{
"ok": true,
"seqno": 12345
}Errors are returned as JSON with an HTTP status code:
{ "error": "Invalid API key" } // 401
{ "error": "IP not allowed" } // 403
{ "error": "Wallet limit reached (10). Contact the administrator to increase it." } // 403
{ "error": "Wallet not found" } // 404If Webhook Active is enabled on your API key, a POST request will be sent to your Webhook Url when relevant deposit/withdraw events occur on your wallets. Configure this from the Edit Api page.