api.fresh402.com/v2/openapi-contract-diff
Bounded directional OpenAPI 3.0/3.1 comparison with conservative CI verdicts. Supply contracts:{before,after} as JSON or restricted YAML 1.2 strings without registration, or a watch from unfiltered JSON registration. Watch mode supports previous, baseline and retained hashes. YAML pairs only; no external-reference fetch or live API proof. Unsupported semantics require review. x402 $0.020 USDC on B
POST
https://api.fresh402.com/v2/openapi-contract-diffUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.fresh402.com/v2/openapi-contract-diff", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"compare_to":"previous","watch_id":"w_0123456789abcdef0123456789abcdef"}),
});
console.log(await res.json());Example input
{
"compare_to": "previous",
"watch_id": "w_0123456789abcdef0123456789abcdef"
}More from Fresh402
- api.fresh402.com/v1/checkUse Check for a changed/unchanged signal and optional compact text diff. Exactly one URL or existing watch ID; URL plus rules can create a watch, whereas watch_id reuses saved rules and forbids overrides. Use Smart Diff for structured changes. On-demand only; x402 $0.005 USDC on Base or Solana, including cache hits.0.005
- api.fresh402.com/v2/extractExtract static content and records.0.01
- api.fresh402.com/v2/smart-diffUse Smart Diff for structured document changes and rule-based significance evidence after free registration. Compare against the previous snapshot, fixed baseline or an available same-watch hash. Saved scope is reused; legacy HTML can lack structure. Not an API compatibility proof. x402 $0.015 USDC on Base or Solana.0.02
- api.fresh402.com/v3/contract-watchObserve code, standard proxy slots, common getters, explicitly selected storage/ABI and bounded selected events at one finalized Base address; optionally compare an owned prior snapshot. Selected single-provider evidence only; unknown controls remain unknown. Parameters/recovery: https://fresh402.com/docs/tools#blockchain0.01
- api.fresh402.com/v3/token-factsRead contract-reported token identity, metadata, supply and limited control facts at one pinned finalized Base block. No safety score, honeypot/trading simulation, verified-source claim or inferred absence of privileges. Missing or deceptive getter evidence remains unknown/not_assessed. Parameters/recovery: https://fresh402.com/docs/tools#blockchain0.01
- api.fresh402.com/v3/wallet-watchRead ETH balance snapshots and selected ERC-20-shaped Transfer events for one wallet in a completed bounded finalized page. Save the owned cursor and use a new paid operation for the next page. Not full native/internal/NFT/transaction history; provider-reported logs cannot prove completeness. Parameters/recovery: https://fresh402.com/docs/tools#blockchain0.02
- api.fresh402.com/v4/workflows/api-compatibility-reviewCompare explicit contracts:{before,after} JSON or bounded YAML 1.2 strings for CI without fetching or retaining source state, or seed/review a public JSON OpenAPI 3.0/3.1 URL against saved observations. Returns directional findings and a conservative CI verdict; YAML is supplied-pair only; no external-ref crawling or live API proof.0.01
- api.fresh402.com/v4/workflows/cross-domain-release-evidenceCombine one scoped website, an optional JSON OpenAPI comparison and selected provider-finalized Base evidence. Compare sources with separate timestamps and evidence pointers. The caller label and literal source mention are recorded with an unverified release relationship.0.04
- api.fresh402.com/v4/workflows/onchain-evidence-briefCombine selected code/proxy observations, contract-reported token facts and one wallet's ETH/Transfer evidence at one provider-finalized Base block. State and logs are selected by block hash, with evidence pointers and a canonical header recheck. At most 18 reads. Wallet history and contract safety are outside the evidence scope.0.03
- api.fresh402.com/v4/workflows/website-change-intelligenceOn-demand scoped static HTML/text/JSON: seed or compare owned state. Versioned HTML record context; ambiguous JSON fails and legacy uncertainty requires review. Private portable snapshot: same principal/workflow/scope/environment,30days; server state seven days. No polling, browser rendering or business-impact certification.0.005
