{
  "openapi": "3.0.1",
  "info": {
    "title": "Public Procurement & Tender Award Scraper (UK, EU TED & BOAMP)",
    "description": "Find B2B companies that just won government and public-sector contracts across the UK (Find a Tender / Contracts Finder), France (BOAMP), Germany, Netherlands, Belgium, and Austria (EU TED). Resolves winning vendor domains and extracts verified emails. Pay $0.008 only for verified firstname.lastname",
    "version": "1.0",
    "x-build-id": "EvmiMuU3OBUdhne7A"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aperture~eu-uk-procurement-award-signal-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aperture-eu-uk-procurement-award-signal-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/aperture~eu-uk-procurement-award-signal-scraper/runs": {
      "post": {
        "operationId": "runs-sync-aperture-eu-uk-procurement-award-signal-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/aperture~eu-uk-procurement-award-signal-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-aperture-eu-uk-procurement-award-signal-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "keywords": {
            "title": "Contract Scope / Sector Keywords (Optional)",
            "type": "array",
            "description": "Optional B2B sector or technology keywords to filter awarded contracts (e.g., ['Software', 'Cloud', 'Cyber', 'Consulting']). Leave empty to stream the latest high-value contract awards across all selected countries.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "countries": {
            "title": "Target Procurement Countries (UK, FR, DE, NL, BE, AT)",
            "type": "array",
            "description": "Select one or more ISO target jurisdictions: UK (Find a Tender & Contracts Finder OCDS), FR (BOAMP Open Data v2.1), DE/NL/BE/AT (EU TED Search v3).",
            "items": {
              "type": "string"
            },
            "default": [
              "UK",
              "FR",
              "DE"
            ]
          },
          "minContractValue": {
            "title": "Minimum Contract Award Value (EUR / GBP)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional minimum contract award value threshold (in local notice currency EUR or GBP). Notices with disclosed values below this threshold are skipped at $0.",
            "default": 0
          },
          "postedWithinDays": {
            "title": "Awarded / Published Within Days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Filter contract award notices published within the last N days (e.g., 1, 3, 7, 14, or 30 days).",
            "default": 30
          },
          "maxItems": {
            "title": "Max Contract Award Signals (Max Items)",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of normalized buying-signal records to output (default: 20). Free-tier Apify runs are capped at 25 items per run; paid Apify plans support unlimited runs.",
            "default": 20
          },
          "searchUrls": {
            "title": "Custom Procurement API / Search URLs (Optional)",
            "type": "array",
            "description": "Optional direct UK Find a Tender / Contracts Finder OCDS or France BOAMP API URLs to scrape directly.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "scraperMode": {
            "title": "Scraper & Enrichment Mode (PPE Tier)",
            "enum": [
              "basic",
              "enriched_with_email"
            ],
            "type": "string",
            "description": "Choose 'enriched_with_email' ($0.008 strictly when a verified named contact email is discovered; generic role emails like info@/contact@/tenders@ are included free as 'role_fallback' and billed at $0.002). Choose 'basic' ($0.002/signal) to resolve corporate root domains and contract award metadata without email crawling.",
            "default": "enriched_with_email"
          },
          "strictBuyerMatchOnly": {
            "title": "Strict Buyer Match Only (Verified Corporate Decision-Makers Only)",
            "type": "boolean",
            "description": "When enabled (true), emits ONLY signals where a non-HR department/role decision-maker (role_matched or department_matched) with a verified named email (ok), non-empty verbatim title, and live corporate contact_source_url was discovered on the winning supplier's own website. Filters out recruiter contacts, statutory Impressum legal officers, generic info@ inboxes, and unmatched rows.",
            "default": false
          },
          "icpScoringPreset": {
            "title": "Client ICP Scoring Preset (1-Click Workspace Vertical)",
            "enum": [
              "b2b_saas_cyber_tech",
              "industrial_manufacturing_chem",
              "financial_insurance_professional",
              "public_sector_govtech",
              "biotech_clinical_pharma",
              "custom"
            ],
            "type": "string",
            "description": "Select the target client industry preset to automatically calibrate 0–100 account ICP scoring without hand-writing JSON. Pure account & signal fit (0% contact provenance penalty) so contact_confidence and $0.008/$0.002 PPE billing remain strictly orthogonal.",
            "default": "b2b_saas_cyber_tech"
          },
          "icpTargetSeniority": {
            "title": "Target Role Seniority Priority",
            "enum": [
              "director_vp_first",
              "manager_territory_first",
              "technical_specialist_first"
            ],
            "type": "string",
            "description": "Choose which hiring or signal role seniority tier receives the maximum +25 pt seniority weight for this client workspace.",
            "default": "director_vp_first"
          },
          "icpBoostKeywords": {
            "title": "Client ICP Boost Keywords (+18 pts on match)",
            "type": "array",
            "description": "Type any industry, product, or niche keywords that matter to this client workspace (e.g. 'cybersecurity', 'chemicals', 'industrial insurance'). Matching accounts automatically receive an +18 pt ICP boost.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "icpRecencyPriority": {
            "title": "Signal Recency Weighting",
            "enum": [
              "fresh_first",
              "balanced",
              "evergreen"
            ],
            "type": "string",
            "description": "Control how strongly fresh signals (posted <=3 days ago) are prioritized over older signals in the 0–100 account ICP score.",
            "default": "fresh_first"
          },
          "icpWeights": {
            "title": "Custom Account ICP Weights (Per-Client Workspace Scoring)",
            "type": "object",
            "description": "Optional configurable 0–100 account ICP scoring weights (signalTypes, roleSeniority, geos, industryKeywords regex-to-points map, and recency brackets). Pure account & signal fit (0% contact provenance penalty) so you can customize account scoring per client workspace without affecting contact_confidence or $0.008/$0.002 PPE billing.",
            "default": {
              "signalTypes": {
                "multi_signal": 45,
                "contract_award": 35,
                "clinical_trial": 35,
                "funding": 35,
                "jobs": 30,
                "executive_change": 25
              },
              "roleSeniority": {
                "director_vp_global": 25,
                "manager_kam_territory": 18,
                "specialist_ic": 10
              },
              "geos": {
                "DE": 15,
                "AT": 12,
                "CH": 15,
                "UK": 15,
                "FR": 15,
                "NL": 14,
                "BE": 14,
                "AU": 14,
                "NZ": 12,
                "US": 15
              },
              "industryKeywords": {
                "cybersecurity|security|software|cloud|it|saas": 18,
                "chemicals|industrial|automation|manufacturing|entry systems": 12,
                "insurance|versicherung|finanz|logistics": 8,
                "testing|instruments|actuators|sensors": 6
              },
              "recency": {
                "days_0_3": 15,
                "days_4_7": 11,
                "days_8_14": 6,
                "days_15_plus": 0
              }
            }
          },
          "blacklistDomains": {
            "title": "Blacklist Domains & Suppliers",
            "type": "array",
            "description": "Company root domains or supplier names to skip at $0 before enrichment and PPE charging.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "excludeCompanyKeywords": {
            "title": "Exclude Company Keywords (Unbilled $0 Filter)",
            "type": "array",
            "description": "Case-insensitive keywords matched against contractor / supplier company names BEFORE domain resolution, website crawling, or PPE charging. Matching awards are dropped at $0.00.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "excludeLocations": {
            "title": "Exclude Locations (Unbilled $0 Filter)",
            "type": "array",
            "description": "Case-insensitive city, region, or jurisdiction substrings dropped BEFORE domain resolution, website crawling, or PPE charging ($0.00 cost).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "onlyNewSignals": {
            "title": "Cross-Run Delta Mode (Only New Contract Awards)",
            "type": "boolean",
            "description": "When enabled, persists seen contract award URLs and supplier-award composite keys in a named Apify Key-Value Store (monitorScopeName) and skips previously emitted awards at $0 before enrichment or charging.",
            "default": false
          },
          "monitorScopeName": {
            "title": "Delta Mode Key-Value Store Name",
            "type": "string",
            "description": "Named Apify Key-Value Store used to persist seen signal keys across scheduled runs when onlyNewSignals is enabled.",
            "default": "buying-signal-dedup-store"
          },
          "customEmailVerifierApiKey": {
            "title": "Custom Email Verifier API Key (Optional BYOK)",
            "type": "string",
            "description": "Optional MillionVerifier / ZeroBounce compatible API key for real-time SMTP mailbox verification during enriched_with_email runs."
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (Optional — Zero Proxy Required by Default)",
            "type": "object",
            "description": "UK OCDS, France BOAMP, and EU TED open-data APIs operate with zero proxy overhead by default. Optional proxy settings are used only when crawling rate-limited corporate websites during enriched_with_email mode.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}