{"openapi": "3.1.0", "info": {"title": "ANON Base Yield Signal", "version": "2.0.0", "description": "Base native-USDC yield intelligence with a standard x402 v2 paid agent endpoint and a browser-compatible transaction-proof fallback."}, "externalDocs": {"description": "Agent and payment instructions", "url": "https://signal.pathin.me/llms.txt"}, "servers": [{"url": "https://signal.pathin.me"}], "paths": {"/api/v1/base-usdc-preview": {"get": {"summary": "Free Base USDC market preview", "description": "Returns market leaders plus one detailed sample containing TVL, 30-day APY context, risk tier, dated flags, and signal score.", "responses": {"200": {"description": "Market preview"}}}}, "/api/v2/base-usdc-report": {"get": {"summary": "Paid full Base USDC opportunity report via x402 v2", "description": "Request without PAYMENT-SIGNATURE to receive HTTP 402 and PAYMENT-REQUIRED. Use an x402 v2 client to sign the exact Base-USDC requirement and retry. HTTP 200 includes PAYMENT-RESPONSE settlement proof.", "parameters": [{"name": "capital_usdc", "in": "query", "required": false, "description": "Capital used to size illustrative allocation frameworks (10 to 1,000,000 USDC; default 100).", "schema": {"type": "number", "minimum": 10, "maximum": 1000000, "default": 100}}, {"name": "PAYMENT-SIGNATURE", "in": "header", "required": false, "description": "Base64-encoded x402 v2 PaymentPayload.", "schema": {"type": "string"}}], "responses": {"200": {"description": "Settled payment and full report", "headers": {"PAYMENT-RESPONSE": {"required": true, "description": "Base64-encoded x402 settlement response.", "schema": {"type": "string"}}}}, "402": {"description": "Standard x402 v2 payment requirement", "headers": {"PAYMENT-REQUIRED": {"required": true, "description": "Base64-encoded x402 v2 PaymentRequired payload.", "schema": {"type": "string"}}}, "content": {"application/json": {"schema": {"type": "object", "additionalProperties": false}}}}, "503": {"description": "Report generation or facilitator temporarily unavailable; settlement is not intentionally initiated when report generation fails."}}}}, "/api/v1/base-usdc-report": {"get": {"summary": "Browser-compatible paid report fallback", "description": "Without payment headers, returns a unique HTTP 402 quote. Send the exact native USDC amount on Base, wait for one confirmation, then retry with the quote ID and payment transaction hash.", "parameters": [{"name": "capital_usdc", "in": "query", "required": false, "description": "Capital used to size illustrative allocation frameworks (10 to 1,000,000 USDC; default 100).", "schema": {"type": "number", "minimum": 10, "maximum": 1000000, "default": 100}}, {"name": "X-PAYMENT-QUOTE", "in": "header", "required": false, "schema": {"type": "string"}}, {"name": "X-PAYMENT-TX", "in": "header", "required": false, "schema": {"type": "string", "pattern": "^0x[0-9a-fA-F]{64}$"}}], "responses": {"200": {"description": "Verified payment and full report"}, "402": {"description": "Unique Base native-USDC payment quote", "content": {"application/json": {"schema": {"type": "object", "required": ["scheme", "network", "asset", "pay_to", "amount_atomic", "quote_id", "expires_at"], "properties": {"scheme": {"const": "base-usdc-tx-proof-v1"}, "network": {"const": "eip155:8453"}, "asset": {"type": "string"}, "pay_to": {"type": "string"}, "amount_atomic": {"type": "string"}, "amount_usdc": {"type": "number"}, "quote_id": {"type": "string"}, "expires_at": {"type": "string", "format": "date-time"}, "report_parameters": {"type": "object", "properties": {"capital_usdc": {"type": "number"}}, "required": ["capital_usdc"]}}}}}}, "409": {"description": "Payment awaiting confirmation"}}}}}}