{"openapi":"3.1.0","info":{"title":"ToolMint Package Trust","version":"0.1.0","description":"npm/PyPI trust pack: registry facts + OSV vulns + typosquat neighbors. Pay per call with USDC on Base via x402.","x-guidance":"Use GET /check?eco=npm&name=lodash or GET /check/{eco}/{name}. Batch: GET /batch?eco=npm&names=a,b. Unpaid calls receive HTTP 402 (USDC on Base). Free: /, /health, /openapi.json, /.well-known/x402.","contact":{"email":"toolmint.dev@gmail.com","name":"ToolMint"}},"paths":{"/health":{"get":{"operationId":"health","summary":"Liveness","security":[],"responses":{"200":{"description":"ok"}}}},"/check":{"get":{"operationId":"pkg_trust_check","summary":"Single package trust check","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}],"network":"eip155:8453","payTo":"0xfbF7413bcB3a604936775C96FDbe0b0C9c9E37F5","asset":"USDC","scheme":"exact","amountAtomic":"5000"},"parameters":[{"name":"eco","in":"query","required":true,"schema":{"type":"string","enum":["npm","pypi"]}},{"name":"name","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Trust pack JSON"},"402":{"description":"Payment Required"}}}},"/check/{eco}/{name}":{"get":{"operationId":"pkg_trust_check_path","summary":"Single package trust check by path","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}],"network":"eip155:8453","payTo":"0xfbF7413bcB3a604936775C96FDbe0b0C9c9E37F5","asset":"USDC","scheme":"exact","amountAtomic":"5000"},"parameters":[{"name":"eco","in":"path","required":true,"schema":{"type":"string","enum":["npm","pypi"]}},{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Trust pack JSON"},"402":{"description":"Payment Required"}}}},"/batch":{"get":{"operationId":"pkg_trust_batch","summary":"Batch package trust (max 10)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}],"network":"eip155:8453","payTo":"0xfbF7413bcB3a604936775C96FDbe0b0C9c9E37F5","asset":"USDC","scheme":"exact","amountAtomic":"5000"},"parameters":[{"name":"eco","in":"query","required":true,"schema":{"type":"string","enum":["npm","pypi"]}},{"name":"names","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated names"}}],"responses":{"200":{"description":"Batch trust JSON"},"402":{"description":"Payment Required"}}}}}}