S

SolEnrich · Compare Tokens Invoke

by SolEnrich

POSTBaseSolana

$0.006

per call · USD Coin on Base

Compare 2-3 tokens: price, liquidity, volatility, HHI, risk. Rankings + summary picks.

Endpoint

POST https://api.solenrich.com/entrypoints/compare-tokens/invoke

1

Calls / 30d

1

Unique payers / 30d

Aug 23

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.solenrich.com/entrypoints/compare-tokens/invoke", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "mints": [
      "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
      "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"
    ]
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.solenrich.com/entrypoints/compare-tokens/invoke" \
  -H "Content-Type: application/json" \
  -d '{"mints":["DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263","JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "output": {
    "briefing": "string (llm format) or object (json format)"
  },
  "run_id": "uuid",
  "status": "succeeded"
}

Payment details

Pay to0x8ede9ed2e6acdd9b2bafa42ff4078d3f3263607c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

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

Get featured →

More from SolEnrich & similar services