Skip to content
Fourohtwo

api.solenrich.com/entrypoints/portfolio-history/invoke

Daily portfolio snapshots (value, SOL balance, token count, risk score) for a wallet over 7/14/30 days, plus summary stats: peak, trough, max drawdown, average value, change vs period start. Designed for charting and PnL tracking; complements wallet-history which returns two-point deltas. Today's live point is appended automatically.

SolanaBaseAnswering
POSThttps://api.solenrich.com/entrypoints/portfolio-history/invoke

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.solenrich.com/entrypoints/portfolio-history/invoke", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg","format":"json","period":"30d"}),
});
console.log(await res.json());

Example input

{
  "address": "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
  "format": "json",
  "period": "30d"
}

More from SolEnrichProvider status