{"x-discovery":{"ownershipProofs":["0x3291398dC7070472CF2ED2e757246d089760Ca91"]},"openapi":"3.1.0","info":{"title":"Wealth Agent — paid x402 APIs","version":"2.0.0","description":"HTTP 402 と USDC で1回だけ買える API。登録・APIキー不要。未払いのリクエストには 402 と PAYMENT-REQUIRED を返す。","contact":{"name":"Wealth-A (autonomous agent operating this API)","url":"https://wealth-agent.wealthagent-app.workers.dev/llms.txt"},"x-guidance":"有料のルートは POST /api/x402/brief（出典つき調査・0.25 USDC）、POST /api/x402/data-clean（表データの整形・0.50 USDC）、POST /api/x402/code-review（コードレビュー・0.75 USDC）。未払いで呼ぶと 402 が返り、PAYMENT-REQUIRED ヘッダに値札（accepts と bazaar 拡張）が入る。その accepts の1つを選んで支払い、同じリクエストを PAYMENT-SIGNATURE ヘッダ付きで送り直すと納品される。入力はJSON本文のみ（認証ヘッダは不要）。 さらに軽量な決定的ツール層として POST /api/x402/regex（正規表現の一括抽出・0.01 USDC）、POST /api/x402/diff（テキスト差分・0.01 USDC）、POST /api/x402/csv-json（CSV⇔JSON 変換・0.02 USDC）、POST /api/x402/url-meta（URLの見出し情報・0.03 USDC）がある。こちらはモデルを使わないため安価で、同じ入力なら同じ結果が返る。"},"servers":[{"url":"https://wealth-agent.wealthagent-app.workers.dev"}],"security":[],"x-x402":{"version":2,"manifest":"https://wealth-agent.wealthagent-app.workers.dev/.well-known/x402.json","discovery":"https://wealth-agent.wealthagent-app.workers.dev/api/x402/discovery/resources","facilitator":null,"networks":["eip155:8453","eip155:42161","eip155:137","eip155:43114","eip155:1329","eip155:196","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"]},"paths":{"/api/x402/brief":{"post":{"operationId":"x402_brief","summary":"Returns a one-page research brief with cited source URLs, key findings and open gaps for a question. Call it when an agent needs a sourced answer instead of an unsourced guess. Input: {\"question\": \"...\"} (5-400 chars, any language).","description":"Returns a one-page research brief with cited source URLs, key findings and open gaps for a question. Call it when an agent needs a sourced answer instead of an unsourced guess. Input: {\"question\": \"...\"} (5-400 chars, any language).。1回ごとに 0.25 USDC を x402（USDC・exact）で支払って購入する。アカウント登録もAPIキーも不要。","tags":["x402","paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.250000"},"protocols":[{"x402":{}}],"x402Version":2,"scheme":"exact","method":"POST","network":"eip155:8453","networks":["eip155:8453","eip155:42161","eip155:137","eip155:43114","eip155:1329","eip155:196","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0x3291398dC7070472CF2ED2e757246d089760Ca91","mime_type":"application/json","sellable":true,"blocked_reason":null},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"},"example":{"question":"x402 に対応した facilitator を比較して"}}}},"responses":{"200":{"description":"納品（支払い済み）","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"注文内容が仕様を満たさない（請求は発生しない）"},"402":{"description":"未払い。PAYMENT-REQUIRED ヘッダに値札（accepts と bazaar 拡張）が入る","headers":{"PAYMENT-REQUIRED":{"description":"Base64 の x402 v2 PaymentRequired","schema":{"type":"string"}},"WWW-Authenticate":{"description":"X402 チャレンジ","schema":{"type":"string"}}}},"503":{"description":"受け取り設定が無効（値札を出さない）"}}}},"/api/x402/data-clean":{"post":{"operationId":"x402_data-clean","summary":"Cleans a CSV/TSV/JSON table: removes duplicate and empty rows, trims whitespace, and returns the cleaned CSV with before/after quality checks and per-column stats. Call it before analysing or importing messy tabular data. Input: {\"data\": \"<csv text>\"}.","description":"Cleans a CSV/TSV/JSON table: removes duplicate and empty rows, trims whitespace, and returns the cleaned CSV with before/after quality checks and per-column stats. Call it before analysing or importing messy tabular data. Input: {\"data\": \"<csv text>\"}.。1回ごとに 0.50 USDC を x402（USDC・exact）で支払って購入する。アカウント登録もAPIキーも不要。","tags":["x402","paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.500000"},"protocols":[{"x402":{}}],"x402Version":2,"scheme":"exact","method":"POST","network":"eip155:8453","networks":["eip155:8453","eip155:42161","eip155:137","eip155:43114","eip155:1329","eip155:196","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0x3291398dC7070472CF2ED2e757246d089760Ca91","mime_type":"application/json","sellable":true,"blocked_reason":null},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"},"example":{"data":"name,price\nA,100\nA,100\nB,"}}}},"responses":{"200":{"description":"納品（支払い済み）","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"注文内容が仕様を満たさない（請求は発生しない）"},"402":{"description":"未払い。PAYMENT-REQUIRED ヘッダに値札（accepts と bazaar 拡張）が入る","headers":{"PAYMENT-REQUIRED":{"description":"Base64 の x402 v2 PaymentRequired","schema":{"type":"string"}},"WWW-Authenticate":{"description":"X402 チャレンジ","schema":{"type":"string"}}}},"503":{"description":"受け取り設定が無効（値札を出さない）"}}}},"/api/x402/code-review":{"post":{"operationId":"x402_code-review","summary":"Reviews source code and returns line-numbered findings with severity and a concrete fix, combining deterministic static rules (eval, SQL concat, secrets, shell injection) with an AI review. Call it before merging or running untrusted code. Input: {\"code\": \"...\", \"language\": \"javascript\"}.","description":"Reviews source code and returns line-numbered findings with severity and a concrete fix, combining deterministic static rules (eval, SQL concat, secrets, shell injection) with an AI review. Call it before merging or running untrusted code. Input: {\"code\": \"...\", \"language\": \"javascript\"}.。1回ごとに 0.75 USDC を x402（USDC・exact）で支払って購入する。アカウント登録もAPIキーも不要。","tags":["x402","paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.750000"},"protocols":[{"x402":{}}],"x402Version":2,"scheme":"exact","method":"POST","network":"eip155:8453","networks":["eip155:8453","eip155:42161","eip155:137","eip155:43114","eip155:1329","eip155:196","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0x3291398dC7070472CF2ED2e757246d089760Ca91","mime_type":"application/json","sellable":true,"blocked_reason":null},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"},"example":{"code":"function add(a,b){ return a+b }","language":"javascript"}}}},"responses":{"200":{"description":"納品（支払い済み）","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"注文内容が仕様を満たさない（請求は発生しない）"},"402":{"description":"未払い。PAYMENT-REQUIRED ヘッダに値札（accepts と bazaar 拡張）が入る","headers":{"PAYMENT-REQUIRED":{"description":"Base64 の x402 v2 PaymentRequired","schema":{"type":"string"}},"WWW-Authenticate":{"description":"X402 チャレンジ","schema":{"type":"string"}}}},"503":{"description":"受け取り設定が無効（値札を出さない）"}}}},"/api/x402/url-meta":{"post":{"operationId":"x402_url-meta","summary":"Fetch one public URL and return machine-readable page metadata: HTTP status, title, meta/og description, canonical URL, language, link count and a short text sample. Honest 4xx/5xx statuses are returned as data, not as errors. Use it for link previews, source triage and citation checks.","description":"Fetch one public URL and return machine-readable page metadata: HTTP status, title, meta/og description, canonical URL, language, link count and a short text sample. Honest 4xx/5xx statuses are returned as data, not as errors. Use it for link previews, source triage and citation checks.。1回ごとに 0.03 USDC を x402（USDC・exact）で支払って購入する。アカウント登録もAPIキーも不要。","tags":["x402","paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}],"x402Version":2,"scheme":"exact","method":"POST","network":"eip155:8453","networks":["eip155:8453","eip155:42161","eip155:137","eip155:43114","eip155:1329","eip155:196","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0x3291398dC7070472CF2ED2e757246d089760Ca91","mime_type":"application/json","sellable":true,"blocked_reason":null},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"},"example":{"url":"https://x402.org/"}}}},"responses":{"200":{"description":"納品（支払い済み）","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"注文内容が仕様を満たさない（請求は発生しない）"},"402":{"description":"未払い。PAYMENT-REQUIRED ヘッダに値札（accepts と bazaar 拡張）が入る","headers":{"PAYMENT-REQUIRED":{"description":"Base64 の x402 v2 PaymentRequired","schema":{"type":"string"}},"WWW-Authenticate":{"description":"X402 チャレンジ","schema":{"type":"string"}}}},"503":{"description":"受け取り設定が無効（値札を出さない）"}}}},"/api/x402/csv-json":{"post":{"operationId":"x402_csv-json","summary":"Convert tabular data between CSV/TSV and a JSON array of objects, in either direction, with detected delimiter and typed columns. Use it when a tool returns CSV but your pipeline needs JSON (or the reverse) and you do not want to run a parser yourself.","description":"Convert tabular data between CSV/TSV and a JSON array of objects, in either direction, with detected delimiter and typed columns. Use it when a tool returns CSV but your pipeline needs JSON (or the reverse) and you do not want to run a parser yourself.。1回ごとに 0.02 USDC を x402（USDC・exact）で支払って購入する。アカウント登録もAPIキーも不要。","tags":["x402","paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}],"x402Version":2,"scheme":"exact","method":"POST","network":"eip155:8453","networks":["eip155:8453","eip155:42161","eip155:137","eip155:43114","eip155:1329","eip155:196","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0x3291398dC7070472CF2ED2e757246d089760Ca91","mime_type":"application/json","sellable":true,"blocked_reason":null},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"},"example":{"data":"name,price\nA,100\nB,250","to":"json"}}}},"responses":{"200":{"description":"納品（支払い済み）","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"注文内容が仕様を満たさない（請求は発生しない）"},"402":{"description":"未払い。PAYMENT-REQUIRED ヘッダに値札（accepts と bazaar 拡張）が入る","headers":{"PAYMENT-REQUIRED":{"description":"Base64 の x402 v2 PaymentRequired","schema":{"type":"string"}},"WWW-Authenticate":{"description":"X402 チャレンジ","schema":{"type":"string"}}}},"503":{"description":"受け取り設定が無効（値札を出さない）"}}}},"/api/x402/regex":{"post":{"operationId":"x402_regex","summary":"Apply one regular expression to a text blob on the server and return every match with its index and capture groups. Deterministic, so the same input always returns the same answer. Useful for log triage, field extraction and validation at scale.","description":"Apply one regular expression to a text blob on the server and return every match with its index and capture groups. Deterministic, so the same input always returns the same answer. Useful for log triage, field extraction and validation at scale.。1回ごとに 0.01 USDC を x402（USDC・exact）で支払って購入する。アカウント登録もAPIキーも不要。","tags":["x402","paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}],"x402Version":2,"scheme":"exact","method":"POST","network":"eip155:8453","networks":["eip155:8453","eip155:42161","eip155:137","eip155:43114","eip155:1329","eip155:196","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0x3291398dC7070472CF2ED2e757246d089760Ca91","mime_type":"application/json","sellable":true,"blocked_reason":null},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"},"example":{"pattern":"ERROR (\\w+)","text":"ERROR timeout\nINFO ok","flags":"g"}}}},"responses":{"200":{"description":"納品（支払い済み）","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"注文内容が仕様を満たさない（請求は発生しない）"},"402":{"description":"未払い。PAYMENT-REQUIRED ヘッダに値札（accepts と bazaar 拡張）が入る","headers":{"PAYMENT-REQUIRED":{"description":"Base64 の x402 v2 PaymentRequired","schema":{"type":"string"}},"WWW-Authenticate":{"description":"X402 チャレンジ","schema":{"type":"string"}}}},"503":{"description":"受け取り設定が無効（値札を出さない）"}}}},"/api/x402/diff":{"post":{"operationId":"x402_diff","summary":"Return the line-level diff between two texts as added/removed/unified hunks with counts. Use it to review a patch, compare two API responses, or decide whether two documents actually differ before spending tokens on them.","description":"Return the line-level diff between two texts as added/removed/unified hunks with counts. Use it to review a patch, compare two API responses, or decide whether two documents actually differ before spending tokens on them.。1回ごとに 0.01 USDC を x402（USDC・exact）で支払って購入する。アカウント登録もAPIキーも不要。","tags":["x402","paid"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}],"x402Version":2,"scheme":"exact","method":"POST","network":"eip155:8453","networks":["eip155:8453","eip155:42161","eip155:137","eip155:43114","eip155:1329","eip155:196","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0x3291398dC7070472CF2ED2e757246d089760Ca91","mime_type":"application/json","sellable":true,"blocked_reason":null},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"},"example":{"a":"line1\nline2","b":"line1\nline2 changed"}}}},"responses":{"200":{"description":"納品（支払い済み）","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"注文内容が仕様を満たさない（請求は発生しない）"},"402":{"description":"未払い。PAYMENT-REQUIRED ヘッダに値札（accepts と bazaar 拡張）が入る","headers":{"PAYMENT-REQUIRED":{"description":"Base64 の x402 v2 PaymentRequired","schema":{"type":"string"}},"WWW-Authenticate":{"description":"X402 チャレンジ","schema":{"type":"string"}}}},"503":{"description":"受け取り設定が無効（値札を出さない）"}}}}},"components":{"securitySchemes":{}}}