← All Recipes
Bazantic // Recipe
Buy data you can refuse to pay for
buy-data-you-can-refuse-to-pay-for
Buys a priced API response under machine-checkable acceptance terms, then reads back the adjudication so the caller can see exactly why the payment settled or was returned. Payment is escrowed on Hedera instead of going straight to the seller. A pure function checks the response against the terms - status, content type, size, required JSON paths, a JSON Schema, and freshness - and the escrow releases to the seller only if every check passes. If the response is unusable the money comes back automatically, with no dispute process and no human in the loop. The verdict, the terms and the raw response are all published to a public Hedera Consensus Service topic, so any third party can re-run the same adjudicator offline and confirm the result.
Recipe inputs
Complete fields before a run.
URL of the priced resource to buy. The recipe will state acceptance terms for it, pay, and refuse to hand back data that fails those terms.