S

SolEnrich · Stonk Yield Invoke

by SolEnrich

POSTBaseSolana

$0.005

per call · USD Coin on Base

Trailing 7d, 30d, and lifetime holder yield: rewards distributed in the quote asset, priced in USD, divided by average market cap over the window (daily snapshots). Annualized with an explicit caution flag when the window is under 7 days or partial. Returns quote_exposure — what a holder is economically long (the coin + the quote asset) and the reward asset.

Endpoint

POST https://api.solenrich.com/entrypoints/stonk-yield/invoke

1

Calls / 30d

1

Unique payers / 30d

Sep 6

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/stonk-yield/invoke", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "mint": "HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.solenrich.com/entrypoints/stonk-yield/invoke" \
  -H "Content-Type: application/json" \
  -d '{"mint":"HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR"}' \
  -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 DeFi and the homepage with a featured placement.

Get featured →

More from SolEnrich & similar services