{"slug":"api-blockchainmoneymap-com-api-devagentpal-recursive-commerc-57c179","title":"Detect recursive agent-commerce loops, repeated purchases, delegation depth brea","host":"api.blockchainmoneymap.com","method":"POST","resource":"https://api.blockchainmoneymap.com/api/devagentpal/recursive-commerce-loop-breaker","category":"other","description":"Detect recursive agent-commerce loops, repeated purchases, delegation depth breaches, fan-out amplification, and bounded projected spend 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":{"currentAgentId":"agent-a","delegationPath":[{"agentId":"agent-a","parentAgentId":null,"wallet":"0x3cb6ad0990015522e60e21780f2802e2E927c08A"}],"policy":{"maxCycleLength":8,"maxDelegationDepth":8,"maxFanOut":20,"maxProjectedSpend":"0.10","maxProjectionIterations":10,"maxRepeatedFingerprint":2,"maxRepeatedResource":3,"windowSeconds":3600},"principalAgentId":"agent-a","proposedPurchase":{"amount":"0.01","buyerAgentId":"agent-a","buyerWallet":"0x3cb6ad0990015522e60e21780f2802e2E927c08A","currency":"USDC","network":"base","requestFingerprint":"req-abc","resourceId":"wallet-snapshot","sellerAgentId":"agent-b","sellerWallet":"0x787fD1dc3b533171781e4Ae1A563c1AC7b4435E4","timestamp":"2026-07-19T12:00:00.000Z"},"purchaseHistory":[]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"currentAgentId":{"type":"string"},"delegationPath":{"maxItems":100,"type":"array"},"policy":{"type":"object"},"principalAgentId":{"type":"string"},"proposedPurchase":{"type":"object"},"purchaseHistory":{"maxItems":500,"type":"array"}},"required":["principalAgentId","currentAgentId","proposedPurchase","delegationPath","purchaseHistory","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":{"cycleDetected":{"type":"boolean"},"cyclePath":{"items":{"type":"string"},"type":"array"},"decision":{"enum":["allow","block","review","completed","partial","failed"],"type":"string"},"evidence":{"type":"object"},"generatedAt":{"format":"date-time","type":"string"},"inputFingerprint":{"type":"string"},"projectedSpend":{"type":"string"},"reasons":{"items":{"type":"object"},"type":"array"},"requestId":{"type":"string"},"riskScore":{"maximum":100,"minimum":0,"type":"number"},"service":{"type":"string"},"summary":{"type":"string"},"triggeredPolicies":{"items":{"type":"string"},"type":"array"},"version":{"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 recursive agent-commerce loops, repeated purchases, delegation depth breaches, fan-out amplification, and bounded projected spend before an autonomous purchase proceeds.","last_updated":"2026-10-03T18:54:07.834Z","schemes":["exact"]}