DeFi yield opportunities across stablecoins, ETH, and BTC with risk ratings via x402 micropayment.
What it does
The /yield-alpha endpoint is part of Otto AI's x402 Agent Swarm, a suite of 30+ AI-powered endpoints accessible via x402 V2 micropayments. This specific endpoint returns the best DeFi yield opportunities across stablecoins, ETH, and BTC, including risk ratings for each opportunity. It falls under the Market Intelligence agent category and is priced at $0.10 per call, payable in USDC on Base, Polygon, or Solana.
The endpoint uses a simple GET request with no required parameters. Payment follows the x402 V2 flow: an initial request returns a 402 with a PAYMENT-REQUIRED header containing payment options (EIP-3009 USDC, Permit2 for any ERC-20, or Solana USDC). After signing and resubmitting with a PAYMENT-SIGNATURE header, the response includes yield data plus a signed EIP-712 receipt as cryptographic proof of service delivery. Data-read endpoints like this one also support Sign-In-With-X (SIWX), granting 1 hour of free repeat access after the first paid call.
The response schema returns a JSON object with a "status" field ("success" or "failed") and a "data" object containing the yield opportunity details. The service is part of a broader platform that also offers market intelligence (news, sentiment, token analysis), AI creative tools (image/video generation, research), and trading execution (swaps, bridges, perpetuals via Hyperliquid).
Capabilities
Use cases
- —AI agents scanning for the highest-risk-adjusted DeFi yields before deploying capital
- —Portfolio dashboards that surface yield opportunities to users based on their holdings
- —Automated yield farming strategies that query current opportunities before rebalancing
- —Research workflows comparing yield across stablecoins, ETH, and BTC positions
- —Alerting systems that notify when new high-yield opportunities appear
Fit
Best for
- —Agents and bots needing programmatic access to curated DeFi yield data
- —Developers building yield aggregation or portfolio optimization tools
- —Traders seeking a quick overview of top yield opportunities with risk context
Not for
- —Users who need real-time streaming yield data (this is a per-call snapshot endpoint)
- —Direct yield execution — this endpoint provides intelligence only, not trade execution
- —Free or unauthenticated access — every call requires x402 USDC payment
Quick start
# 1. GET the endpoint to receive the 402 payment challenge
curl https://x402.ottoai.services/yield-alpha
# 2. Decode the PAYMENT-REQUIRED header, sign with your wallet
# 3. Retry with PAYMENT-SIGNATURE header to receive yield dataExample
Response
{
"data": {
"description": "Best DeFi yield opportunities across stablecoins, ETH, and BTC with risk ratings."
},
"status": "success"
}Endpoint
Quality
Full OpenAPI 3.1 schema is available with clear endpoint description, pricing, and payment flow documentation. The endpoint is confirmed live (402 challenge captured). However, the response data schema is generic (untyped "data" object) so the exact shape of yield data returned is not documented. No example response body is available.
Warnings
- —Response data schema is generic — the actual structure of yield opportunity objects (fields, risk rating format, etc.) is not documented in the OpenAPI spec.
- —No example response body available; the example_response_json above is a placeholder based on the generic schema.
Citations
- —The /yield-alpha endpoint returns best DeFi yield opportunities across stablecoins, ETH, and BTC with risk ratings, priced at $0.10 per call.https://x402.ottoai.services
- —Payment is accepted in USDC on Base, Polygon, and Solana via x402 V2 protocol with EIP-3009, Permit2, and Solana USDC options.https://x402.ottoai.services
- —Data endpoints support Sign-In-With-X (SIWX) for 1-hour free repeat access after initial payment.https://x402.ottoai.services
- —Every call returns a signed EIP-712 receipt as verifiable proof of service delivery.https://x402.ottoai.services
- —The endpoint is live and returns a 402 payment challenge on unauthenticated GET requests.https://x402.ottoai.services/yield-alpha