Detect recursive agent-commerce loops, repeated purchases, delegation depth breaches, f…
Detect recursive agent-commerce loops, repeated purchases, delegation depth breaches, fan-out amplification, and bounded projected spend before an autonomous purchase proceeds.
by api.blockchainmoneymap.com · discovered, not yet claimed by its owner · updated 2026-10-05
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Detect recursive agent-commerce loops, repeated purchases, delegation depth breaches, fan-out amplification, and bounded projected spend before an autonomous purchase proceeds.
Tags: bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-05
{
"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": []
}{
"example": {
"cycleDetected": true,
"cyclePath": [
"string"
],
"decision": "allow",
"evidence": {},
"generatedAt": "2026-01-01T00:00:00Z",
"inputFingerprint": "string",
"projectedSpend": "string",
"reasons": [
{}
],
"requestId": "string",
"riskScore": 0,
"service": "string",
"summary": "string",
"triggeredPolicies": [
"string"
],
"version": "string"
},
"type": "json"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/39641.jsonfor the price and payment options. - Pay. Call
GET https://api.blockchainmoneymap.com/api/devagentpal/recursive-commerce-loop-breaker. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"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"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"cycleDetected": true,
"cyclePath": [
"string"
],
"decision": "allow",
"evidence": {},
"generatedAt": "2026-01-01T00:00:00Z",
"inputFingerprint": "string",
"projectedSpend": "string",
"reasons": [
{}
],
"requestId": "string",
"riskScore": 0,
"service": "string",
"summary": "string",
"triggeredPolicies": [
"string"
],
"version": "string"
},
"type": "json"
}Examples
curl -X POST 'https://api.blockchainmoneymap.com/api/devagentpal/recursive-commerce-loop-breaker' -H 'Content-Type: application/json' --data '{"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":[]}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://api.blockchainmoneymap.com/api/devagentpal/recursive-commerce-loop-breaker", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"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\":[]}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://api.blockchainmoneymap.com/api/devagentpal/recursive-commerce-loop-breaker", json=json.loads("{\"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\":[]}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.blockchainmoneymap.com
- Endpoint
- https://api.blockchainmoneymap.com/api/devagentpal/recursive-commerce-loop-breaker
- Machine-readable
/resources/39641.json