x402-agent-pay.com
Buy agent energy (kWh) up to a max price — matches cheapest resting sellers, settles USDC to seller wallets on Base L2
Offering
- Provider
- x402-agent-pay.com
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Blockchain And Crypto
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://x402-agent-pay.com/labs/api/energy/buy- MIME type
- Not provided
- First seen
- 2026-10-16T01:58:26.121Z
- Last seen
- Tags
- None supplied
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.02 USDC
Atomic price: 20000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "20000",
"payTo": "6aCEuwH3PYx99cEmRz45otfxk39uF7ewGhqmvxfXisSG"
}
]Observed health
- Status
- Healthy
- Latest latency
- 1883 ms
- Average latency
- 1206 ms
- HTTP status
- 200
- Last checked
- Reachability
- 92.9% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"bodyType": "json",
"method": "POST",
"schema": {
"properties": {
"agent": {
"description": "buyer agent id",
"type": "string"
},
"kwh": {
"description": "energy to buy in kWh",
"type": "number"
},
"max_price_usd_per_kwh": {
"description": "max USDC per kWh",
"type": "number"
}
},
"required": [
"agent",
"kwh",
"max_price_usd_per_kwh"
],
"type": "object"
},
"type": "http"
}Output schema
{
"example": {
"data": {},
"settlement_tx": "0x0000000000000000000000000000000000000000000000000000000000000000",
"success": true
},
"schema": {
"properties": {
"data": {
"description": "Response payload",
"type": "object"
},
"settlement_tx": {
"description": "On-chain settlement transaction hash",
"type": "string"
},
"success": {
"type": "boolean"
}
},
"type": "object"
}
}