x402 API
Trending or new DEX pools on a network. Pay with USDC via HTTP 402. Syra machine money for agents.
/geckoterminal/pools
x402
Price: $0.001 USD per successful paid call (catalog hint; runtime 402 is authoritative)
Base URL: https://api.syraa.fun
Trending or newly listed DEX pools from GeckoTerminal across 100+ networks. Use when an agent scouts fresh liquidity or momentum pools on Solana, Base, Ethereum, etc. Inputs: network (default solana), kind=trending|new, limit (max 50). Returns pools[] with priceUsd, priceChange24h, volume24h, reserveUsd, poolAddress, dex.
This is a pay-per-call route: unpaid requests return HTTP 402 until you settle USDC and retry with PAYMENT-SIGNATURE or X-PAYMENT. See x402 wire format.
import { createSyraPaidClient } from "@syra-ai/sdk";
const client = createSyraPaidClient({
// funds USDC on Solana/Base; auto-pays HTTP 402
});
const res = await client.fetch("https://api.syraa.fun/geckoterminal/pools", {
method: "GET",
});
console.log(await res.json());