{"uid":"cap_0Ok2GUHqTYmmdju9d9Gpl","slug":"forest-web-openapi-schema-state-fingerprinter-8cf5a8f7","name":"Forest Web — OpenAPI Schema State Fingerprinter","description":"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","url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/schema-state?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://","maxLength":2048,"minLength":1,"description":"Public HTTP(S) URL to inspect, resolve, or compare."},"previous_hash":{"type":["string","null"],"pattern":"^[a-fA-F0-9]{64}$","description":"Earlier result hash used to detect a material change."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3ElvzouGR0kh_ncdsSu3d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fingerprints the structural contract of a public OpenAPI or Swagger spec and detects API contract drift by comparing against an optional previous SHA-256 hash.","exampleAgentPrompt":"Check the OpenAPI spec at https://api.example.com/openapi.json and tell me if its structural contract has changed since the last fingerprint hash a3f2c1...d9e8b7 — ignore doc text and examples, just the paths, operations, and schemas.","exampleUseCases":[{"title":"Catch breaking API changes before deployment","prompt":"Fingerprint the OpenAPI spec at https://petstore.swagger.io/v2/swagger.json and compare it to my saved hash 4a9b2c1d3e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b — flag any structural drift in paths, parameters, or security."},{"title":"Establish baseline fingerprint for new API","prompt":"Take the Swagger spec at https://api.myservice.com/v1/swagger.yaml and generate a structural fingerprint for it — I want to save the hash so I can detect future contract changes."},{"title":"Automated API governance monitoring","prompt":"Check if the OpenAPI spec at https://partner-api.vendor.com/openapi.json has structurally changed from our last recorded hash 0f1e2d3c4b5a6978d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c — only structural changes matter, not updated descriptions or examples."}],"resultDescription":"Returns a SHA-256 fingerprint hash of the API's structural contract (paths, operations, parameters, security, component schemas), a boolean or status indicating whether a material change was detected compared to the provided previous hash, and a summary of what structural elements were tracked. Documentation text and examples are excluded from the fingerprint.","failureModes":["URL is not a valid or reachable OpenAPI/Swagger specification — returns error indicating spec could not be parsed","previous_hash does not match the 64-character hex format — returns validation error","Spec URL returns non-200 status or is behind authentication — returns fetch error","Malformed or invalid OpenAPI/Swagger document structure — returns parsing error","URL resolves to a non-OpenAPI document — returns schema type mismatch error"],"whenToPreferThis":"Choose this endpoint when you need to detect structural API contract drift in an OpenAPI or Swagger specification without executing any API operations. Ideal for API governance pipelines, CI/CD break-detection, partner API monitoring, or any workflow where you need to know if paths, operations, parameters, security schemes, or component schemas have materially changed. Unlike full API testing tools, this endpoint is read-only, fast, and ignores documentation noise — only structural machine-contract changes trigger a drift signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:40.936Z","isFirstParty":false,"canonicalSlug":"forest-web-openapi-schema-state-fingerprinter-8cf5a8f7"}