S

Slamai · Token Price

by Slamai

GETbase

$0.001

per call · USD Coin on base

Returns current token prices with FDV, liquidity, and 24h price change, quoted in **USD**, **ETH**, or **BTC**. ### Rules - Provide **either** `symbols` or `addresses`, not both. - Max **30 entries** for either parameter (pipe-delimited). - `quote_symbol` must be one of: `USD`, `ETH`, `BTC`.

Endpoint

GET https://api.slamai.dev/token/price

7

Calls / 30d

4

Unique payers / 30d

Sep 8

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://api.slamai.dev/token/price", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.slamai.dev/token/price?addresses=%5Bobject+Object%5D&blockchain=%5Bobject+Object%5D&estimate_cost=%5Bobject+Object%5D&quote_symbol=%5Bobject+Object%5D&symbols=%5Bobject+Object%5D" \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0xd85096faec1ac03075667b4c1a1661f5623bf111
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
Networksbase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from Slamai & similar services