{
  "x402Version": 2,
  "id": 39656,
  "slug": "39656",
  "resource": "https://api.blockchainmoneymap.com/api/x402/x402-agent-wallet-policy-coverage-gap-analyzer",
  "description": "Compares sanitized autonomous-task facts against wallet policy coverage.",
  "type": "http",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "type": "json"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "facts": {
              "allowed_assets": [
                "USDC"
              ],
              "allowed_chains": [
                "eip155:8453"
              ],
              "allowed_counterparties": [
                "seller-a"
              ],
              "intended_task": "wallet intelligence purchase",
              "policy_scope": {
                "purpose": "wallet_audit"
              },
              "recurrence": "single_use",
              "revocation_supported": true,
              "spend_caps": {
                "daily_usd": 1,
                "per_call_usd": 0.1
              },
              "time_window": {
                "valid_until": "2026-07-23T00:00:00.000Z"
              }
            },
            "idempotency_key": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
            "idempotency_scope_token": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
            "mode": "audit",
            "retention_class": "short"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "facts": {
                    "additionalProperties": false,
                    "properties": {
                      "allowed_assets": {
                        "maxItems": 50,
                        "type": "array"
                      },
                      "allowed_chains": {
                        "maxItems": 50,
                        "type": "array"
                      },
                      "allowed_counterparties": {
                        "maxItems": 50,
                        "type": "array"
                      },
                      "intended_task": {
                        "maxLength": 500,
                        "type": "string"
                      },
                      "policy_scope": {
                        "additionalProperties": true,
                        "maxProperties": 50,
                        "type": "object"
                      },
                      "recurrence": {
                        "maxLength": 500,
                        "type": "string"
                      },
                      "revocation_supported": {
                        "type": "boolean"
                      },
                      "spend_caps": {
                        "additionalProperties": true,
                        "maxProperties": 50,
                        "type": "object"
                      },
                      "time_window": {
                        "additionalProperties": true,
                        "maxProperties": 50,
                        "type": "object"
                      }
                    },
                    "required": [
                      "intended_task",
                      "policy_scope",
                      "spend_caps",
                      "allowed_counterparties",
                      "allowed_chains",
                      "allowed_assets",
                      "time_window",
                      "recurrence",
                      "revocation_supported"
                    ],
                    "type": "object"
                  },
                  "idempotency_key": {
                    "maxLength": 160,
                    "minLength": 32,
                    "pattern": "^[A-Za-z0-9_-]{32,160}$",
                    "type": "string"
                  },
                  "idempotency_scope_token": {
                    "maxLength": 160,
                    "minLength": 43,
                    "pattern": "^[A-Za-z0-9_-]{43,160}$",
                    "type": "string"
                  },
                  "mode": {
                    "enum": [
                      "audit"
                    ]
                  },
                  "policy": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "reference_facts": {
                    "additionalProperties": false,
                    "properties": {
                      "allowed_assets": {
                        "maxItems": 50,
                        "type": "array"
                      },
                      "allowed_chains": {
                        "maxItems": 50,
                        "type": "array"
                      },
                      "allowed_counterparties": {
                        "maxItems": 50,
                        "type": "array"
                      },
                      "intended_task": {
                        "maxLength": 500,
                        "type": "string"
                      },
                      "policy_scope": {
                        "additionalProperties": true,
                        "maxProperties": 50,
                        "type": "object"
                      },
                      "recurrence": {
                        "maxLength": 500,
                        "type": "string"
                      },
                      "revocation_supported": {
                        "type": "boolean"
                      },
                      "spend_caps": {
                        "additionalProperties": true,
                        "maxProperties": 50,
                        "type": "object"
                      },
                      "time_window": {
                        "additionalProperties": true,
                        "maxProperties": 50,
                        "type": "object"
                      }
                    },
                    "required": [
                      "intended_task",
                      "policy_scope",
                      "spend_caps",
                      "allowed_counterparties",
                      "allowed_chains",
                      "allowed_assets",
                      "time_window",
                      "recurrence",
                      "revocation_supported"
                    ],
                    "type": "object"
                  },
                  "retention_class": {
                    "enum": [
                      "short",
                      "standard",
                      "support"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "mode",
                  "facts",
                  "idempotency_key",
                  "idempotency_scope_token",
                  "retention_class"
                ],
                "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.blockchainmoneymap.com",
  "lastUpdated": "2026-10-05T21:01:32.898Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-05T21:01:32.546Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "facts": {
                "allowed_assets": [
                  "USDC"
                ],
                "allowed_chains": [
                  "eip155:8453"
                ],
                "allowed_counterparties": [
                  "seller-a"
                ],
                "intended_task": "wallet intelligence purchase",
                "policy_scope": {
                  "purpose": "wallet_audit"
                },
                "recurrence": "single_use",
                "revocation_supported": true,
                "spend_caps": {
                  "daily_usd": 1,
                  "per_call_usd": 0.1
                },
                "time_window": {
                  "valid_until": "2026-07-23T00:00:00.000Z"
                }
              },
              "idempotency_key": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
              "idempotency_scope_token": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
              "mode": "audit",
              "retention_class": "short"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "facts": {
                      "additionalProperties": false,
                      "properties": {
                        "allowed_assets": {
                          "maxItems": 50,
                          "type": "array"
                        },
                        "allowed_chains": {
                          "maxItems": 50,
                          "type": "array"
                        },
                        "allowed_counterparties": {
                          "maxItems": 50,
                          "type": "array"
                        },
                        "intended_task": {
                          "maxLength": 500,
                          "type": "string"
                        },
                        "policy_scope": {
                          "additionalProperties": true,
                          "maxProperties": 50,
                          "type": "object"
                        },
                        "recurrence": {
                          "maxLength": 500,
                          "type": "string"
                        },
                        "revocation_supported": {
                          "type": "boolean"
                        },
                        "spend_caps": {
                          "additionalProperties": true,
                          "maxProperties": 50,
                          "type": "object"
                        },
                        "time_window": {
                          "additionalProperties": true,
                          "maxProperties": 50,
                          "type": "object"
                        }
                      },
                      "required": [
                        "intended_task",
                        "policy_scope",
                        "spend_caps",
                        "allowed_counterparties",
                        "allowed_chains",
                        "allowed_assets",
                        "time_window",
                        "recurrence",
                        "revocation_supported"
                      ],
                      "type": "object"
                    },
                    "idempotency_key": {
                      "maxLength": 160,
                      "minLength": 32,
                      "pattern": "^[A-Za-z0-9_-]{32,160}$",
                      "type": "string"
                    },
                    "idempotency_scope_token": {
                      "maxLength": 160,
                      "minLength": 43,
                      "pattern": "^[A-Za-z0-9_-]{43,160}$",
                      "type": "string"
                    },
                    "mode": {
                      "enum": [
                        "audit"
                      ]
                    },
                    "policy": {
                      "additionalProperties": true,
                      "type": "object"
                    },
                    "reference_facts": {
                      "additionalProperties": false,
                      "properties": {
                        "allowed_assets": {
                          "maxItems": 50,
                          "type": "array"
                        },
                        "allowed_chains": {
                          "maxItems": 50,
                          "type": "array"
                        },
                        "allowed_counterparties": {
                          "maxItems": 50,
                          "type": "array"
                        },
                        "intended_task": {
                          "maxLength": 500,
                          "type": "string"
                        },
                        "policy_scope": {
                          "additionalProperties": true,
                          "maxProperties": 50,
                          "type": "object"
                        },
                        "recurrence": {
                          "maxLength": 500,
                          "type": "string"
                        },
                        "revocation_supported": {
                          "type": "boolean"
                        },
                        "spend_caps": {
                          "additionalProperties": true,
                          "maxProperties": 50,
                          "type": "object"
                        },
                        "time_window": {
                          "additionalProperties": true,
                          "maxProperties": 50,
                          "type": "object"
                        }
                      },
                      "required": [
                        "intended_task",
                        "policy_scope",
                        "spend_caps",
                        "allowed_counterparties",
                        "allowed_chains",
                        "allowed_assets",
                        "time_window",
                        "recurrence",
                        "revocation_supported"
                      ],
                      "type": "object"
                    },
                    "retention_class": {
                      "enum": [
                        "short",
                        "standard",
                        "support"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "mode",
                    "facts",
                    "idempotency_key",
                    "idempotency_scope_token",
                    "retention_class"
                  ],
                  "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.blockchainmoneymap.com",
    "manifest_name": "api.blockchainmoneymap.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": null
}