{
  "openapi": "3.0.1",
  "info": {
    "title": "Ireland Tenders Scraper: eTenders Public Procurement to Excel",
    "description": "Export Irish government tenders, contract awards, suppliers and values from eTenders (Office of Government Procurement open data, 2013 to today). No API key. Filter by keyword, contracting authority, CPV, notice type, status, value, date. Excel, CSV, JSON.",
    "version": "1.0",
    "x-build-id": "UAZZIgMhZE2rO0kxa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tenderfeed~ireland-etenders/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tenderfeed-ireland-etenders",
        "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/tenderfeed~ireland-etenders/runs": {
      "post": {
        "operationId": "runs-sync-tenderfeed-ireland-etenders",
        "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/tenderfeed~ireland-etenders/run-sync": {
      "post": {
        "operationId": "run-sync-tenderfeed-ireland-etenders",
        "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 the tender/contract name, main CPV description and spend category, e.g. [\"software\", \"cleaning\", \"road resurfacing\"]. Empty = all records.",
            "items": {
              "type": "string"
            }
          },
          "keywordMode": {
            "title": "Keyword match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Match ANY or ALL keywords.",
            "default": "any"
          },
          "contractingAuthorities": {
            "title": "Contracting authority contains",
            "type": "array",
            "description": "Keep records whose contracting authority, client authority or framework owner contains any of these (case-insensitive), e.g. [\"Dublin City Council\", \"HSE\", \"Office of Government Procurement\", \"Irish Rail\"].",
            "items": {
              "type": "string"
            }
          },
          "suppliers": {
            "title": "Awarded supplier contains",
            "type": "array",
            "description": "Keep awards won by suppliers whose name contains any of these, e.g. [\"Accenture\", \"Sisk\"]. Great for competitor tracking.",
            "items": {
              "type": "string"
            }
          },
          "noticeTypes": {
            "title": "Record types",
            "type": "array",
            "description": "tender-notice = published call for tenders (with award details once awarded); contract = contracts created under frameworks / direct invites; dps-tender = DPS mini-competitions. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "tender-notice",
                "contract",
                "dps-tender"
              ]
            }
          },
          "statuses": {
            "title": "Status",
            "type": "array",
            "description": "open = submission deadline today or later; closed = deadline passed, no award yet; awarded; cancelled. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "open",
                "closed",
                "awarded",
                "cancelled",
                "unknown"
              ]
            }
          },
          "publishedFrom": {
            "title": "Published from",
            "type": "string",
            "description": "YYYY-MM-DD or relative (\"90 days\"). Uses the notice published / contract created date (award date for DPS rows). Empty = from 2013."
          },
          "publishedTo": {
            "title": "Published to",
            "type": "string",
            "description": "YYYY-MM-DD. Empty = latest record in the dataset."
          },
          "cpvCodes": {
            "title": "CPV codes (prefix)",
            "type": "array",
            "description": "CPV prefixes matched against the main and additional CPV codes, e.g. [\"72\"] (IT services), [\"45233\"] (road works).",
            "items": {
              "type": "string"
            }
          },
          "spendCategories": {
            "title": "Spend category contains",
            "type": "array",
            "description": "OGP spend category, e.g. [\"Information and Communication Technology\", \"Professional Services\", \"Minor Building Works\", \"Facilities Management\"].",
            "items": {
              "type": "string"
            }
          },
          "contractTypes": {
            "title": "Contract type",
            "type": "array",
            "description": "e.g. [\"Services\"], [\"Supplies\"], [\"Works\"].",
            "items": {
              "type": "string"
            }
          },
          "thresholdLevels": {
            "title": "Threshold level",
            "type": "array",
            "description": "OJEU = above EU thresholds (also on TED); National = below-threshold notices; Direct Invite. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "OJEU",
                "National",
                "Direct Invite"
              ]
            }
          },
          "minValue": {
            "title": "Min value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep records whose estimated value (or awarded value when no estimate) is at least this many euros."
          },
          "maxValue": {
            "title": "Max value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep records up to this value in euros."
          },
          "includeUnknownValue": {
            "title": "Keep records without a value",
            "type": "boolean",
            "description": "When a min/max value is set, also keep records that have no estimated or awarded value.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "oldest",
              "value",
              "deadline"
            ],
            "type": "string",
            "description": "Order of the results.",
            "default": "newest"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit. Default 50. The dataset holds ~89,700 rows from 2013 to 30 September 2026 (measured 2026-11-16).",
            "default": 50
          },
          "onlyNew": {
            "title": "Only new records (monitoring mode)",
            "type": "boolean",
            "description": "Remember what earlier runs delivered and return (and charge for) only records you have not received yet. Useful after each quarterly OGP refresh.",
            "default": false
          },
          "monitoringId": {
            "title": "Monitoring ID",
            "type": "string",
            "description": "Name of the watch-list memory used by 'Only new'. Use a different ID per saved search/schedule."
          },
          "includeBuyerContacts": {
            "title": "Include personal contact data",
            "type": "boolean",
            "description": "Off by default (GDPR). The OGP dataset has no named contact persons, e-mails or phones; when off, any e-mail address found in text fields is masked.",
            "default": false
          },
          "includeRawData": {
            "title": "Include raw CSV row",
            "type": "boolean",
            "description": "Adds the original CSV columns under `raw`.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}