Schedule payments, automate swaps, and build on Web3 infrastructure.
Liquid Agent provides a REST API for scheduling on-chain transactions — payments and token swaps — that execute automatically at a future date and time. Build recurring payroll, subscription billing, DCA strategies, and more with a single API call.
https://pay.liquidagent.ai
Every request requires an API key passed via the x-api-key header.
# Example request
curl https://pay.liquidagent.ai/api/user/{userId}/scheduled-txs \
-H "x-api-key: lq_sk_your_key_here"
Every response includes rate-limit and usage headers so you always know where you stand:
| Header | Description |
|---|---|
| X-RateLimit-Limit-Second | Max requests per second for your tier |
| X-RateLimit-Limit-Minute | Max requests per minute for your tier |
| X-Monthly-Usage | Requests used this billing period |
| X-Monthly-Limit | Total requests included in your tier |
| X-API-Tier | Your current tier (free, starter, pro, enterprise) |
X-Monthly-Used header to track usage in real-time and alert your users before they hit their monthly limit.curl -X POST https://pay.liquidagent.ai/developer/keys \
-H "Content-Type: application/json" \
-d '{
"email": "dev@yourcompany.com",
"name": "My App"
}'
{
"apiKey": "lq_sk_a1b2c3d4e5f6...",
"keyId": "uuid-here",
"tier": "free",
"message": "Save this key — it cannot be shown again."
}
curl -X POST https://pay.liquidagent.ai/api/user/your-user-id/schedule-tx \
-H "x-api-key: lq_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"type": "payment",
"toAddress": "0xRecipientAddress...",
"amount": "0.05",
"token": "ETH",
"chain": "base",
"executeAt": "2026-04-01T09:00:00Z"
}'
curl https://pay.liquidagent.ai/api/user/your-user-id/scheduled-txs \ -H "x-api-key: lq_sk_your_key_here"
| Parameter | Type | Description |
|---|---|---|
| to | string | Recipient wallet address (0x...) |
| amount | string | Amount to send (e.g. "0.05") |
| symbol | string | Token symbol: ETH or USDC |
| delay_seconds | number | Seconds from now to execute (min: 10) |
{
"id": "a1b2c3d4-...",
"status": "pending",
"type": "payment",
"toAddress": "0xRecipient...",
"amount": "0.05",
"token": "ETH",
"chain": "base",
"executeAt": "2026-04-01T09:00:00.000Z",
"createdAt": "2026-03-12T14:30:00.000Z"
}
Returns all scheduled transactions for the given user.
Cancels a pending scheduled transaction. Only works if the transaction hasn't been executed yet.
| Code | Description |
|---|---|
| 401 | Invalid or missing API key |
| 429 | Rate limit or monthly quota exceeded |
| 400 | Invalid request payload |
| 500 | Internal server error |
curl https://pay.liquidagent.ai/developer/usage \ -H "x-api-key: lq_sk_your_key_here"
{
"tier": "starter",
"month": "2026-03",
"requestsUsed": 1247,
"requestsIncluded": 10000,
"overageRequests": 0,
"overageCost": "$0.00",
"recentRequests": [
{
"endpoint": "POST /api/user/abc/schedule-tx",
"costCents": 1,
"timestamp": "2026-03-12T14:30:00Z"
}
]
}
| Action | Free | Starter | Pro | Enterprise |
|---|---|---|---|---|
| Schedule Payment | $0.01 | $0.005 | $0.003 | $0.001 |
| List Transactions | $0.005 | $0.002 | $0.001 | $0.0005 |
| Cancel Transaction | $0.005 | $0.002 | $0.001 | $0.0005 |
Start free, upgrade when you're ready. Pay with crypto — ETH or USDC.
ETH · USDC
ETH · USDC
1. Get Price — Live CoinGecko rate for your token
2. Send Crypto — Send exact amount to fee collector
3. Submit TX — POST tx hash for verification
4. Upgraded! — Tier activates immediately
curl -X POST https://pay.liquidagent.ai/developer/payments/create \
-H "x-api-key: lq_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"targetTier": "starter",
"chain": "base",
"token": "ETH"
}'
{
"paymentId": "uuid-payment-id",
"feeCollector": "0x28E7Cee93c710A89E2C6c55bAce59430079da3f2",
"chain": "base",
"token": "ETH",
"amountCrypto": "0.025431000000000000",
"amountUsd": 49,
"priceAtPayment": 1926.12,
"expiresAt": "2026-03-12T15:00:00Z",
"instructions": "Send exactly 0.025431 ETH to 0x28E7..."
}
After sending the transaction from your wallet, submit the tx hash:
curl -X POST https://pay.liquidagent.ai/developer/payments/verify \
-H "x-api-key: lq_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"paymentId": "uuid-payment-id",
"txHash": "0xabc123..."
}'
{
"success": true,
"message": "Payment verified! Tier upgraded to starter."
}
const API_KEY = 'lq_sk_your_key_here';
const BASE = 'https://pay.liquidagent.ai';
// Schedule a payment for April 1st
const res = await fetch(`${BASE}/api/user/my-user-123/schedule-tx`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': API_KEY,
},
body: JSON.stringify({
type: 'payment',
toAddress: '0xRecipient...',
amount: '0.1',
token: 'ETH',
chain: 'base',
executeAt: '2026-04-01T09:00:00Z',
}),
});
const tx = await res.json();
console.log('Scheduled:', tx.id);
import requests
API_KEY = "lq_sk_your_key_here"
BASE = "https://pay.liquidagent.ai"
# Schedule a payment
resp = requests.post(
f"{BASE}/api/user/my-user-123/schedule-tx",
headers={"x-api-key": API_KEY},
json={
"type": "payment",
"toAddress": "0xRecipient...",
"amount": "0.1",
"token": "ETH",
"chain": "base",
"executeAt": "2026-04-01T09:00:00Z",
}
)
tx = resp.json()
print(f"Scheduled: {tx['id']}")
// Schedule monthly payroll for 3 employees
const employees = [
{ address: '0xAlice...', amount: '2000' },
{ address: '0xBob...', amount: '1500' },
{ address: '0xCarol...', amount: '1800' },
];
for (const emp of employees) {
await fetch(`${BASE}/api/user/payroll/schedule-tx`, {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'x-api-key': API_KEY },
body: JSON.stringify({
type: 'payment',
toAddress: emp.address,
amount: emp.amount,
token: 'USDC',
chain: 'base',
executeAt: '2026-04-01T00:00:00Z',
}),
});
}
Need help integrating? Have a feature request? Reach out:
support@liquidagent.aiGET /health