# UK Tender Search & Matching — TenderQualify AI (`tenderqualifyai/tenderqualify-ai`) Actor

Search UK public tender notices from Find a Tender using supplier services, exact phrases, aliases and CPV hints. Export source-linked preliminary matches and evidence briefs for human review. Not an eligibility assessment or open-bid confirmation.

- **URL**: https://apify.com/tenderqualifyai/tenderqualify-ai.md
- **Developed by:** [Joshua Mariano](https://apify.com/tenderqualifyai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1,990.00 / 1,000 preliminary evidence briefs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## TenderQualify AI — UK Tender Evidence Research

Read-only official UK tender data, conservative matching, preliminary commercial summaries and optional, user-authorized document keyword screening. **This is not an AI language model or a procurement eligibility assessment.**

**Best for:** suppliers or bid researchers who want a small, traceable starting list of UK procurement notices to check manually. Submit your own service keywords and aliases; the Actor does not know your accreditations, financial standing, or ability to tender.

### What it does

Provide a real supplier profile (capabilities, declared aliases, and optionally CPV hints) and a narrow UTC window. The Actor reads official UK Find a Tender OCDS release data, checks selected process records, and creates a **preliminary, source-attributed shortlist for human review**. It does not apply for bids, make legal decisions or perform semantic AI matching.

Example input:

```json
{
  "profile": {
    "name": "Example supplier (fictional)",
    "capabilities": ["managed network services"],
    "capabilityRules": [
      {"name": "managed network services", "aliases": ["network management services"], "cpvCodes": ["72400000"]}
    ],
    "exclude": ["military weapons"]
  },
  "triageMode": "targeted",
  "pageSize": 10,
  "maxPages": 1,
  "maxRecords": 2,
  "maxReleases": 10,
  "maxResults": 10
}
```

### Evidence-first triage

- `triageMode: "targeted"` (recommended, default shown in the input form): only spend detailed record API calls on notices in the bounded sample that have **supplier-declared exact phrases/aliases or an exact CPV hint**. Text evidence is ranked ahead of CPV-only hints.
- `triageMode: "legacy"`: retain the previous record selection. **Existing JSON that does not supply `triageMode` also remains legacy**, for backward compatibility.
- A zero-evidence notice receives `NO_PROFILE_EVIDENCE`, a **low-priority evidence-coverage label**, never a categorical assertion that the opportunity is unrelated. Other lifecycle warnings remain in place.
- Each result includes `recordCheckStatus` and `profileEvidence`; the summary differentiates no-evidence cases, API failures and record lookup limits.
- `targeted` is local pre-triage of notices already returned by the official OCDS release API. It is not official keyword search, semantic matching or a guarantee to discover opportunities.

### Outputs after each run

- `Output` dataset: selected, bounded notice rows, with `noticeUrlProvenance` (URLs are not independently checked by HTTP).
- `Storage > OUTPUT`: original JSON report.
- `Storage > COMMERCIAL_SUMMARY.md`: English-language **shortlist table**: official-format notice link, title, buyer, value, captured deadline and declared matching evidence. Includes coverage limitations and cautions.
- `Storage > BRIEFS`: up to 3 evidence-oriented preliminary briefs for candidate matches.
- `Storage > BRIEFS.md`: Markdown commercial briefs for those candidates, including missing verification and next steps.
- `Storage > SELECTED_BRIEF` and `SELECTED_BRIEF.md` **only when** `targetOcid` matches one of the output rows. No selected brief is fabricated for an OCID outside the sample.

If `targeted` produces zero detailed lookups, inspect the warnings: this can be the **correct** outcome when the bounded recent sample has no explicit profile evidence. Expand page/release budgets cautiously if more coverage is required, and keep run cost limits in place.

### Pricing and billing

The Actor is configured for **USD $1.99 per delivered preliminary evidence brief** (`preliminary-evidence-brief`). The custom charge event is emitted **only after** the output artifacts have been saved, and only for a source-reconciled `PRELIMINARY_TEXT_MATCH` brief. **No qualifying brief means zero custom report charges**; there is no separate start fee or per-dataset-item fee and no platform-usage pass-through to the customer under the configured pricing model.

At most three briefs can be charged per run (up to **$5.97** in custom charges when the customer explicitly chooses a sufficient spending cap). The default cap is **$1.99**, so the Actor limits saved payable commercial briefs to at most one under that cap, before attempting any charge. The `Output` dataset can still contain additional uncharged notice rows. A qualifying brief is saved before the payment event is requested, so a declined or ambiguous charge may leave an artifact without a confirmed payment. Consult `PPE_BILLING_LEDGER` to determine what was actually recorded; an unknown charge outcome is never automatically retried. Apify enforces the per-run spending cap; availability and promotional credits depend on the customer's Apify account. Accessing stored results after the run may have normal Apify storage-usage costs separate from the Actor's custom report charges.

Version 0.12 refuses to execute a paid run if effective SDK pricing reports a different event set, price, or pricing model. An `ATTEMPTED` ledger is saved before each charge and never automatically retried after an unknown outcome; a human can reconcile any ambiguous charge. PPE billing is separate from eligibility: **a brief is only a preliminary evidence artifact, not proof an opportunity is open or that a supplier qualifies**.

### Optional documents

- `targetOcid`: an OCID in **this run's output**.
- `documentText`: up to 12,000 characters pasted by an authorized user; **or** `documentUpload`: `{ "name": "document.pdf", "base64": "..." }` up to 1 MiB decoded. One document per run, PDF (text layer only), DOCX, or UTF-8 TXT. Never upload credentials or confidential files to the Actor.
- `portalStatus`: optional manually-observed status; `PUBLIC_LISTING_NO_ATTACHMENTS_SEEN` **does not mean** attachments are authenticated-only.
- `portalUrl`: optional exact Proactis login URL from the notice; never downloaded or visited.

For binary files on Windows, use the local `make_document_input_v09.py` helper (see `DEPLOY_WINDOWS.md`). It creates JSON with base64, suitable for manual JSON-mode input. **The entire original document is embedded in the Actor input and therefore retained in the Apify run storage.** The Actor does not write raw PDF/DOCX contents to output records; it stores SHA-256 and limited text excerpts as evidence. Do not submit personal, confidential, proprietary or access-controlled documents unless you have authorization and understand the applicable storage settings.

### Data handling and retention

- The supplier profile, search window, optional pasted text and any base64-encoded uploaded document are part of the **run input** stored by Apify. Results, brief excerpts, source links and billing metadata are stored in that run's dataset or key-value store.
- The Actor requests official UK procurement notice data for the supplied date range. Its design does **not** send supplier-uploaded documents to the UK notices API or to a generative AI provider, and it does not log in to private tender portals.
- Storage access, sharing and retention are controlled by the Apify platform and the account running the Actor. Apify documents a default expiry of **7 days for unnamed key-value stores**, unless configured otherwise; named stores may persist. This is a platform default, **not** a guaranteed deletion deadline for every run, export or user-created copy. Inspect your own storage settings and delete sensitive runs when no longer needed.
- Never include passwords, tokens, financial identity documents or confidential bid materials in `profile`, `documentText`, or `documentUpload`. Source-attributed results may include limited quotations and identifiers from notices.

### Support and responsible use

For product questions, incorrect output, billing concerns, or privacy requests, contact **joshuamariano594@gmail.com**. You can also open an **Issue** on the TenderQualify AI Actor page in Apify. Include the run ID and the notice ID or OCID if relevant, but **never post private input documents, access tokens, personal data or confidential supplier details in a public issue**. For Apify account-level charges and invoices, use Apify's billing and support channels. The Actor's preliminary results require a human to confirm the latest official notice and tender documents before taking action.

### How to interpret the outputs

- A `POTENTIAL_MATCH` is a lead with preliminary textual evidence, **not** a qualified or confirmed-open bid.
- A matching score (even 100/100) expresses phrase/alias/CPV coverage, **not** a predicted award likelihood or supplier compatibility.
- A count of zero `manualReview` is **not** approval by a human. Every shortlisted notice still requires review of the latest official notice, full documents and supplier credentials.
- Small windows and budgets are samples. `NO_PROFILE_EVIDENCE` does not prove a notice is irrelevant.
- The official-format links are syntax-validated, not independently fetched. The current record may have changed since capture.

**Product boundaries:** no automatic document downloads, private-account logins, OCR, generative AI, or bidding. Every result requires human review. Supplier profile data and any optional document input are processed in Apify run storage; avoid submitting credentials or confidential material. The operator remains responsible for reviewing storage retention and privacy terms.

Source attribution: Contains public sector information licensed under the Open Government Licence v3.0. Official API: https://www.find-tender.service.gov.uk/Developer/Documentation.

# Actor input Schema

## `profile` (type: `object`):

Supplier-declared service capabilities. Optional capabilityRules specify explicit aliases and exact CPV codes. Codes only provide hints, not eligibility.

## `triageMode` (type: `string`):

Targeted (recommended) checks detailed process records only when a sampled notice has a declared phrase/alias or CPV hint. Missing evidence never proves irrelevance. Legacy preserves v0.9 behavior; older JSON inputs without this field remain legacy.

## `updatedFrom` (type: `string`):

Optional ISO 8601 timestamp with timezone, for example 2026-11-10T00:00:00Z

## `updatedTo` (type: `string`):

Optional ISO 8601 timestamp with timezone

## `pageSize` (type: `integer`):

Maximum number of notices requested per API page during this run (1–100).

## `maxPages` (type: `integer`):

Maximum number of pages collected from the official notices feed (1–3).

## `maxRecords` (type: `integer`):

Maximum number of procurement records checked in detail (1–50).

## `maxResults` (type: `integer`):

Maximum number of result rows returned in the dataset (1–50).

## `maxReleases` (type: `integer`):

Maximum number of collected notices retained for analysis (1–500).

## `targetOcid` (type: `string`):

Only if you want a detailed brief for one OCID in this run. Must begin ocds-h6vhtk-.

## `documentText` (type: `string`):

Optional, UTF-8 pasted text for the selected OCID. Not authenticated; do not paste confidential data. Max 12000 characters.

## `documentUpload` (type: `object`):

Advanced: {"name":"file.pdf","base64":"..."}. At most one 1 MiB document. No remote URLs, credentials or automatic downloads. Requires targetOcid. Input persists in your Apify run storage.

## `portalStatus` (type: `string`):

Manual observation, not evidence that an attachment requires login.

## `portalUrl` (type: `string`):

Only the exact supplierlive.proactisp2p.com/Account/Login page is allowed. Never fetched.

## Actor input object example

```json
{
  "profile": {
    "name": "FICTIONAL supplier — managed networks",
    "capabilities": [
      "managed network services"
    ],
    "capabilityRules": [
      {
        "name": "managed network services",
        "aliases": [
          "network management services"
        ],
        "cpvCodes": [
          "72400000"
        ]
      }
    ],
    "exclude": [
      "military weapons"
    ]
  },
  "triageMode": "targeted",
  "pageSize": 10,
  "maxPages": 1,
  "maxRecords": 2,
  "maxResults": 10,
  "maxReleases": 10,
  "portalStatus": "NOT_CHECKED"
}
```

# Actor output Schema

## `shortlist` (type: `string`):

Bounded sample of tender notices and evidence status, not a definitive list of eligible or currently open bids.

## `commercialSummary` (type: `string`):

Readable shortlist with source attribution, captured deadlines and limitations.

## `briefs` (type: `string`):

Up to three preliminary text-evidence briefs; empty when no supported match is found.

## `sourceReport` (type: `string`):

Structured provenance, coverage, warnings and matching evidence for human audit.

## `structuredBriefs` (type: `string`):

Machine-readable counterpart to the preliminary evidence briefs.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "profile": {
        "name": "FICTIONAL supplier — managed networks",
        "capabilities": [
            "managed network services"
        ],
        "capabilityRules": [
            {
                "name": "managed network services",
                "aliases": [
                    "network management services"
                ],
                "cpvCodes": [
                    "72400000"
                ]
            }
        ],
        "exclude": [
            "military weapons"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenderqualifyai/tenderqualify-ai").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "profile": {
        "name": "FICTIONAL supplier — managed networks",
        "capabilities": ["managed network services"],
        "capabilityRules": [{
                "name": "managed network services",
                "aliases": ["network management services"],
                "cpvCodes": ["72400000"],
            }],
        "exclude": ["military weapons"],
    } }

# Run the Actor and wait for it to finish
run = client.actor("tenderqualifyai/tenderqualify-ai").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "profile": {
    "name": "FICTIONAL supplier — managed networks",
    "capabilities": [
      "managed network services"
    ],
    "capabilityRules": [
      {
        "name": "managed network services",
        "aliases": [
          "network management services"
        ],
        "cpvCodes": [
          "72400000"
        ]
      }
    ],
    "exclude": [
      "military weapons"
    ]
  }
}' |
apify call tenderqualifyai/tenderqualify-ai --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tenderqualifyai/tenderqualify-ai"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iDn5Q9u5OZeOgb3HA/builds/2vJsQr12eabTJUmEe/openapi.json
