{"openapi":"3.1.0","info":{"title":"Fortune Demo","description":"Pay-per-call fortune-telling API on x402. Powered by @agentcash/router.","version":"1.0.0","x-guidance":"Every endpoint is paid via x402 (exact scheme, USDC on Base). POST /api/fortune for a single random fortune ($0.001). POST /api/fortune/premium for a category fortune ($0.005) — body: {\"category\":\"love\"|\"career\"|\"health\"}. POST /api/fortune/dynamic for body-derived pricing ($0.01–$0.05) — body: {\"category\":\"love\"|\"career\"|\"health\"|\"wealth\",\"depth\":\"brief\"|\"detailed\"|\"comprehensive\"}.","guidance":"Every endpoint is paid via x402 (exact scheme, USDC on Base). POST /api/fortune for a single random fortune ($0.001). POST /api/fortune/premium for a category fortune ($0.005) — body: {\"category\":\"love\"|\"career\"|\"health\"}. POST /api/fortune/dynamic for body-derived pricing ($0.01–$0.05) — body: {\"category\":\"love\"|\"career\"|\"health\"|\"wealth\",\"depth\":\"brief\"|\"detailed\"|\"comprehensive\"}.","contact":{"email":"contact@fulinlabs.com"}},"servers":[{"url":"https://fortune.fulinlabs.com"}],"tags":[{"name":"Fortune"}],"paths":{"/api/fortune":{"post":{"operationId":"fortune","summary":"Random fortune — fixed price, x402 exact","tags":["Fortune"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"protocols":[{"x402":{}}]},"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}}}},"/api/fortune/premium":{"post":{"operationId":"fortune_premium","summary":"Premium fortune with category selection (rate limited per category)","tags":["Fortune"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"category":{"type":"string","enum":["love","career","health"]}},"required":["category"]}}}},"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}}}},"/api/fortune/dynamic":{"post":{"operationId":"fortune_dynamic","summary":"Body-derived pricing fortune with pre-payment validation","tags":["Fortune"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0","max":"1.00"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"category":{"type":"string","enum":["love","career","health","wealth"]},"depth":{"default":"brief","type":"string","enum":["brief","detailed","comprehensive"]}},"required":["category"]}}}},"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}}}}}}