Skip to main content
POST
Top up credits

Headers

X-API-Key
string

Compute/Grid API key (billed to prepaid credits). Omit to pay per request via x402 X-Payment.

Example:

"x402c_..."

Body

application/json
amount
number
required

USD to deposit (minimum $1 — $5 on Arc, whose gas is paid in USDC)

Required range: x >= 1
Example:

50

network
enum<string>

x402 payment network. base/solana/arc settle in USDC (Arc is EIP-3009 on chain 5042), megaeth in USDm, robinhood in USDG.

Available options:
base,
solana,
megaeth,
robinhood,
arc
Example:

"base"

Response

Deposited

success
boolean
deposited
number
Example:

50

new_balance
string
Example:

"150.00"

tx_hash
string