{
  "x402Version": 2,
  "id": 39637,
  "slug": "39637",
  "resource": "https://api.blockchainmoneymap.com/api/x402/x402-failure-fact-classifier",
  "description": "Classifies sanitized x402 failure facts into safe diagnostic causes without replaying payments or storing raw logs.",
  "type": "http",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "confidence": {
            "enum": [
              "high",
              "medium",
              "low"
            ],
            "type": "string"
          },
          "decision": {
            "type": "string"
          },
          "endpoint": {
            "enum": [
              "x402-failure-fact-classifier"
            ]
          },
          "evidence": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "type": "string"
          },
          "likely_cause": {
            "type": "string"
          },
          "limitations": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "metadata": {
            "additionalProperties": false,
            "properties": {
              "paymentStatus": {
                "type": "string"
              }
            },
            "required": [
              "paymentStatus"
            ],
            "type": "object"
          },
          "pricePaid": {
            "type": "object"
          },
          "product_family": {
            "enum": [
              "agent_expansion_v3_api"
            ]
          },
          "recommended_next_action": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "risk_flags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "summary": {
            "type": "string"
          },
          "tool_id": {
            "enum": [
              "x402_failure_fact_classifier"
            ]
          },
          "version": {
            "enum": [
              "v0.1"
            ]
          },
          "x402_request_id": {
            "type": "string"
          }
        },
        "required": [
          "product_family",
          "endpoint",
          "tool_id",
          "version",
          "request_id",
          "x402_request_id",
          "generated_at",
          "decision",
          "confidence",
          "summary",
          "risk_flags",
          "recommended_next_action",
          "limitations",
          "metadata",
          "likely_cause",
          "evidence"
        ],
        "type": "object"
      },
      "type": {
        "enum": [
          "json"
        ],
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "caller_context": {
              "client_name": "example-agent",
              "client_version": "1.0.0",
              "environment": "test",
              "integration_step": "challenge"
            },
            "expected_facts": {
              "amount": "0.01",
              "currency": "USDC",
              "network": "base",
              "receiver": "0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a",
              "resource_path": "/api/x402/wallet-snapshot",
              "scheme": "exact",
              "tool_id": "wallet_snapshot"
            },
            "failure_facts": {
              "amount": "0.01",
              "currency": "USDC",
              "http_status": 402,
              "network": "base",
              "present_header_names": [
                "payment-required",
                "content-type"
              ],
              "receiver": "0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a",
              "resource_path": "/api/x402/wallet-snapshot",
              "scheme": "exact",
              "x402_version": 2
            }
          },
          "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": {
                "additionalProperties": false,
                "properties": {
                  "caller_context": {
                    "additionalProperties": false,
                    "properties": {
                      "client_name": {
                        "pattern": "^[A-Za-z0-9_. -]{1,80}$",
                        "type": "string"
                      },
                      "client_version": {
                        "pattern": "^[A-Za-z0-9_.:-]{1,40}$",
                        "type": "string"
                      },
                      "environment": {
                        "enum": [
                          "local",
                          "preview",
                          "production",
                          "test",
                          "unknown"
                        ],
                        "type": "string"
                      },
                      "integration_step": {
                        "enum": [
                          "challenge",
                          "sign",
                          "retry",
                          "verify",
                          "settle",
                          "target_response",
                          "unknown"
                        ],
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "expected_facts": {
                    "additionalProperties": false,
                    "properties": {
                      "amount": {
                        "maxLength": 32,
                        "type": "string"
                      },
                      "currency": {
                        "enum": [
                          "USDC"
                        ],
                        "type": "string"
                      },
                      "network": {
                        "maxLength": 64,
                        "type": "string"
                      },
                      "receiver": {
                        "maxLength": 80,
                        "type": "string"
                      },
                      "resource_path": {
                        "maxLength": 160,
                        "type": "string"
                      },
                      "scheme": {
                        "maxLength": 64,
                        "type": "string"
                      },
                      "tool_id": {
                        "maxLength": 120,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "failure_facts": {
                    "additionalProperties": false,
                    "properties": {
                      "amount": {
                        "maxLength": 32,
                        "type": "string"
                      },
                      "currency": {
                        "enum": [
                          "USDC"
                        ],
                        "type": "string"
                      },
                      "facilitator_error_code": {
                        "pattern": "^[A-Za-z0-9_.:-]{1,120}$",
                        "type": "string"
                      },
                      "http_status": {
                        "maximum": 599,
                        "minimum": 100,
                        "type": "integer"
                      },
                      "network": {
                        "maxLength": 64,
                        "type": "string"
                      },
                      "present_header_names": {
                        "items": {
                          "maxLength": 80,
                          "type": "string"
                        },
                        "maxItems": 40,
                        "type": "array"
                      },
                      "receiver": {
                        "maxLength": 80,
                        "type": "string"
                      },
                      "resource_path": {
                        "maxLength": 160,
                        "type": "string"
                      },
                      "retry_status": {
                        "maxLength": 64,
                        "type": "string"
                      },
                      "scheme": {
                        "maxLength": 64,
                        "type": "string"
                      },
                      "target_error_code": {
                        "pattern": "^[A-Za-z0-9_.:-]{1,120}$",
                        "type": "string"
                      },
                      "x402_version": {
                        "maximum": 2,
                        "minimum": 1,
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "failure_facts"
                ],
                "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": false,
                "properties": {
                  "confidence": {
                    "enum": [
                      "high",
                      "medium",
                      "low"
                    ],
                    "type": "string"
                  },
                  "decision": {
                    "type": "string"
                  },
                  "endpoint": {
                    "enum": [
                      "x402-failure-fact-classifier"
                    ]
                  },
                  "evidence": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "generated_at": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "likely_cause": {
                    "type": "string"
                  },
                  "limitations": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "metadata": {
                    "additionalProperties": false,
                    "properties": {
                      "paymentStatus": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "paymentStatus"
                    ],
                    "type": "object"
                  },
                  "pricePaid": {
                    "type": "object"
                  },
                  "product_family": {
                    "enum": [
                      "agent_expansion_v3_api"
                    ]
                  },
                  "recommended_next_action": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "risk_flags": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "summary": {
                    "type": "string"
                  },
                  "tool_id": {
                    "enum": [
                      "x402_failure_fact_classifier"
                    ]
                  },
                  "version": {
                    "enum": [
                      "v0.1"
                    ]
                  },
                  "x402_request_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "product_family",
                  "endpoint",
                  "tool_id",
                  "version",
                  "request_id",
                  "x402_request_id",
                  "generated_at",
                  "decision",
                  "confidence",
                  "summary",
                  "risk_flags",
                  "recommended_next_action",
                  "limitations",
                  "metadata",
                  "likely_cause",
                  "evidence"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "json"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.blockchainmoneymap.com",
  "lastUpdated": "2026-10-05T21:46:50.023Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-05T21:46:49.768Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "caller_context": {
                "client_name": "example-agent",
                "client_version": "1.0.0",
                "environment": "test",
                "integration_step": "challenge"
              },
              "expected_facts": {
                "amount": "0.01",
                "currency": "USDC",
                "network": "base",
                "receiver": "0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a",
                "resource_path": "/api/x402/wallet-snapshot",
                "scheme": "exact",
                "tool_id": "wallet_snapshot"
              },
              "failure_facts": {
                "amount": "0.01",
                "currency": "USDC",
                "http_status": 402,
                "network": "base",
                "present_header_names": [
                  "payment-required",
                  "content-type"
                ],
                "receiver": "0x2211E12e6Bc8Da27B48B9DD66A55f5C3388D713a",
                "resource_path": "/api/x402/wallet-snapshot",
                "scheme": "exact",
                "x402_version": 2
              }
            },
            "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": {
                  "additionalProperties": false,
                  "properties": {
                    "caller_context": {
                      "additionalProperties": false,
                      "properties": {
                        "client_name": {
                          "pattern": "^[A-Za-z0-9_. -]{1,80}$",
                          "type": "string"
                        },
                        "client_version": {
                          "pattern": "^[A-Za-z0-9_.:-]{1,40}$",
                          "type": "string"
                        },
                        "environment": {
                          "enum": [
                            "local",
                            "preview",
                            "production",
                            "test",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "integration_step": {
                          "enum": [
                            "challenge",
                            "sign",
                            "retry",
                            "verify",
                            "settle",
                            "target_response",
                            "unknown"
                          ],
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "expected_facts": {
                      "additionalProperties": false,
                      "properties": {
                        "amount": {
                          "maxLength": 32,
                          "type": "string"
                        },
                        "currency": {
                          "enum": [
                            "USDC"
                          ],
                          "type": "string"
                        },
                        "network": {
                          "maxLength": 64,
                          "type": "string"
                        },
                        "receiver": {
                          "maxLength": 80,
                          "type": "string"
                        },
                        "resource_path": {
                          "maxLength": 160,
                          "type": "string"
                        },
                        "scheme": {
                          "maxLength": 64,
                          "type": "string"
                        },
                        "tool_id": {
                          "maxLength": 120,
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "failure_facts": {
                      "additionalProperties": false,
                      "properties": {
                        "amount": {
                          "maxLength": 32,
                          "type": "string"
                        },
                        "currency": {
                          "enum": [
                            "USDC"
                          ],
                          "type": "string"
                        },
                        "facilitator_error_code": {
                          "pattern": "^[A-Za-z0-9_.:-]{1,120}$",
                          "type": "string"
                        },
                        "http_status": {
                          "maximum": 599,
                          "minimum": 100,
                          "type": "integer"
                        },
                        "network": {
                          "maxLength": 64,
                          "type": "string"
                        },
                        "present_header_names": {
                          "items": {
                            "maxLength": 80,
                            "type": "string"
                          },
                          "maxItems": 40,
                          "type": "array"
                        },
                        "receiver": {
                          "maxLength": 80,
                          "type": "string"
                        },
                        "resource_path": {
                          "maxLength": 160,
                          "type": "string"
                        },
                        "retry_status": {
                          "maxLength": 64,
                          "type": "string"
                        },
                        "scheme": {
                          "maxLength": 64,
                          "type": "string"
                        },
                        "target_error_code": {
                          "pattern": "^[A-Za-z0-9_.:-]{1,120}$",
                          "type": "string"
                        },
                        "x402_version": {
                          "maximum": 2,
                          "minimum": 1,
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "required": [
                    "failure_facts"
                  ],
                  "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": false,
                  "properties": {
                    "confidence": {
                      "enum": [
                        "high",
                        "medium",
                        "low"
                      ],
                      "type": "string"
                    },
                    "decision": {
                      "type": "string"
                    },
                    "endpoint": {
                      "enum": [
                        "x402-failure-fact-classifier"
                      ]
                    },
                    "evidence": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "generated_at": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "likely_cause": {
                      "type": "string"
                    },
                    "limitations": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "metadata": {
                      "additionalProperties": false,
                      "properties": {
                        "paymentStatus": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "paymentStatus"
                      ],
                      "type": "object"
                    },
                    "pricePaid": {
                      "type": "object"
                    },
                    "product_family": {
                      "enum": [
                        "agent_expansion_v3_api"
                      ]
                    },
                    "recommended_next_action": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "risk_flags": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "summary": {
                      "type": "string"
                    },
                    "tool_id": {
                      "enum": [
                        "x402_failure_fact_classifier"
                      ]
                    },
                    "version": {
                      "enum": [
                        "v0.1"
                      ]
                    },
                    "x402_request_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "product_family",
                    "endpoint",
                    "tool_id",
                    "version",
                    "request_id",
                    "x402_request_id",
                    "generated_at",
                    "decision",
                    "confidence",
                    "summary",
                    "risk_flags",
                    "recommended_next_action",
                    "limitations",
                    "metadata",
                    "likely_cause",
                    "evidence"
                  ],
                  "type": "object"
                },
                "type": {
                  "enum": [
                    "json"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "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": {
    "example": {
      "confidence": "high",
      "decision": "string",
      "endpoint": "x402-failure-fact-classifier",
      "evidence": [
        {}
      ],
      "generated_at": "2026-01-01T00:00:00Z",
      "likely_cause": "string",
      "limitations": [
        "string"
      ],
      "metadata": {
        "paymentStatus": "string"
      },
      "pricePaid": {},
      "product_family": "agent_expansion_v3_api",
      "recommended_next_action": "string",
      "request_id": "string",
      "risk_flags": [
        "string"
      ],
      "summary": "string",
      "tool_id": "x402_failure_fact_classifier",
      "version": "v0.1",
      "x402_request_id": "string"
    },
    "type": "json"
  }
}