OP
Utilities · x402 · early usage

See which operations were added, removed, deprecated or renamed between two OpenAPI doc…

See which operations were added, removed, deprecated or renamed between two OpenAPI documents. Flags a removal that was never preceded by a deprecation, an operationId change that renames the method in every generated client, and a duplicated operationId that…

by api.zfinia.com · discovered, not yet claimed by its owner · updated 2026-10-04

30d calls1
30d payers1
MethodPOST
Outputjson

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

See which operations were added, removed, deprecated or renamed between two OpenAPI documents. Flags a removal that was never preceded by a deprecation, an operationId change that renames the method in every generated client, and a duplicated operationId that no generator can resolve.

Tags: openapi · api inventory · deprecation · change detection · developer tooling · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-04
Input example from Bazaar metadata
{
  "after": {
    "components": {
      "schemas": {
        "Order": {
          "properties": {
            "id": {
              "type": "string"
            },
            "status": {
              "enum": [
                "open",
                "shipped",
                "disputed"
              ],
              "type": "string"
            },
            "tenant_id": {
              "type": "string"
            },
            "total": {
              "type": "number"
            }
          },
          "required": [
            "id",
            "total",
            "tenant_id"
          ],
          "type": "object"
        }
      },
      "securitySchemes": {
        "apiKey": {
          "in": "query",
          "name": "api_key",
          "type": "apiKey"
        }
      }
    },
    "info": {
      "title": "Orders API",
      "version": "2.0.0"
    },
    "openapi": "3.1.0",
    "paths": {
      "/orders": {
        "get": {
          "operationId": "listOrdersV2",
          "parameters": [
            {
              "in": "query",
              "name": "tenant",
              "required": true,
              "schema": {
                "type": "string"
              }
            }
          ],
          "responses": {
            "200": {
              "content": {
                "application/json": {
                  "schema": {
                    "items": {
                      "$ref": "#/components/schemas/Order"
                    },
                    "type": "array"
                  }
                }
              },
              "description": "A page of orders"
            }
          },
          "summary": "List orders"
        },
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "post": {
          "operationId": "createOrder",
          "requestBody": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            },
            "required": true
          },
          "responses": {
            "201": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "description": "Created"
            }
          },
          "summary": "Create an order"
        }
      },
      "/orders/{id}": {
        "get": {
          "deprecated": true,
          "operationId": "getOrder",
          "parameters": [
            {
              "in": "path",
              "name": "id",
              "schema": {
                "type": "string"
              }
            }
          ],
          "responses": {
            "200": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "description": "The order"
            },
            "404": {
              "description": "Not found"
            }
          },
          "summary": "Fetch one order"
        }
      }
    },
    "security": [
      {
        "apiKey": []
      }
    ]
  },
  "before": {
    "components": {
      "schemas": {
        "Order": {
          "properties": {
            "id": {
              "type": "string"
            },
            "legacy_ref": {
              "type": "string"
            },
            "status": {
              "enum": [
                "open",
                "shipped"
              ],
              "type": "string"
            },
            "total": {
              "type": "number"
            }
          },
          "required": [
            "id",
            "total"
          ],
          "type": "object"
        }
      },
      "securitySchemes": {
        "apiKey": {
          "in": "header",
          "name": "X-Api-Key",
          "type": "apiKey"
        }
      }
    },
    "info": {
      "title": "Orders API",
      "version": "1.4.0"
    },
    "openapi": "3.1.0",
    "paths": {
      "/legacy/export": {
        "get": {
          "operationId": "legacyExport",
          "responses": {
            "200": {
              "description": "A CSV export"
            }
          },
          "summary": "Legacy export"
        }
      },
      "/orders": {
        "get": {
          "operationId": "listOrders",
          "responses": {
            "200": {
              "content": {
                "application/json": {
                  "schema": {
                    "items": {
                      "$ref": "#/components/schemas/Order"
                    },
                    "type": "array"
                  }
                }
              },
              "description": "A page of orders"
            },
            "429": {
              "description": "Rate limited"
            }
          },
          "summary": "List orders"
        },
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "post": {
          "operationId": "createOrder",
          "requestBody": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "responses": {
            "201": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "description": "Created"
            }
          },
          "summary": "Create an order"
        }
      },
      "/orders/{id}": {
        "get": {
          "operationId": "getOrder",
          "parameters": [
            {
              "in": "path",
              "name": "id",
              "schema": {
                "type": "string"
              }
            }
          ],
          "responses": {
            "200": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "description": "The order"
            },
            "404": {
              "description": "Not found"
            }
          },
          "summary": "Fetch one order"
        }
      }
    },
    "security": [
      {
        "apiKey": []
      }
    ]
  }
}
Output example
{
  "added": [],
  "added_count": 0,
  "after_operation_count": 3,
  "assumptions": [
    "An operation is identified by method and path template, so moving an operation to a new path reads as a removal and an addition, which is what it is for a caller.",
    "operationId is treated as part of the contract because client generators name methods from it."
  ],
  "before_operation_count": 4,
  "complete": true,
  "deprecated": [
    "GET /orders/{id}"
  ],
  "finding_count": 3,
  "findings": [
    {
      "code": "OPERATION_ID_CHANGED",
      "detail": "GET /orders: operationId changed from listOrders to listOrdersV2, which renames the method in a generated client.",
      "operation": "GET /orders"
    },
    {
      "code": "OPERATION_DEPRECATED",
      "detail": "GET /orders/{id} is now deprecated.",
      "operation": "GET /orders/{id}"
    },
    {
      "code": "OPERATION_REMOVED_WITHOUT_DEPRECATION",
      "detail": "GET /legacy/export was removed and had never been marked deprecated.",
      "operation": "GET /legacy/export"
    }
  ],
  "findings_by_code": {
    "OPERATION_DEPRECATED": 1,
    "OPERATION_ID_CHANGED": 1,
    "OPERATION_REMOVED_WITHOUT_DEPRECATION": 1
  },
  "limitations": [
    "Inventory and lifecycle only. Whether a removed operation had callers is not knowable here, and schema-level compatibility is openapi_breaking_change_audit.",
    "unchanged is true only when both documents were read in full and nothing was added, removed, deprecated or renamed."
  ],
  "limits": {
    "maxClientOperations": 200,
    "maxFindings": 500,
    "maxOperations": 500,
    "maxRequestBodyBytes": 262144
  },
  "not_examined": [],
  "observed_at": "2026-10-02T00:00:00.000Z",
  "removed": [
    {
      "operation": "GET /legacy/export",
      "operation_id": "legacyExport",
      "tags": [],
      "was_deprecated": false
    }
  ],
  "removed_count": 1,
  "renamed_operation_ids": [
    {
      "after": "listOrdersV2",
      "before": "listOrders",
      "operation": "GET /orders"
    }
  ],
  "request_id": "example-request",
  "retagged": [],
  "service_id": "openapi_endpoint_inventory_diff",
  "service_version": "1.0.0",
  "unchanged": false,
  "undeprecated": []
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/34030.json for the price and payment options.
  3. Pay. Call GET https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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.1 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
1 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.10x25e8245f07d5e4873987293dad666afbe56a960860s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "100000",
    "amountUsd": 0.1,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl -X POST 'https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff' -H 'Content-Type: application/json' --data '{"after":{"components":{"schemas":{"Order":{"properties":{"id":{"type":"string"},"status":{"enum":["open","shipped","disputed"],"type":"string"},"tenant_id":{"type":"string"},"total":{"type":"number"}},"required":["id","total","tenant_id"],"type":"object"}},"securitySchemes":{"apiKey":{"in":"query","name":"api_key","type":"apiKey"}}},"info":{"title":"Orders API","version":"2.0.0"},"openapi":"3.1.0","paths":{"/orders":{"get":{"operationId":"listOrdersV2","parameters":[{"in":"query","name":"tenant","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Order"},"type":"array"}}},"description":"A page of orders"}},"summary":"List orders"},"parameters":[{"in":"query","name":"page","schema":{"minimum":1,"type":"integer"}}],"post":{"operationId":"createOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"Created"}},"summary":"Create an order"}},"/orders/{id}":{"get":{"deprecated":true,"operationId":"getOrder","parameters":[{"in":"path","name":"id","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"The order"},"404":{"description":"Not found"}},"summary":"Fetch one order"}}},"security":[{"apiKey":[]}]},"before":{"components":{"schemas":{"Order":{"properties":{"id":{"type":"string"},"legacy_ref":{"type":"string"},"status":{"enum":["open","shipped"],"type":"string"},"total":{"type":"number"}},"required":["id","total"],"type":"object"}},"securitySchemes":{"apiKey":{"in":"header","name":"X-Api-Key","type":"apiKey"}}},"info":{"title":"Orders API","version":"1.4.0"},"openapi":"3.1.0","paths":{"/legacy/export":{"get":{"operationId":"legacyExport","responses":{"200":{"description":"A CSV export"}},"summary":"Legacy export"}},"/orders":{"get":{"operationId":"listOrders","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Order"},"type":"array"}}},"description":"A page of orders"},"429":{"description":"Rate limited"}},"summary":"List orders"},"parameters":[{"in":"query","name":"page","schema":{"minimum":1,"type":"integer"}}],"post":{"operationId":"createOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"Created"}},"summary":"Create an order"}},"/orders/{id}":{"get":{"operationId":"getOrder","parameters":[{"in":"path","name":"id","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"The order"},"404":{"description":"Not found"}},"summary":"Fetch one order"}}},"security":[{"apiKey":[]}]}}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff", {
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\"after\":{\"components\":{\"schemas\":{\"Order\":{\"properties\":{\"id\":{\"type\":\"string\"},\"status\":{\"enum\":[\"open\",\"shipped\",\"disputed\"],\"type\":\"string\"},\"tenant_id\":{\"type\":\"string\"},\"total\":{\"type\":\"number\"}},\"required\":[\"id\",\"total\",\"tenant_id\"],\"type\":\"object\"}},\"securitySchemes\":{\"apiKey\":{\"in\":\"query\",\"name\":\"api_key\",\"type\":\"apiKey\"}}},\"info\":{\"title\":\"Orders API\",\"version\":\"2.0.0\"},\"openapi\":\"3.1.0\",\"paths\":{\"/orders\":{\"get\":{\"operationId\":\"listOrdersV2\",\"parameters\":[{\"in\":\"query\",\"name\":\"tenant\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"items\":{\"$ref\":\"#/components/schemas/Order\"},\"type\":\"array\"}}},\"description\":\"A page of orders\"}},\"summary\":\"List orders\"},\"parameters\":[{\"in\":\"query\",\"name\":\"page\",\"schema\":{\"minimum\":1,\"type\":\"integer\"}}],\"post\":{\"operationId\":\"createOrder\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"required\":true},\"responses\":{\"201\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"description\":\"Created\"}},\"summary\":\"Create an order\"}},\"/orders/{id}\":{\"get\":{\"deprecated\":true,\"operationId\":\"getOrder\",\"parameters\":[{\"in\":\"path\",\"name\":\"id\",\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"description\":\"The order\"},\"404\":{\"description\":\"Not found\"}},\"summary\":\"Fetch one order\"}}},\"security\":[{\"apiKey\":[]}]},\"before\":{\"components\":{\"schemas\":{\"Order\":{\"properties\":{\"id\":{\"type\":\"string\"},\"legacy_ref\":{\"type\":\"string\"},\"status\":{\"enum\":[\"open\",\"shipped\"],\"type\":\"string\"},\"total\":{\"type\":\"number\"}},\"required\":[\"id\",\"total\"],\"type\":\"object\"}},\"securitySchemes\":{\"apiKey\":{\"in\":\"header\",\"name\":\"X-Api-Key\",\"type\":\"apiKey\"}}},\"info\":{\"title\":\"Orders API\",\"version\":\"1.4.0\"},\"openapi\":\"3.1.0\",\"paths\":{\"/legacy/export\":{\"get\":{\"operationId\":\"legacyExport\",\"responses\":{\"200\":{\"description\":\"A CSV export\"}},\"summary\":\"Legacy export\"}},\"/orders\":{\"get\":{\"operationId\":\"listOrders\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"items\":{\"$ref\":\"#/components/schemas/Order\"},\"type\":\"array\"}}},\"description\":\"A page of orders\"},\"429\":{\"description\":\"Rate limited\"}},\"summary\":\"List orders\"},\"parameters\":[{\"in\":\"query\",\"name\":\"page\",\"schema\":{\"minimum\":1,\"type\":\"integer\"}}],\"post\":{\"operationId\":\"createOrder\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}}},\"responses\":{\"201\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"description\":\"Created\"}},\"summary\":\"Create an order\"}},\"/orders/{id}\":{\"get\":{\"operationId\":\"getOrder\",\"parameters\":[{\"in\":\"path\",\"name\":\"id\",\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"description\":\"The order\"},\"404\":{\"description\":\"Not found\"}},\"summary\":\"Fetch one order\"}}},\"security\":[{\"apiKey\":[]}]}}"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
import json
res = httpx.request("POST", "https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff", json=json.loads("{\"after\":{\"components\":{\"schemas\":{\"Order\":{\"properties\":{\"id\":{\"type\":\"string\"},\"status\":{\"enum\":[\"open\",\"shipped\",\"disputed\"],\"type\":\"string\"},\"tenant_id\":{\"type\":\"string\"},\"total\":{\"type\":\"number\"}},\"required\":[\"id\",\"total\",\"tenant_id\"],\"type\":\"object\"}},\"securitySchemes\":{\"apiKey\":{\"in\":\"query\",\"name\":\"api_key\",\"type\":\"apiKey\"}}},\"info\":{\"title\":\"Orders API\",\"version\":\"2.0.0\"},\"openapi\":\"3.1.0\",\"paths\":{\"/orders\":{\"get\":{\"operationId\":\"listOrdersV2\",\"parameters\":[{\"in\":\"query\",\"name\":\"tenant\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"items\":{\"$ref\":\"#/components/schemas/Order\"},\"type\":\"array\"}}},\"description\":\"A page of orders\"}},\"summary\":\"List orders\"},\"parameters\":[{\"in\":\"query\",\"name\":\"page\",\"schema\":{\"minimum\":1,\"type\":\"integer\"}}],\"post\":{\"operationId\":\"createOrder\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"required\":true},\"responses\":{\"201\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"description\":\"Created\"}},\"summary\":\"Create an order\"}},\"/orders/{id}\":{\"get\":{\"deprecated\":true,\"operationId\":\"getOrder\",\"parameters\":[{\"in\":\"path\",\"name\":\"id\",\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"description\":\"The order\"},\"404\":{\"description\":\"Not found\"}},\"summary\":\"Fetch one order\"}}},\"security\":[{\"apiKey\":[]}]},\"before\":{\"components\":{\"schemas\":{\"Order\":{\"properties\":{\"id\":{\"type\":\"string\"},\"legacy_ref\":{\"type\":\"string\"},\"status\":{\"enum\":[\"open\",\"shipped\"],\"type\":\"string\"},\"total\":{\"type\":\"number\"}},\"required\":[\"id\",\"total\"],\"type\":\"object\"}},\"securitySchemes\":{\"apiKey\":{\"in\":\"header\",\"name\":\"X-Api-Key\",\"type\":\"apiKey\"}}},\"info\":{\"title\":\"Orders API\",\"version\":\"1.4.0\"},\"openapi\":\"3.1.0\",\"paths\":{\"/legacy/export\":{\"get\":{\"operationId\":\"legacyExport\",\"responses\":{\"200\":{\"description\":\"A CSV export\"}},\"summary\":\"Legacy export\"}},\"/orders\":{\"get\":{\"operationId\":\"listOrders\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"items\":{\"$ref\":\"#/components/schemas/Order\"},\"type\":\"array\"}}},\"description\":\"A page of orders\"},\"429\":{\"description\":\"Rate limited\"}},\"summary\":\"List orders\"},\"parameters\":[{\"in\":\"query\",\"name\":\"page\",\"schema\":{\"minimum\":1,\"type\":\"integer\"}}],\"post\":{\"operationId\":\"createOrder\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}}},\"responses\":{\"201\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"description\":\"Created\"}},\"summary\":\"Create an order\"}},\"/orders/{id}\":{\"get\":{\"operationId\":\"getOrder\",\"parameters\":[{\"in\":\"path\",\"name\":\"id\",\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/Order\"}}},\"description\":\"The order\"},\"404\":{\"description\":\"Not found\"}},\"summary\":\"Fetch one order\"}}},\"security\":[{\"apiKey\":[]}]}}"))
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.zfinia.com
Endpoint
https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff
Machine-readable
/resources/34030.json