{"uid":"cap_s37VlVRj7-EyuEotckN0G","slug":"solenrich-portfolio-history-5ca56e4d","name":"SolEnrich Portfolio History","description":"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.","url":"https://api.solenrich.com/entrypoints/portfolio-history/invoke?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"format":{"enum":["json","llm","both"],"type":"string","default":"json","description":"Response format: json (structured fields, default), llm (short deterministic briefing), or both (fields plus llm_summary)."},"period":{"enum":["7d","14d","30d"],"type":"string","default":"7d","description":"History window."},"address":{"type":"string","maxLength":44,"minLength":32,"description":"Solana base58 wallet address"}}},"responseSchema":{"type":"json","example":{"output":{"series":[{"date":"2026-09-17","nft_count":9,"risk_level":"LOW","risk_score":0.15,"label_count":1,"sol_balance":0.039869,"token_count":6,"tx_count_30d":0,"top_holding_mints":["FS66v5XYtJAFo14LiPz5HT93EUMAHmYipCfQhLpU4ss8","Fxgdfsy1Z5Mvh53o69s2Ev6TGxtAJ1RQ5RJ5moCpKmQZ","55USDUivJLe4L1kY64XK1nDPAqbphG6nRpTjk2iZ5PwG"],"defi_position_count":0,"portfolio_value_usd":4.0217}],"address":"vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg","current":{"risk_level":"LOW","risk_score":0.15,"sol_balance":0.039869,"token_count":6,"portfolio_value_usd":4.7307},"summary":{"peak":{"date":"2026-09-22","portfolio_value_usd":4.741},"trough":{"date":"2026-09-17","portfolio_value_usd":4.0217},"period_end":"2026-09-22","data_points":2,"period_start":"2026-09-17","lookback_days":7,"max_drawdown_pct":0,"change_vs_start_pct":17.88,"average_portfolio_value_usd":4.38},"last_updated":"2026-09-22T00:10:23.384Z"},"run_id":"uuid","status":"succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"0.6000","medianCents":"0.6000","p90Cents":"0.6000","minCents":"0.6000","maxCents":"0.6000","p95Cents":"0.6000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yPxhUfpum6JlBpEXxg0wA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily portfolio snapshots (value, SOL balance, token count, risk score) and summary stats (peak, trough, max drawdown, average, period change) for a Solana wallet over 7, 14, or 30 days, with today's live point appended.","exampleAgentPrompt":"Pull the 30-day portfolio history for Solana wallet 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU — I need the daily value snapshots plus summary stats like peak, trough, max drawdown, and how much it changed from the start of the period.","exampleUseCases":null,"resultDescription":"A time-series of daily portfolio snapshots for each day in the selected period (7/14/30 days), each containing portfolio value, SOL balance, token count, and risk score. Also includes summary stats: peak value, trough value, maximum drawdown, average value, and change vs. period start. Today's live data point is automatically appended to the series. Format can be JSON, LLM-friendly text, or both.","failureModes":["Invalid or malformed Solana wallet address (not base58 or wrong length) returns a validation error","Address with no on-chain history may return empty or minimal snapshot data","Network or RPC issues fetching live on-chain data may delay or omit today's appended live point","Unsupported period value outside 7d/14d/30d returns an enum validation error","Payment failure or insufficient USDC balance blocks the call under x402 protocol"],"whenToPreferThis":"Use this endpoint when you need a multi-day time series of Solana wallet portfolio metrics for charting, PnL analysis, or drawdown calculation. Prefer it over wallet-history (which returns only two-point deltas) when you need daily granularity across a full period. Best suited for building portfolio performance charts, risk dashboards, or automated PnL reports for Solana addresses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:49:21.444Z","isFirstParty":false,"canonicalSlug":"solenrich-portfolio-history-5ca56e4d"}