FO
Security · x402 · early usage

Fingerprint the structural machine contract of a public OpenAPI or Swagger specificatio…

Fingerprint the structural machine contract of a public OpenAPI or Swagger specification and compare it with an optional previous SHA-256 fingerprint to detect API contract drift. Paths, operations, parameters, security and component schema structure are trac…

by http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run · discovered, not yet claimed by its owner · updated 2026-10-09

30d calls2
30d payers2
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

Fingerprint the structural machine contract of a public OpenAPI or Swagger specification and compare it with an optional previous SHA-256 fingerprint to detect API contract drift. Paths, operations, parameters, security and component schema structure are tracked while documentation-only text and examples are ignored. No API operation is executed. Base mainnet USDC

Tags: api · openapi · swagger · api-contract · schema-fingerprint · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-09
Input example from Bazaar metadata
{
  "url": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi.json"
}
Output example
{
  "capability": "openapi.schema-state",
  "data": {
    "changed": false,
    "component_schema_count": 0,
    "fingerprint_scope": "machine_contract_structure",
    "new_hash": "0000000000000000000000000000000000000000000000000000000000000000",
    "operation_count": 0,
    "parse_valid": false,
    "previous_hash": "example",
    "scope": "structural_contract_fingerprint_no_operation_execution",
    "url": "example",
    "version": "example"
  },
  "meta": {
    "cache": "miss",
    "checked_at": "2026-01-01T00:00:00.000Z",
    "duration_ms": 0,
    "provider": "openapi-parser"
  },
  "ok": true,
  "version": "1"
}

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/33977.json for the price and payment options.
  3. Pay. Call GET https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/schema-state. 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.002 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
2 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0020xf9c2a7255E7C51D7BF38331DcFC23Ba881cF61Ba120s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xf9c2a7255E7C51D7BF38331DcFC23Ba881cF61Ba",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "amountUsd": 0.002,
    "maxTimeoutSeconds": 120
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "additionalProperties": false,
      "properties": {
        "capability": {
          "const": "openapi.schema-state",
          "description": "Public capability value used to scope this lookup."
        },
        "data": {
          "additionalProperties": false,
          "description": "Public data value used to scope this lookup.",
          "properties": {
            "changed": {
              "description": "Public changed value used to scope this lookup.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "component_schema_count": {
              "description": "Public component schema count value used to scope this lookup.",
              "minimum": 0,
              "type": "integer"
            },
            "fingerprint_scope": {
              "description": "Public fingerprint scope value used to scope this lookup.",
              "enum": [
                "machine_contract_structure",
                "simple_yaml_operation_summary",
                "unavailable"
              ]
            },
            "new_hash": {
              "description": "Public new hash value used to scope this lookup.",
              "pattern": "^[a-fA-F0-9]{64}$",
              "type": [
                "string",
                "null"
              ]
            },
            "operation_count": {
              "description": "Public operation count value used to scope this lookup.",
              "minimum": 0,
              "type": "integer"
            },
            "parse_valid": {
              "description": "Public parse valid value used to scope this lookup.",
              "type": "boolean"
            },
            "previous_hash": {
              "description": "Earlier result hash used to detect a material change.",
              "type": [
                "string",
                "null"
              ]
            },
            "scope": {
              "const": "structural_contract_fingerprint_no_operation_execution",
              "description": "Public scope value used to scope this lookup."
            },
            "url": {
              "description": "Public HTTP(S) URL to inspect, resolve, or compare.",
              "type": "string"
            },
            "version": {
              "description": "Package version whose public metadata should be checked.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "url",
            "parse_valid",
            "version",
            "operation_count",
            "component_schema_count",
            "fingerprint_scope",
            "changed",
            "previous_hash",
            "new_hash",
            "scope"
          ],
          "type": "object"
        },
        "meta": {
          "additionalProperties": false,
          "description": "Public meta value used to scope this lookup.",
          "properties": {
            "cache": {
              "description": "Public cache value used to scope this lookup.",
              "enum": [
                "hit",
                "miss",
                "bypass"
              ]
            },
            "checked_at": {
              "description": "Public checked at value used to scope this lookup.",
              "type": "string"
            },
            "duration_ms": {
              "description": "Public duration ms value used to scope this lookup.",
              "minimum": 0,
              "type": "integer"
            },
            "provider": {
              "description": "Public provider value used to scope this lookup.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "provider",
            "checked_at",
            "cache",
            "duration_ms"
          ],
          "type": "object"
        },
        "ok": {
          "const": true,
          "description": "Public ok value used to scope this lookup."
        },
        "version": {
          "const": "1",
          "description": "Package version whose public metadata should be checked."
        }
      },
      "required": [
        "ok",
        "capability",
        "version",
        "data",
        "meta"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "capability": null,
    "data": {
      "changed": true,
      "component_schema_count": 0,
      "fingerprint_scope": "machine_contract_structure",
      "new_hash": "string",
      "operation_count": 0,
      "parse_valid": true,
      "previous_hash": "string",
      "scope": null,
      "url": "string",
      "version": "string"
    },
    "meta": {
      "cache": "hit",
      "checked_at": "string",
      "duration_ms": 0,
      "provider": "string"
    },
    "ok": null,
    "version": null
  },
  "type": "string"
}

Examples

curl
curl "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/schema-state"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/schema-state");
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
res = httpx.get("https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/schema-state")
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
http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run
Endpoint
https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/schema-state
Machine-readable
/resources/33977.json