{"openapi": "3.1.0", "info": {"title": "Midax402", "version": "1.0.0", "description": "Midax402 — x402 ecosystem intelligence: protocols, facilitators, agent commerce, and market analysis on Base.. Non-personalized analysis of x402 ecosystem data, not financial advice. Operates on Base Mainnet with real USDC settlements."}, "servers": [{"url": "https://midax402.com", "description": "Public origin for Midax402"}], "x-discovery": {"tags": ["x402", "agent_commerce", "cdp_facilitator", "base", "agentic_economy", "x402_ecosystem", "español", "latam"]}, "components": {"securitySchemes": {"x402Payment": {"type": "apiKey", "in": "header", "name": "PAYMENT-SIGNATURE", "description": "x402 payment proof header. Clients may also send X-PAYMENT depending on their SDK."}}, "schemas": {"TierQuery": {"type": "object", "properties": {"query": {"type": "string", "description": "Business-model or operations question to analyze."}}, "required": ["query"]}, "InfoResponse": {"type": "object", "properties": {"endpoint": {"type": "string"}, "positioning": {"type": "string"}, "description": {"type": "string"}, "disclaimer": {"type": "string"}}}, "HealthResponse": {"type": "object", "properties": {"endpoint": {"type": "string"}, "status": {"type": "string"}, "public_base_url": {"type": "string"}}}, "MetricsResponse": {"type": "object", "properties": {"period": {"type": "string"}, "total_requests": {"type": "integer"}, "paid_requests": {"type": "integer"}, "total_revenue_usdc": {"type": "string"}, "total_llm_cost_usd": {"type": "string"}, "avg_margin_pct": {"type": "number"}, "by_tier": {"type": "object"}, "by_verdict": {"type": "object"}, "avg_confidence_score": {"type": "number"}, "unique_payers": {"type": "integer"}, "networks": {"type": "object"}}}, "DiscoveryResponse": {"type": "object", "properties": {"endpoint": {"type": "string"}, "version": {"type": "string"}, "feature": {"type": "string"}, "query": {"type": "string"}, "corpus_version": {"type": "string"}, "freemium": {"type": "boolean"}, "count": {"type": "integer"}, "matches": {"type": "array", "items": {"type": "object", "properties": {"entry_id": {"type": "string"}, "title": {"type": "string"}, "preview": {"type": "string"}, "score": {"type": "number"}, "source_url": {"type": "string"}, "categories": {"type": "array", "items": {"type": "string"}}}}}}}}}, "paths": {"/midas-ops/basic": {"post": {"summary": "Basic tier analysis", "description": "Fast non-personalized business model analysis.", "operationId": "midasOpsBasic", "security": [{"x402Payment": []}], "x-payment-info": {"protocols": ["x402"], "price": {"mode": "fixed", "currency": "USD", "amount": "0.03"}, "network": "eip155:8453", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "payTo": "0xA4775ef07d967d56D6d6F19AeE3a0DE7E26Ed954"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TierQuery"}}}}, "responses": {"200": {"description": "Structured operations-intelligence response."}, "402": {"description": "Payment required via x402.", "content": {"application/json": {"example": {"x402Version": 2, "error": "Payment Required", "accepts": [{"scheme": "exact", "network": "eip155:8453", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "amount": "30000", "payTo": "0xA4775ef07d967d56D6d6F19AeE3a0DE7E26Ed954", "maxTimeoutSeconds": 120, "extra": {}}], "resource": {"url": "https://midax402.com/midas-ops/basic", "description": "Fast non-personalized business model analysis.", "mimeType": "application/json"}, "extensions": {"bazaar": {"info": {"input": {"type": "http", "method": "POST", "bodyType": "json", "body": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}, "output": {"type": "object"}}}}}}}}}}}, "/midas-ops/premium": {"post": {"summary": "Premium tier analysis", "description": "Evidence+ analysis with a local risk brief and action plan.", "operationId": "midasOpsPremium", "security": [{"x402Payment": []}], "x-payment-info": {"protocols": ["x402"], "price": {"mode": "fixed", "currency": "USD", "amount": "0.07"}, "network": "eip155:8453", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "payTo": "0xA4775ef07d967d56D6d6F19AeE3a0DE7E26Ed954"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TierQuery"}}}}, "responses": {"200": {"description": "Structured operations-intelligence response."}, "402": {"description": "Payment required via x402.", "content": {"application/json": {"example": {"x402Version": 2, "error": "Payment Required", "accepts": [{"scheme": "exact", "network": "eip155:8453", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "amount": "70000", "payTo": "0xA4775ef07d967d56D6d6F19AeE3a0DE7E26Ed954", "maxTimeoutSeconds": 120, "extra": {}}], "resource": {"url": "https://midax402.com/midas-ops/premium", "description": "Evidence+ analysis with a local risk brief and action plan.", "mimeType": "application/json"}, "extensions": {"bazaar": {"info": {"input": {"type": "http", "method": "POST", "bodyType": "json", "body": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}, "output": {"type": "object"}}}}}}}}}}}, "/midas-ops/market_brief": {"post": {"summary": "Market_Brief tier analysis", "description": "Focused market brief.", "operationId": "midasOpsMarket_Brief", "security": [{"x402Payment": []}], "x-payment-info": {"protocols": ["x402"], "price": {"mode": "fixed", "currency": "USD", "amount": "0.25"}, "network": "eip155:8453", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "payTo": "0xA4775ef07d967d56D6d6F19AeE3a0DE7E26Ed954"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TierQuery"}}}}, "responses": {"200": {"description": "Structured operations-intelligence response."}, "402": {"description": "Payment required via x402.", "content": {"application/json": {"example": {"x402Version": 2, "error": "Payment Required", "accepts": [{"scheme": "exact", "network": "eip155:8453", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "amount": "250000", "payTo": "0xA4775ef07d967d56D6d6F19AeE3a0DE7E26Ed954", "maxTimeoutSeconds": 120, "extra": {}}], "resource": {"url": "https://midax402.com/midas-ops/market_brief", "description": "Focused market brief.", "mimeType": "application/json"}, "extensions": {"bazaar": {"info": {"input": {"type": "http", "method": "POST", "bodyType": "json", "body": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}, "output": {"type": "object"}}}}}}}}}}}, "/midas-ops/metrics": {"get": {"summary": "Public metrics snapshot", "description": "Read-only rolling metrics from requests.jsonl for the last 30 days.", "operationId": "midasOpsMetrics", "responses": {"200": {"description": "Public metrics snapshot.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/MetricsResponse"}, "example": {"period": "last_30_days", "total_requests": 6, "paid_requests": 6, "total_revenue_usdc": "0.28", "total_llm_cost_usd": "0.08", "avg_margin_pct": 73.14392857142857, "by_tier": {"basic": {"count": 3, "revenue_usdc": "0.09"}, "standard": {"count": 1, "revenue_usdc": "0.05"}, "premium": {"count": 2, "revenue_usdc": "0.14"}, "market_brief": {"count": 0, "revenue_usdc": "0.00"}}, "by_verdict": {"useful": 3, "uncertain": 2, "needs_more_data": 1}, "avg_confidence_score": 72.66666666666667, "unique_payers": 1, "networks": {"eip155:8453": 6, "eip155:84532": 0}}}}}}}}, "/midas-ops/semantic-discovery": {"get": {"summary": "Freemium semantic corpus preview", "description": "Returns the top 3 most relevant corpus entries for a query. No payment required; IP rate limited.", "operationId": "midasOpsSemanticDiscovery", "parameters": [{"name": "query", "in": "query", "required": true, "schema": {"type": "string", "maxLength": 1000}, "description": "Search query against the curated x402 corpus."}], "responses": {"200": {"description": "Semantic discovery results.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DiscoveryResponse"}, "example": {"endpoint": "midas-ops", "version": "1.0", "feature": "semantic-discovery", "query": "x402 payment flow", "corpus_version": "301", "freemium": true, "count": 3, "matches": [{"entry_id": "OPS-AGNT-X402-AVALANCHE-COURSE", "title": "x402 on Avalanche — Educational Course for Payment Infrastructure Development", "preview": "x402 on Avalanche — Educational Course for Payment Infrastructure Development\n\ncanal: Official Documentation\ntema: x402 avalanche course education payment infrastructure academy developer thirdweb payai\n\n# x402 on Avalanche — Educational Course for Payment Infrastructure Development\n\n## Executive Su...", "score": 0.2561, "source_url": "https://build.avax.network/academy/blockchain/x402-payment-infrastructure", "categories": ["x402_protocol", "education", "avalanche", "developer_tools"]}, {"entry_id": "OPS-AGNT-X402-WORLD-ID", "title": "World (Worldcoin) + x402 — Human-Verified Identity in Payment Flows", "preview": "World (Worldcoin) + x402 — Human-Verified Identity in Payment Flows\n\ncanal: External Research\ntema: x402 world worldcoin world-id identity human-verified sybil-resistance payments\n\n# World (Worldcoin) + x402 — Human-Verified Identity in Payment Flows\n\nWorld (formerly Worldcoin) integrates x402 to en...", "score": 0.2321, "source_url": "https://world.org/world-id/x402", "categories": ["x402_protocol", "identity", "privacy", "security"]}, {"entry_id": "OPS-AGNT-5FB5BFA4", "title": "Ben Greenberg - Unlocking AI Agentic UX with Google’s AP2 Standard and the x402 Protocol 2026-06-03 03:20", "preview": "Ben Greenberg - Unlocking AI Agentic UX with Google’s AP2 Standard and the x402 Protocol 2026-06-03 03:20\ncanal: Devworld Conference\ntema: Este módulo enseña cómo desbloquear la experiencia de usuario agentic en inteligencia artificial utilizando el estándar AP2 de Google y el protocolo x402\ntema: I...", "score": 0.2131, "source_url": "https://youtube.com/watch?v=YNmcn-mLpv8", "categories": ["agents_economy", "x402_protocol", "blockchain", "ai_agents"]}]}}}}, "400": {"description": "Missing or too long query."}, "429": {"description": "Rate limit exceeded."}}}}}}