{
  "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": "VjlmQTt7HZ115QBwc"
  },
  "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": {
          "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"
            ]
          },
          "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": []
          },
          "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": []
          },
          "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
          },
          "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
          },
          "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"
          },
          "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"
          },
          "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": []
          },
          "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."
          },
          "maxItems": {
            "title": "Max Contract Award Signals (Max Items)",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of contract award buying signals to emit. Free-tier Apify runs are capped at 25 items per run.",
            "default": 5
          },
          "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}