# Check a quote on a web page with curl

Last updated: 2026-10-17

Checks that the words you plan to cite are on a web page. Send the URL and the quote; get back `exact`, `fuzzy` or `none`, with offsets and a signed receipt.

- Route: `POST https://vehcdj664efetfrsolne5umanq.srv.us/v1/verify/quote`
- Price: US$0.01 per call (10 sats). Paid in USDC with x402 v2 on Base.
- Free trial: 10 calls per IP address per day, no key. Send the header `Quoteproof-Trial: 1`.
- For 3 or more quotes on one page: `POST https://vehcdj664efetfrsolne5umanq.srv.us/v1/verify/quotes`, US$0.02 for 1 to 20 quotes.

## Free trial

```sh
curl -s -X POST https://vehcdj664efetfrsolne5umanq.srv.us/v1/verify/quote \
  -H 'Content-Type: application/json' \
  -H 'Quoteproof-Trial: 1' \
  -d '{"url": "https://www.iana.org/help/example-domains", "quote": "These domains may be used as illustrative examples in documents"}'
```

## Paid call

A call with no payment gets `402 Payment Required`. The price and the payment terms are in the `PAYMENT-REQUIRED` header, as base64 JSON.

```sh
curl -si -X POST https://vehcdj664efetfrsolne5umanq.srv.us/v1/verify/quote \
  -H 'Content-Type: application/json' \
  -d '{"url": "https://www.iana.org/help/example-domains", "quote": "These domains may be used as illustrative examples in documents"}'
```

curl cannot sign a payment. To pay, send the same request with an x402 v2 client: the Node example (node.mjs) or the MCP config (mcp.md) in this folder.

## Read the answer

- `match`: `exact`, `fuzzy` or `none`, in the order of the request.
- `page.content_kind`: check this first. `none` on a `bot_wall` or `js_shell` page means the page could not be read.
- `receipt`: a signed JWS of what the fetcher saw and when.

A request with a bad URL or an empty quote is refused before payment and not charged.

## Terms

Pay per call, no account. See [Payments](https://vehcdj664efetfrsolne5umanq.srv.us/docs/payments), [Limits](https://vehcdj664efetfrsolne5umanq.srv.us/docs/limits) and the [Terms](https://vehcdj664efetfrsolne5umanq.srv.us/terms).
