YES/NOKeep it simple, stupid.

Build a tender relevance check

Ask whether a tender summary describes the work and location your business serves. Your software collects the opportunities and builds the shortlist. Yes/No supplies a relevance decision about the text you send.

Maintained by Yes/No · Updated

Your software runs the workflow
  1. Your feed or email
  2. Check tender text
  3. Shortlist or continue
  4. Human bid review

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.

  1. Collect and extract the tender text

    Use a feed, email or data source you can access in your own software. Extract the scope and location from the document. Keep the tender ID, deadline and source link beside it in your workflow. The API does not search procurement portals or download documents.

  2. Name your service and region

    Put explicit criteria in the question. This example asks for commercial cleaning services in Manchester. Do not expect the check to know your business profile, accreditations or service area unless you include the relevant criteria.

  3. Check each new opportunity

    Send the summary with the question below. Use the tender version and criteria version in a stable request ID, so retries do not spend a second credit. Use ordinary rules for exact deadlines and numeric contract values.

  4. Build a reviewable shortlist

    On true, save the original source link and your criteria version for a person to inspect. On false, mark it checked. On an API error, retain it for retry; do not silently drop it as irrelevant.

A relevant summary is only a shortlist signal. Read the full tender and verify eligibility, deadlines and requirements before deciding to bid. If the full scope exceeds the input limit, extract the relevant sections without silently cutting off the location or required work.

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": "Does this tender request commercial cleaning services in Manchester?",
  "text": "Tender: weekday cleaning of commercial offices in Manchester, including washrooms and waste collection."
}

curl request

curl 'https://answeryesno.com/v1/check' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: example-tender-001-v1' \
  --data '{"question":"Does this tender request commercial cleaning services in Manchester?","text":"Tender: weekday cleaning of commercial offices in Manchester, including washrooms and waste collection."}'

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}

Tender: weekday cleaning of commercial offices in Manchester, including washrooms and waste collection.

Add the tender ID and original source link to a shortlist for a person to review.

NO {"result": false}

Tender: supply and delivery of office furniture to a Bristol business park.

Mark the summary checked and continue to the next opportunity.

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:

  • Your service in your region.
  • The same service outside your region.
  • A different service in the same city.
  • A summary that does not establish a location or the requested service.

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.

Common API errors and recovery
StatusYour workflow’s next step
400Fix missing or oversized question/text. Do not retry unchanged invalid input.
401Replace an invalid or revoked API key in your credentials.
402Check your balance or payment adjustment in your account.
409If the check is pending, retry later with the same ID. If the ID was reused for different input, use a new ID.
429Wait as instructed by Retry-After, then retry with the same ID.
503 / timeoutKeep 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.