{
  "x402Version": 2,
  "id": 38416,
  "slug": "38416",
  "resource": "https://agent.prh.news/v1/check",
  "description": "Use to detect breaking changes and API drift in a public OpenAPI/Swagger spec (JSON or YAML URL). Compares the spec with the service's last stored snapshot of that URL (first check records the baseline) and returns a deterministic JSON change report plus a Markdown summary. 0.10 USDC per completed analysis.",
  "type": "http",
  "serviceName": "Revenue Agent",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xD6DD152A8A9c8D4A77006373253D5b5bB4022b61",
      "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "changed": {
            "type": "boolean"
          },
          "changes": {
            "items": {
              "properties": {
                "classification": {
                  "enum": [
                    "breaking",
                    "potentiallyBreaking",
                    "nonBreaking",
                    "informational"
                  ],
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "rule": {
                  "type": "string"
                }
              },
              "required": [
                "rule",
                "classification",
                "message"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "firstSeen": {
            "type": "boolean"
          },
          "summary": {
            "properties": {
              "breaking": {
                "type": "integer"
              },
              "informational": {
                "type": "integer"
              },
              "nonBreaking": {
                "type": "integer"
              },
              "potentiallyBreaking": {
                "type": "integer"
              }
            },
            "required": [
              "breaking",
              "potentiallyBreaking",
              "nonBreaking",
              "informational"
            ],
            "type": "object"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url",
          "firstSeen",
          "changed",
          "summary",
          "changes"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "url": "https://petstore3.swagger.io/api/v3/openapi.json"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "changed": true,
            "changes": [
              {
                "classification": "breaking",
                "message": "request field added: body.email",
                "rule": "request.required.added"
              }
            ],
            "firstSeen": false,
            "summary": {
              "breaking": 1,
              "informational": 0,
              "nonBreaking": 0,
              "potentiallyBreaking": 0
            },
            "url": "https://api.example.com/openapi.json"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "url": {
                    "description": "Public OpenAPI/Swagger JSON or YAML URL (http or https, no credentials or query string)",
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "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": {
                "properties": {
                  "changed": {
                    "type": "boolean"
                  },
                  "changes": {
                    "items": {
                      "properties": {
                        "classification": {
                          "enum": [
                            "breaking",
                            "potentiallyBreaking",
                            "nonBreaking",
                            "informational"
                          ],
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "rule": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "rule",
                        "classification",
                        "message"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "firstSeen": {
                    "type": "boolean"
                  },
                  "summary": {
                    "properties": {
                      "breaking": {
                        "type": "integer"
                      },
                      "informational": {
                        "type": "integer"
                      },
                      "nonBreaking": {
                        "type": "integer"
                      },
                      "potentiallyBreaking": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "breaking",
                      "potentiallyBreaking",
                      "nonBreaking",
                      "informational"
                    ],
                    "type": "object"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "firstSeen",
                  "changed",
                  "summary",
                  "changes"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "openapi",
    "api-audit",
    "breaking-changes",
    "api-drift",
    "change-detection",
    "bazaar"
  ],
  "sourceHost": "agent.prh.news",
  "lastUpdated": "2026-09-25T21:37:56.788Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-25T21:37:56.639Z"
  },
  "metadata": {
    "serviceName": "Revenue Agent",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "url": "https://petstore3.swagger.io/api/v3/openapi.json"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "changed": true,
              "changes": [
                {
                  "classification": "breaking",
                  "message": "request field added: body.email",
                  "rule": "request.required.added"
                }
              ],
              "firstSeen": false,
              "summary": {
                "breaking": 1,
                "informational": 0,
                "nonBreaking": 0,
                "potentiallyBreaking": 0
              },
              "url": "https://api.example.com/openapi.json"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "url": {
                      "description": "Public OpenAPI/Swagger JSON or YAML URL (http or https, no credentials or query string)",
                      "type": "string"
                    }
                  },
                  "required": [
                    "url"
                  ],
                  "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": {
                  "properties": {
                    "changed": {
                      "type": "boolean"
                    },
                    "changes": {
                      "items": {
                        "properties": {
                          "classification": {
                            "enum": [
                              "breaking",
                              "potentiallyBreaking",
                              "nonBreaking",
                              "informational"
                            ],
                            "type": "string"
                          },
                          "message": {
                            "type": "string"
                          },
                          "rule": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "rule",
                          "classification",
                          "message"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "firstSeen": {
                      "type": "boolean"
                    },
                    "summary": {
                      "properties": {
                        "breaking": {
                          "type": "integer"
                        },
                        "informational": {
                          "type": "integer"
                        },
                        "nonBreaking": {
                          "type": "integer"
                        },
                        "potentiallyBreaking": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "breaking",
                        "potentiallyBreaking",
                        "nonBreaking",
                        "informational"
                      ],
                      "type": "object"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "firstSeen",
                    "changed",
                    "summary",
                    "changes"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent.prh.news",
    "manifest_name": "agent.prh.news",
    "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": {
      "changed": true,
      "changes": [
        {
          "classification": "breaking",
          "message": "string",
          "rule": "string"
        }
      ],
      "firstSeen": true,
      "summary": {
        "breaking": 0,
        "informational": 0,
        "nonBreaking": 0,
        "potentiallyBreaking": 0
      },
      "url": "string"
    },
    "type": "string"
  }
}