{"slug":"api-blockchainmoneymap-com-api-devagentpal-micropurchase-fra-2528ef","title":"Detect caller-supplied micropurchase fragmentation before an autonomous purchase","host":"api.blockchainmoneymap.com","method":"POST","resource":"https://api.blockchainmoneymap.com/api/devagentpal/micropurchase-fragmentation-guard","category":"other","description":"Detect caller-supplied micropurchase fragmentation before an autonomous purchase proceeds.","price_listed":0.01,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"policy":{"aggregateWindowLimit":"0.10","maxEvents":1000,"minimumFragmentCount":3,"nearThresholdPercent":10,"similarityWindowSeconds":300,"singlePurchaseLimit":"0.05","windowSeconds":3600},"principalAgentId":"agent-a","proposedPurchases":[{"amount":"0.01","buyerAgentId":"agent-a","buyerWallet":"0x3cb6ad0990015522e60e21780f2802e2E927c08A","currency":"USDC","eventId":"event-1","network":"base","requestFingerprint":"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","resourceId":"wallet-snapshot","sellerAgentId":"seller-a","sellerWallet":"0x787fD1dc3b533171781e4Ae1A563c1AC7b4435E4","timestamp":"2026-07-19T12:00:00.000Z"}],"recentPurchases":[],"verifiedRelationships":[]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":true,"properties":{"policy":{"additionalProperties":true,"properties":{"aggregateWindowLimit":{"description":"Non-negative decimal string, up to six fractional digits.","pattern":"^\\d+(?:\\.\\d{1,6})?$","type":"string"},"maxEvents":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}]},"minimumFragmentCount":{"anyOf":[{"maximum":1000,"minimum":2,"type":"integer"},{"type":"null"}]},"nearThresholdPercent":{"anyOf":[{"maximum":100,"minimum":0,"type":"integer"},{"type":"null"}]},"similarityWindowSeconds":{"anyOf":[{"maximum":31536000,"minimum":1,"type":"integer"},{"type":"null"}]},"singlePurchaseLimit":{"description":"Non-negative decimal string, up to six fractional digits.","pattern":"^\\d+(?:\\.\\d{1,6})?$","type":"string"},"windowSeconds":{"anyOf":[{"maximum":31536000,"minimum":1,"type":"integer"},{"type":"null"}]}},"required":["singlePurchaseLimit","aggregateWindowLimit"],"type":"object"},"principalAgentId":{"minLength":1,"pattern":"\\S","type":"string"},"proposedPurchases":{"items":{"additionalProperties":true,"properties":{"amount":{"description":"Non-negative decimal string, up to six fractional digits.","pattern":"^\\d+(?:\\.\\d{1,6})?$","type":"string"},"buyerAgentId":{"minLength":1,"pattern":"\\S","type":"string"},"buyerWallet":{"minLength":1,"pattern":"\\S","type":"string"},"currency":{"enum":["USDC","usdc"],"type":"string"},"eventId":{"minLength":1,"pattern":"\\S","type":"string"},"network":{"minLength":1,"pattern":"\\S","type":"string"},"requestFingerprint":{"pattern":"^(?:sha256:)?[a-fA-F0-9]{64}$","type":"string"},"resourceId":{"minLength":1,"pattern":"\\S","type":"string"},"sellerAgentId":{"minLength":1,"pattern":"\\S","type":"string"},"sellerWallet":{"minLength":1,"pattern":"\\S","type":"string"},"timestamp":{"format":"date-time","type":"string"}},"required":["eventId","buyerAgentId","buyerWallet","sellerAgentId","sellerWallet","resourceId","requestFingerprint","amount","currency","network","timestamp"],"type":"object"},"maxItems":1000,"minItems":1,"type":"array"},"recentPurchases":{"anyOf":[{"items":{"additionalProperties":true,"properties":{"amount":{"description":"Non-negative decimal string, up to six fractional digits.","pattern":"^\\d+(?:\\.\\d{1,6})?$","type":"string"},"buyerAgentId":{"minLength":1,"pattern":"\\S","type":"string"},"buyerWallet":{"minLength":1,"pattern":"\\S","type":"string"},"currency":{"enum":["USDC","usdc"],"type":"string"},"eventId":{"minLength":1,"pattern":"\\S","type":"string"},"network":{"minLength":1,"pattern":"\\S","type":"string"},"requestFingerprint":{"pattern":"^(?:sha256:)?[a-fA-F0-9]{64}$","type":"string"},"resourceId":{"minLength":1,"pattern":"\\S","type":"string"},"sellerAgentId":{"minLength":1,"pattern":"\\S","type":"string"},"sellerWallet":{"minLength":1,"pattern":"\\S","type":"string"},"timestamp":{"format":"date-time","type":"string"}},"required":["eventId","buyerAgentId","buyerWallet","sellerAgentId","sellerWallet","resourceId","requestFingerprint","amount","currency","network","timestamp"],"type":"object"},"maxItems":1000,"minItems":0,"type":"array"},{"type":"null"}]},"verifiedRelationships":{"anyOf":[{"items":{"additionalProperties":true,"properties":{"evidenceHash":{"pattern":"^(?:sha256:)?[a-fA-F0-9]{64}$","type":"string"},"leftId":{"minLength":1,"pattern":"\\S","type":"string"},"rightId":{"minLength":1,"pattern":"\\S","type":"string"},"type":{"enum":["delegation","shared_wallet","same_seller","caller_asserted_group"],"type":"string"},"verified":{"type":"boolean"}},"required":["leftId","rightId","type","evidenceHash","verified"],"type":"object"},"maxItems":1000,"minItems":0,"type":"array"},{"type":"null"}]}},"required":["proposedPurchases","policy"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"decision":{"enum":["allow","block","review","insufficient_evidence","completed","partial","failed"],"type":"string"},"evidence":{"additionalProperties":true,"properties":{},"required":[],"type":"object"},"generatedAt":{"format":"date-time","type":"string"},"inputFingerprint":{"minLength":1,"pattern":"\\S","type":"string"},"metadata":{"additionalProperties":true,"properties":{"paymentStatus":{"minLength":1,"pattern":"\\S","type":"string"}},"required":[],"type":"object"},"pricePaid":{"additionalProperties":true,"properties":{"amount":{"description":"Non-negative decimal string, up to six fractional digits.","pattern":"^\\d+(?:\\.\\d{1,6})?$","type":"string"},"currency":{"minLength":1,"pattern":"\\S","type":"string"},"network":{"minLength":1,"pattern":"\\S","type":"string"}},"required":[],"type":"object"},"reasons":{"items":{"additionalProperties":true,"properties":{"code":{"minLength":1,"pattern":"\\S","type":"string"},"message":{"minLength":1,"pattern":"\\S","type":"string"},"severity":{"enum":["info","warning","critical"],"type":"string"}},"required":["code","message","severity"],"type":"object"},"type":"array"},"requestId":{"minLength":1,"pattern":"\\S","type":"string"},"riskScore":{"maximum":100,"minimum":0,"type":"integer"},"service":{"description":"Human-readable service name for micropurchase-fragmentation-guard.","minLength":1,"pattern":"\\S","type":"string"},"summary":{"minLength":1,"pattern":"\\S","type":"string"},"version":{"enum":["v0.2"]},"x402_request_id":{"minLength":1,"pattern":"\\S","type":"string"}},"required":["requestId","service","version","decision","riskScore","summary","reasons","evidence","inputFingerprint","generatedAt"],"type":"object"},"type":{"enum":["json"],"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Detect caller-supplied micropurchase fragmentation before an autonomous purchase proceeds.","last_updated":"2026-10-03T18:54:15.708Z","schemes":["exact"]}