{
  "openapi": "3.0.1",
  "info": {
    "title": "Public Tenders & RFP Scraper — SAM.gov, EU TED, UK, BOAMP",
    "description": "Government tenders and RFPs from SAM.gov (US), TED (EU), Find a Tender (UK) and BOAMP (France) in one feed. Filter by keyword, CPV, NAICS or country; get deadlines, buyers, values and winners. Daily alerts with new notices only. $2 per 1,000.",
    "version": "1.0",
    "x-build-id": "le5tBOj9fUIL3repQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rp_openpro.ai~public-tenders-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rp_openpro.ai-public-tenders-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/rp_openpro.ai~public-tenders-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rp_openpro.ai-public-tenders-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/rp_openpro.ai~public-tenders-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rp_openpro.ai-public-tenders-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": "Keywords",
            "type": "array",
            "description": "Words to look for in notices (any of them matches). Leave empty to get every notice from the chosen sources. Use the language of the source too, e.g. \"logiciel\" for BOAMP.",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "SAM.gov = US federal; TED = all EU countries (above EU thresholds); Find a Tender = UK; BOAMP = France (all sizes).",
            "items": {
              "type": "string",
              "enum": [
                "ted",
                "sam",
                "uk",
                "boamp"
              ],
              "enumTitles": [
                "TED — European Union",
                "SAM.gov — United States",
                "Find a Tender — United Kingdom",
                "BOAMP — France"
              ]
            },
            "default": [
              "ted",
              "sam",
              "uk",
              "boamp"
            ]
          },
          "status": {
            "title": "Notices",
            "enum": [
              "open",
              "awarded",
              "all"
            ],
            "type": "string",
            "description": "Open calls you can still bid on, contract awards (who won, for how much), or both.",
            "default": "open"
          },
          "publishedWithinDays": {
            "title": "Published in the last (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Only notices published or updated in this many days. Use 1 for a daily alert.",
            "default": 7
          },
          "maxResultsPerSource": {
            "title": "Max notices per source",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop each source after this many notices.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only notices not seen in earlier runs",
            "type": "boolean",
            "description": "For scheduled alerts: skips notices already returned by an earlier run with the same filters, so you only get (and pay for) new ones.",
            "default": false
          },
          "euCountries": {
            "title": "EU countries (TED)",
            "type": "array",
            "description": "Buyer countries for TED, as 3-letter codes: FRA, DEU, ESP, ITA, NLD, BEL, POL… Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes (TED, UK)",
            "type": "array",
            "description": "Common Procurement Vocabulary codes, e.g. 72000000 (IT services), 45000000 (construction), 79340000 (advertising). A code with trailing zeros covers its whole family.",
            "items": {
              "type": "string"
            }
          },
          "naicsCodes": {
            "title": "NAICS codes (SAM.gov)",
            "type": "array",
            "description": "US industry codes, e.g. 541511 (custom software), 541611 (management consulting), 236220 (commercial construction).",
            "items": {
              "type": "string"
            }
          },
          "frenchDepartments": {
            "title": "French departments (BOAMP)",
            "type": "array",
            "description": "Department numbers, e.g. 75, 69, 13, 2A.",
            "items": {
              "type": "string"
            }
          },
          "includeSamDetails": {
            "title": "SAM.gov details",
            "type": "boolean",
            "description": "Adds NAICS, PSC code, set-aside, place of performance and award amount to SAM.gov notices (one extra request per notice).",
            "default": true
          },
          "preferredLanguage": {
            "title": "Preferred language (TED)",
            "enum": [
              "eng",
              "fra",
              "deu",
              "spa",
              "ita",
              "nld",
              "pol",
              "por"
            ],
            "type": "string",
            "description": "TED titles exist in many languages: this one is used when available.",
            "default": "eng"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Only used for SAM.gov if it refuses a direct request. The default Apify proxy is fine.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}