- Fetch and load snapshot
- Compare supplied text
- Alert or continue
- Save new baseline
Build the workflow
You need a Yes/No API key, available checks and a workflow tool or server that can make HTTPS requests. These fictional examples illustrate a workflow; they have not performed an action.
Create a baseline in your own monitor
Fetch the page on your schedule and extract its readable text. Save the first successful snapshot without making a comparison. The API does not visit the URL and cannot reconstruct a missing previous version.
Skip identical text with ordinary code
Compare hashes locally. If the extracted text is identical, no AI check is needed. If it changed, select the relevant section from both versions and label them PREVIOUS and CURRENT.
Ask about a specific kind of change
The example checks prices, plan limits and billing periods. A footer year alone should be NO. Adapt the question to the changes you actually want alerts about. Keep both versions inside the combined text limit.
Separate success, negative result and error
On true, send an alert containing the original URL and both versions. On false, continue quietly. Save the new baseline only after a successful check; preserve the old one if fetching or checking fails.
Use structured comparisons instead when a page provides a dependable numeric price or a machine-readable feed. This check is useful when you need to judge the meaning of changed wording. Include both versions: sending a URL or only the new text is not enough.
Send the request
POST https://answeryesno.com/v1/check. Authenticate with your bearer key and send a JSON object containing question and text. The curl example is the same request your HTTP step sends.
JSON body
{
"question": "Did the price, plan limit or billing period change from PREVIOUS to CURRENT?",
"text": "PREVIOUS: Starter costs $19/month and includes 3 projects.\nCURRENT: Starter costs $29/month and includes 3 projects."
}curl request
curl 'https://answeryesno.com/v1/check' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: example-monitoring-001-v1' \
--data '{"question":"Did the price, plan limit or billing period change from PREVIOUS to CURRENT?","text":"PREVIOUS: Starter costs $19/month and includes 3 projects.\nCURRENT: Starter costs $29/month and includes 3 projects."}'Run this only after replacing YOUR_API_KEY. A successful live request uses one check. Do not put keys into browser scripts, shared exports or screenshots.
Handle YES and NO
A successful check returns exactly one boolean field. These are illustrative expected outcomes, not a live benchmark or an accuracy guarantee.
YES {"result": true}
PREVIOUS: Starter costs $19/month and includes 3 projects.
CURRENT: Starter costs $29/month and includes 3 projects.
Send an alert with the page link and both versions, then save the new snapshot.
NO {"result": false}
PREVIOUS: Starter costs $19/month, 3 projects. Footer 2025.
CURRENT: Starter costs $19/month, 3 projects. Footer 2026.
Save the new snapshot and continue without a change alert.
NO means the supplied text does not establish the question. It can include missing evidence. It does not mean that the request failed, and it is not a reason to discard the original record automatically.
Test before connecting actions
Build a small set of examples from your own workflow. Include both answers, missing information and confusingly similar messages:
- A price increase with the same plan name.
- A changed project allowance or billing period.
- A footer-year update with identical prices and limits.
- A failed fetch or incomplete page: handle it before calling the API, not as NO.
Review incorrect results and change your criteria where needed. AI answers can be wrong; keep a person in control of consequential decisions.
Keep errors separate from NO
Only branch after an HTTP 200 response whose result is a boolean. A failed request does not return a decision and does not consume a check. Your workflow should stop, retry or request review.
| Status | Your workflow’s next step |
|---|---|
| 400 | Fix missing or oversized question/text. Do not retry unchanged invalid input. |
| 401 | Replace an invalid or revoked API key in your credentials. |
| 402 | Check your balance or payment adjustment in your account. |
| 409 | If the check is pending, retry later with the same ID. If the ID was reused for different input, use a new ID. |
| 429 | Wait as instructed by Retry-After, then retry with the same ID. |
| 503 / timeout | Keep the item for a later retry. A network timeout does not prove the server failed to complete the check. |
Reuse the same Idempotency-Key for the same question and text for up to seven days. A completed replay does not spend a second check. Changing the input requires a new ID. Make downstream actions idempotent too: deduplicate a CRM update or alert using the original source-event ID.
Limits, credits and privacy
API text is limited to 6,000 UTF-8 bytes; the question to 300 UTF-8 bytes. Bytes are not characters: accented text and emoji can use more than one byte. The combined previous/current text in a monitoring request shares the one text limit. Shorten or extract relevant content before sending it.
Each completed new decision uses one check. The account trial is 25 checks once, then the current rate is $1 per 200 checks, with a $5 minimum top-up for 1,000 checks. USD, tax included, no subscription. Your automation provider’s fees are separate.
Your check text is not sent to OpenAI, Anthropic or Google. The application keeps hashes, results and usage records for retries and accounting rather than storing raw question/text. Read the privacy and retention details. Keep unnecessary personal data out of inputs.
Choose your next step
Use the API reference for the request contract or download the OpenAPI definition. Start with a few representative examples before connecting production actions.
Step-by-step guides
Start with your automation tool, or build one of these decision steps.
Questions about this guide? Contact support.