{"openapi":"3.1.0","info":{"title":"Dark Loom Paid Intelligence Catalog","version":"2.0.0","description":"Deterministic Base verification and crypto protocol release-risk intelligence paid with x402.","contact":{"url":"https://169-58-81-212.sslip.io/skill.md"},"x-guidance":"Choose a POST operation and send its documented JSON body. An unauthenticated call returns an x402 v2 payment challenge. Use release-risk-report for one monitored protocol or protocol-risk-portfolio for the complete current security-change portfolio. Transaction verification and public URL extraction remain available as lower-cost utilities."},"servers":[{"url":"https://169-58-81-212.sslip.io"}],"paths":{"/v1/x402/settlement-audit":{"post":{"operationId":"auditBaseUsdcSettlement","summary":"Audit a Base USDC settlement","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["txHash"],"properties":{"txHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Base transaction hash"},"expectedRecipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"expectedAmount":{"type":"string","pattern":"^[0-9]+$","description":"Integer amount in atomic units"}}},"example":{"txHash":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}},"responses":{"200":{"description":"Successful machine-readable result","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["ok","chain","canonicalUsdc","transaction","transfers","expectations","proof"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string","const":"base"},"canonicalUsdc":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"transaction":{"type":"object","additionalProperties":false,"required":["hash","blockNumber","blockHash","status","confirmations","methodSelector"],"properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Base transaction hash"},"blockNumber":{"type":"integer","minimum":0},"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Base transaction hash"},"status":{"type":"string","enum":["success","reverted"]},"confirmations":{"type":"integer","minimum":0},"methodSelector":{"type":"string","pattern":"^0x[0-9a-fA-F]{0,8}$"}}},"transfers":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to","value","logIndex"],"properties":{"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"value":{"type":"string","pattern":"^[0-9]+$","description":"Integer amount in atomic units"},"logIndex":{"type":"integer","minimum":0}}}},"expectations":{"type":"object","additionalProperties":false,"required":["recipient","amountAtomic","matched"],"properties":{"recipient":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},{"type":"null"}]},"amountAtomic":{"anyOf":[{"type":"string","pattern":"^[0-9]+$","description":"Integer amount in atomic units"},{"type":"null"}]},"matched":{"type":"boolean"}}},"recipientBalanceAtomic":{"anyOf":[{"type":"string","pattern":"^[0-9]+$","description":"Integer amount in atomic units"},{"type":"null"}]},"proof":{"type":"object","additionalProperties":false,"required":["explorer","verifiedAt"],"properties":{"explorer":{"type":"string","format":"uri"},"verifiedAt":{"type":"string","format":"date-time"}}}}}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required"},"502":{"description":"Upstream lookup failed"}}}},"/v1/x402/address-snapshot":{"post":{"operationId":"snapshotBaseAddress","summary":"Snapshot Base ETH and USDC balances plus transaction count","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"}}},"example":{"address":"0x0000000000000000000000000000000000000000"}}}},"responses":{"200":{"description":"Successful machine-readable result","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["ok","chain","address","nativeBalanceAtomic","usdcBalanceAtomic","transactionCount","blockNumber","proof"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string","const":"base"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"nativeBalanceAtomic":{"type":"string","pattern":"^[0-9]+$","description":"Integer amount in atomic units"},"usdcBalanceAtomic":{"type":"string","pattern":"^[0-9]+$","description":"Integer amount in atomic units"},"transactionCount":{"type":"integer","minimum":0},"blockNumber":{"type":"integer","minimum":0},"proof":{"type":"object","additionalProperties":false,"required":["explorer","verifiedAt"],"properties":{"explorer":{"type":"string","format":"uri"},"verifiedAt":{"type":"string","format":"date-time"}}}}}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required"},"502":{"description":"Upstream lookup failed"}}}},"/v1/x402/transaction-summary":{"post":{"operationId":"summarizeBaseTransaction","summary":"Summarize a Base transaction and successful receipt","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["txHash"],"properties":{"txHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Base transaction hash"}}},"example":{"txHash":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}},"responses":{"200":{"description":"Successful machine-readable result","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["ok","chain","hash","status","from","to","valueAtomic","methodSelector","blockNumber","confirmations","gasUsed","effectiveGasPrice","proof"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string","const":"base"},"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Base transaction hash"},"status":{"type":"string","enum":["success","reverted"]},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"to":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},{"type":"null"}]},"valueAtomic":{"type":"string","pattern":"^[0-9]+$","description":"Integer amount in atomic units"},"methodSelector":{"type":"string","pattern":"^0x[0-9a-fA-F]{0,8}$"},"blockNumber":{"type":"integer","minimum":0},"confirmations":{"type":"integer","minimum":0},"gasUsed":{"type":"string","pattern":"^[0-9]+$","description":"Integer amount in atomic units"},"effectiveGasPrice":{"type":"string","pattern":"^[0-9]+$","description":"Integer amount in atomic units"},"proof":{"type":"object","additionalProperties":false,"required":["explorer","verifiedAt"],"properties":{"explorer":{"type":"string","format":"uri"},"verifiedAt":{"type":"string","format":"date-time"}}}}}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required"},"502":{"description":"Upstream lookup failed"}}}},"/v1/x402/release-risk-report":{"post":{"operationId":"getProtocolReleaseRiskReport","summary":"Get one current protocol release-risk report","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"2.000000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["projectId"],"properties":{"projectId":{"type":"string","enum":["origin-arm","threshold-tbtc","monero-oxide"]}}},"example":{"projectId":"origin-arm"}}}},"responses":{"200":{"description":"Successful machine-readable result","content":{"application/json":{"schema":{"type":"object","required":["project","generatedAt","baseline","head","commitsAnalyzed","changedFiles","changes","risk","reviewChecklist","disclosurePolicy"],"properties":{"project":{"type":"object"},"generatedAt":{"type":"string","format":"date-time"},"baseline":{"type":"string"},"head":{"type":"string"},"commitsAnalyzed":{"type":"integer"},"changedFiles":{"type":"integer"},"changes":{"type":"object"},"risk":{"type":"object"},"reviewChecklist":{"type":"array","items":{"type":"string"}},"disclosurePolicy":{"type":"string"}}}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required"},"502":{"description":"Upstream lookup failed"}}}},"/v1/x402/protocol-risk-portfolio":{"post":{"operationId":"getProtocolRiskPortfolio","summary":"Get all current monitored protocol risk reports","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"10.000000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"scope":{"type":"string","const":"all","default":"all"}}},"example":{"scope":"all"}}}},"responses":{"200":{"description":"Successful machine-readable result","content":{"application/json":{"schema":{"type":"object","required":["generatedAt","service","projectsMonitored","reports"],"properties":{"generatedAt":{"type":"string","format":"date-time"},"service":{"type":"string"},"projectsMonitored":{"type":"integer"},"reports":{"type":"array","items":{"type":"object","required":["project","generatedAt","baseline","head","commitsAnalyzed","changedFiles","changes","risk","reviewChecklist","disclosurePolicy"],"properties":{"project":{"type":"object"},"generatedAt":{"type":"string","format":"date-time"},"baseline":{"type":"string"},"head":{"type":"string"},"commitsAnalyzed":{"type":"integer"},"changedFiles":{"type":"integer"},"changes":{"type":"object"},"risk":{"type":"object"},"reviewChecklist":{"type":"array","items":{"type":"string"}},"disclosurePolicy":{"type":"string"}}}}}}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required"},"502":{"description":"Upstream lookup failed"}}}},"/v1/swarmwage/security/hire":{"post":{"operationId":"getSwarmwageProtocolReleaseRisk","summary":"Get one release-risk report through Swarmwage","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"2.000000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["protocol","capability","params"],"properties":{"protocol":{"type":"string","const":"swarmwage/v0.1"},"buyer_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"capability":{"type":"string","const":"custom.darkloom.smart-contract-release-risk"},"max_price_usdc":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,6})?$"},"params":{"type":"object","additionalProperties":false,"required":["projectId"],"properties":{"projectId":{"type":"string","enum":["origin-arm","threshold-tbtc","monero-oxide"]}}}}},"example":{"protocol":"swarmwage/v0.1","buyer_id":"0x0000000000000000000000000000000000000000","capability":"custom.darkloom.smart-contract-release-risk","params":{"projectId":"origin-arm"},"max_price_usdc":"2"}}}},"responses":{"200":{"description":"Successful machine-readable result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required"},"502":{"description":"Upstream lookup failed"}}}},"/v1/swarmwage/data-extract/hire":{"post":{"operationId":"extractPublicUrlFields","summary":"Extract requested structured fields from a public HTTPS URL","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["protocol","capability","params"],"properties":{"protocol":{"type":"string","const":"swarmwage/v0.1"},"buyer_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"capability":{"type":"string","const":"data.extract.from-url"},"max_price_usdc":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,6})?$"},"params":{"type":"object","additionalProperties":false,"required":["url","fields"],"properties":{"url":{"type":"string","format":"uri","pattern":"^https://[^\\s]+$"},"fields":{"type":"array","minItems":1,"maxItems":24,"uniqueItems":true,"items":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_.-]{0,63}$"}},"max_response_kb":{"type":"integer","minimum":1,"maximum":4096,"default":512}}}}},"example":{"protocol":"swarmwage/v0.1","buyer_id":"0x0000000000000000000000000000000000000000","capability":"data.extract.from-url","params":{"url":"https://example.com","fields":["title"]},"max_price_usdc":"0.01"}}}},"responses":{"200":{"description":"Successful machine-readable result","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["protocol","receipt","result","verification","rating_token","_meta"],"properties":{"protocol":{"type":"string","const":"swarmwage/v0.1"},"receipt":{"type":"object","required":["receipt_id","buyer_id","seller_id","capability","tx_hash","price_paid_usdc","completed_at","first_call_free"],"properties":{"receipt_id":{"type":"string"},"buyer_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"seller_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"EVM address"},"capability":{"type":"string","const":"data.extract.from-url"},"tx_hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Base transaction hash"},"price_paid_usdc":{"type":"string"},"completed_at":{"type":"integer"},"first_call_free":{"type":"boolean"}}},"result":{"type":"object","required":["url","extracted","confidence","extracted_at"],"properties":{"url":{"type":"string","format":"uri"},"extracted":{"type":"object","additionalProperties":true},"confidence":{"type":"number","minimum":0,"maximum":1},"extracted_at":{"type":"string","format":"date-time"}}},"verification":{"type":"object","required":["checks","all_passed"],"properties":{"checks":{"type":"array","items":{"type":"object","required":["name","passed"],"properties":{"name":{"type":"string"},"passed":{"type":"boolean"}}}},"all_passed":{"type":"boolean"}}},"rating_token":{"type":"string"},"_meta":{"type":"object","additionalProperties":true}}}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required"},"502":{"description":"Upstream lookup failed"}}}}}}