{
  "x402Version": 2,
  "id": 7898,
  "slug": "7898",
  "resource": "https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/code-diff-verifier",
  "description": "Review a source-code diff for likely bugs, missing tests, compatibility problems, unsafe migrations, and security-relevant mistakes. Returns structured findings with file/line evidence and confidence.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x94bab5853bff59401b355371f9c4b8ca6d6eca9d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "diff": "diff --git a/app.ts b/app.ts\n+const enabled = true;",
            "focus": [
              "bugs",
              "security"
            ],
            "language": "typescript"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "confidence": 0.96,
            "findings": [],
            "limitation": "Static analysis only.",
            "missingTests": [],
            "positiveNotes": [
              "No obvious regression found."
            ],
            "verdict": "pass"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "context": {
                    "type": "string"
                  },
                  "diff": {
                    "type": "string"
                  },
                  "focus": {
                    "items": {
                      "enum": [
                        "bugs",
                        "security",
                        "compatibility",
                        "tests",
                        "performance",
                        "migration"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "framework": {
                    "type": "string"
                  },
                  "language": {
                    "type": "string"
                  },
                  "testOutput": {
                    "type": "string"
                  }
                },
                "required": [
                  "diff"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "confidence": {
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "findings": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "category": {
                          "type": "string"
                        },
                        "confidence": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "explanation": {
                          "type": "string"
                        },
                        "file": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "line": {
                          "anyOf": [
                            {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "severity": {
                          "enum": [
                            "low",
                            "medium",
                            "high",
                            "critical"
                          ],
                          "type": "string"
                        },
                        "suggestedTest": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "severity",
                        "category",
                        "file",
                        "line",
                        "title",
                        "explanation",
                        "suggestedTest",
                        "confidence"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "limitation": {
                    "type": "string"
                  },
                  "missingTests": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "positiveNotes": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "verdict": {
                    "enum": [
                      "pass",
                      "changes_requested",
                      "needs_review"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "verdict",
                  "confidence",
                  "findings",
                  "missingTests",
                  "positiveNotes",
                  "limitation"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "required": false
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws",
  "lastUpdated": "2026-09-16T18:06:32.328Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-16T18:06:32.172Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws",
    "manifest_name": "i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}