{"openapi":"3.1.0","info":{"title":"MARS Economic API","version":"1.7.0","description":"Intermediary-only commercial intelligence. Buyer and Supplier contract and settle directly."},"servers":[{"url":"https://mars-economic-agent-gateway.mars-economic.workers.dev"}],"paths":{"/api/x402/free-sample":{"get":{"operationId":"getFreeCommercialIntelligenceSample","summary":"Get one evidence-bearing public discovery result without payment","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Evidence-bearing preview"}}}},"/api/x402/mainnet/offer":{"get":{"operationId":"getPaidCommercialIntelligenceOffer","summary":"Inspect the 0.05 USDC Base Mainnet offer without payment","responses":{"200":{"description":"Machine-readable offer and free-preview link"}}}},"/api/x402/mainnet/commercial-intelligence":{"get":{"operationId":"getPaidCommercialIntelligence","summary":"Get evidence-ranked commercial intelligence for 0.05 USDC on Base Mainnet","x-payment-info":{"protocol":"x402","version":2,"scheme":"exact","price":"$0.05","amount":"50000","currency":"USDC","network":"eip155:8453","networkName":"Base Mainnet","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentRequiredHeader":"PAYMENT-REQUIRED","paymentSignatureHeader":"PAYMENT-SIGNATURE","offer":"https://mars-economic-agent-gateway.mars-economic.workers.dev/api/x402/mainnet/offer","manifest":"https://mars-economic-agent-gateway.mars-economic.workers.dev/.well-known/x402-mainnet.json"},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":3,"maximum":25,"default":10}}],"responses":{"200":{"description":"Paid commercial intelligence delivered"},"402":{"description":"x402 payment required"}}}},"/a2a":{"post":{"operationId":"callA2A","summary":"Call the MARS Economic A2A JSON-RPC endpoint","responses":{"200":{"description":"A2A JSON-RPC response"}}}},"/mcp":{"post":{"operationId":"callMCP","summary":"Call the MARS Economic MCP endpoint. Modern 2026-07-28 server/discover plus legacy compatibility; tools expose a free preview and the 0.05 USDC x402 continuation.","responses":{"200":{"description":"MCP JSON-RPC response"}}}}},"x-mars-policy":{"marsRole":"INTERMEDIARY_ONLY","buyerSupplierDirectContractRequired":true,"marsPurchaseAllowed":false,"marsSaleAsPrincipalAllowed":false,"marsFinancingAllowed":false,"marsInventoryOwnershipAllowed":false,"marsPrincipalSettlementAllowed":false,"marsCapitalAtRiskMax":"0","automaticAcceptance":false,"realMoneyMovement":false,"automaticContact":false,"servicePaymentNetwork":"eip155:84532","servicePaymentTestnetOnly":true}}