# SolEnrich Stonk Quote — Trade Cost & Payback Analysis

> SolEnrich Stonk Quote — Trade Cost & Payback Analysis is a paid API for AI agents from api.solenrich.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-18).

Returns entry/exit costs, round-trip price impact, pro-rata payout share, expected yield over a hold period, and a PAYS/MARGINAL/COSTS/NOT_PAYING verdict with breakeven days for a StonkFun reward coin trade at a given size.

## Facts

- Endpoint: POST https://api.solenrich.com/entrypoints/stonk-quote/invoke?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solenrich-stonk-quote-trade-cost-payback-analysis-09cf0a2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iHbNkHhI-wetIJmfGAgWP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability solenrich-stonk-quote-trade-cost-payback-analysis-09cf0a2d -d '<json body>'
```

Example prompt: Is it worth buying $500 of the StonkFun coin at mint 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU for a 7-day hold — what are the entry/exit costs, expected payout, and is the verdict PAYS or COSTS?

## When to prefer this

Use this endpoint when you need a single composite trade analysis for a specific StonkFun reward coin — combining cost, yield, and payback into one PAYS/COSTS verdict — rather than querying payout status, token metadata, or wallet activity separately. Ideal when you want a go/no-go decision on a specific position size and hold period before entering a trade.

## Known failure modes

- Invalid or non-existent mint address returns an error or empty response
- size_usd below minimum (1) or above maximum (1,000,000) causes validation rejection
- hold_days outside the 0.25–365 range is rejected
- Token has no yield history, resulting in missing expected payout data
- Price impact data unavailable for very illiquid tokens, causing incomplete cost breakdown
- Payment of $0.005 USDC not authorized or fails, blocking the call

## How this service works

Cost and payback of one StonkFun trade at one size, no swap: entry and exit cost (transfer tax + price impact at size), round-trip % and the breakeven price move, your pro-rata share of each payout with a dust warning, expected payout over the hold from the yield window with real history, and a PAYS / MARGINAL / COSTS / NOT_PAYING verdict with breakeven hold days. Composes stonk-reward-risk, stonk-yield, and enrich-token-light. Inputs: mint, size_usd (100), hold_days (7).

## Output

Returns a structured object containing: entry cost (transfer tax + price impact at size), exit cost, round-trip percentage, breakeven price move required, pro-rata payout share per period with a dust warning if applicable, expected payout over the specified hold period backed by real yield history, and a final verdict of PAYS / MARGINAL / COSTS / NOT_PAYING along with the number of breakeven hold days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mint": {
   "type": "string",
   "maxLength": 44,
   "minLength": 32,
   "description": "StonkFun reward coin mint (base58)"
  },
  "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)."
  },
  "size_usd": {
   "type": "number",
   "default": 100,
   "maximum": 1000000,
   "minimum": 1,
   "description": "Position size in USD"
  },
  "hold_days": {
   "type": "number",
   "default": 7,
   "maximum": 365,
   "minimum": 0.25,
   "description": "Intended holding period"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "output": {
   "exit": {
    "tax_pct": 3,
    "tax_usd": 3,
    "total_pct": 3.07,
    "total_usd": 3.07,
    "price_impact_pct": 0.07,
    "price_impact_usd": 0.07
   },
   "mint": "HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR",
   "name": "Anonymous Cat",
   "entry": {
    "tax_pct": 3,
    "tax_usd": 3,
    "total_pct": 3.07,
    "total_usd": 3.07,
    "price_impact_pct": 0.07,
    "price_impact_usd": 0.07
   },
   "quote": {
    "mint": "A7bdiYdS5GjqGFtxf17ppRHtDKPkkRqbKtR27dxvQXaS",
    "symbol": "ZEC",
    "category": "custom"
   },
   "symbol": "ZCAT",
   "size_usd": 100,
   "hold_days": 7,
   "price_usd": 0.09729,
   "round_trip": {
    "cost_pct": 6.14,
    "cost_usd": 6.14,
    "breakeven_move_pct": 6.33
   },
   "eligibility": {
    "note": "StonkFun publishes no minimum holding; payouts are pro-rata by balance. Share...",
    "dust_risk": true,
    "est_usd_per_payout": 0.000007,
    "share_of_supply_pct": 0.0001
   },
   "payout_status": "PAYING",
   "tokens_at_size": 996.3,
   "expected_payout": {
    "basis": "7d",
    "caution": false,
    "reward_asset": "ZEC",
    "usd_per_week": 1.58,
    "usd_over_hold": 1.58,
    "caution_reason": null,
    "basis_actual_days": 7,
    "yield_pct_per_week": 1.5805
   }
  },
  "run_id": "uuid",
  "status": "succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solenrich-stonk-quote-trade-cost-payback-analysis-09cf0a2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.solenrich.com](https://www.zero.xyz/host/api.solenrich.com/llms.txt)
