$0.01
per call · USD Coin on Base
API request: /api/v1/explorer/queries/run-async
Endpoint
POST https://agents.allium.so/api/v1/explorer/queries/run-async26
Calls / 30d
2
Unique payers / 30d
Sep 2
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://agents.allium.so/api/v1/explorer/queries/run-async", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"parameters": {
"sql": "SELECT * FROM crosschain.metrics.overview LIMIT 10;"
}
}),
});
const data = await res.json();cURL
curl -X POST \
"https://agents.allium.so/api/v1/explorer/queries/run-async" \
-H "Content-Type: application/json" \
-d '{"parameters":{"sql":"SELECT * FROM crosschain.metrics.overview LIMIT 10;"}}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"run_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}Payment details
Pay to
0x9c3284ba60526c8c0af3b45a734d91ce99266bc2Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase, Solana, Polygon, X Layer
Schemesexact
Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Allium & similar services
Allium · Balances History
agents.allium.so
API request: /api/v1/developer/wallet/balances/history
POSTBaseOnchain Data
$0.01 / call3 calls / 30d
C
Chain · Operations
agents.chain.link
Chainlink For Agents: execute a catalog workflow by workflow name.
POSTBaseOnchain Data
$0.01 / call39k calls / 30d
C
Chain · Operations Submit
agents.chain.link
Chainlink For Agents: submit a signed operation payload.
POSTBaseOnchain Data
$0.002 / call17k calls / 30d