{
  "openapi": "3.0.1",
  "info": {
    "title": "World Bank Tenders Scraper",
    "description": "Find open World Bank-funded tenders: invitations for bids and requests for expressions of interest in 120+ countries, with buyer, country, sector, method, local deadline and links. Filter by keyword, country, region, sector, category and publish date. Awards on request.",
    "version": "0.1",
    "x-build-id": "b7GwrBtmkUClhVd2L"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automatic~worldbank-tenders-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automatic-worldbank-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/automatic~worldbank-tenders-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automatic-worldbank-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/automatic~worldbank-tenders-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automatic-worldbank-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": "string",
            "description": "Words to find in the notice title and text, in any language. Every word must appear; put a phrase in \"double quotes\". Leave empty for all notices.",
            "default": ""
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Project countries as two-letter ISO codes, for example KE, NG, IN or BD. Leave empty for all countries.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "World Bank regions. Regional projects that span several countries are found here. Leave empty for all regions.",
            "items": {
              "type": "string",
              "enum": [
                "Eastern And Southern Africa",
                "Western And Central Africa",
                "South Asia",
                "Latin America And Caribbean",
                "Europe And Central Asia",
                "East Asia And Pacific",
                "Mid East,North Africa,Afg,Pak"
              ],
              "enumTitles": [
                "Eastern and Southern Africa",
                "Western and Central Africa",
                "South Asia",
                "Latin America and Caribbean",
                "Europe and Central Asia",
                "East Asia and Pacific",
                "Middle East, North Africa, Afghanistan and Pakistan"
              ]
            },
            "default": []
          },
          "sectors": {
            "title": "Sectors",
            "type": "array",
            "description": "World Bank project sectors, for example Health, Water Supply or Renewable Energy Solar. A notice matches if its project lists any of them.",
            "items": {
              "type": "string",
              "enum": [
                "Adult, Basic and Continuing Education",
                "Agricultural Extension, Research, and Other Support Activities",
                "Agricultural markets, commercialization and agri-business",
                "Agro-industry",
                "Aviation",
                "Banking Institutions",
                "Capital Markets",
                "Central Government (Central Agencies)",
                "Crops",
                "Early Childhood Education",
                "Energy Transmission and Distribution",
                "Fisheries",
                "Flood protection",
                "Forestry",
                "Health",
                "Health Facilities and Construction",
                "Housing Construction",
                "ICT Infrastructure",
                "ICT Services",
                "Insurance and Pension",
                "Irrigation and Drainage",
                "Law and Justice",
                "Livestock",
                "Manufacturing",
                "Media",
                "Micro- and SME finance",
                "Mining",
                "Non-Renewable Energy Generation",
                "Oil and Gas",
                "Other Agriculture, Fishing and Forestry",
                "Other Education",
                "Other Energy and Extractives",
                "Other Industry, Trade and Services",
                "Other Information and Communications Technologies",
                "Other Non-bank Financial Institutions",
                "Other Public Administration",
                "Other Transportation",
                "Other Water Supply, Sanitation and Waste Management",
                "Ports/Waterways",
                "Postal services",
                "Power",
                "Primary Education",
                "Public Administration - Agriculture, Fishing & Forestry",
                "Public Administration - Education",
                "Public Administration - Energy and Extractives",
                "Public Administration - Financial Sector",
                "Public Administration - Health",
                "Public Administration - Industry, Trade and Services",
                "Public Administration - Information and Communications Technologies",
                "Public Administration - Social Protection",
                "Public Administration - Transportation",
                "Public Administration - Water, Sanitation and Waste Management",
                "Railways",
                "Renewable Energy Biomass",
                "Renewable Energy Geothermal",
                "Renewable Energy Hydro",
                "Renewable Energy Solar",
                "Renewable Energy Wind",
                "Renewable energy",
                "Roads and highways",
                "Rural and Inter-Urban Roads",
                "Sanitation",
                "Secondary Education",
                "Services",
                "Sewerage",
                "Social Protection",
                "Sub-National Government",
                "Tertiary Education",
                "Tourism",
                "Trade",
                "Urban Transport",
                "Waste Management",
                "Water Supply",
                "Workforce Development and Vocational Education"
              ]
            },
            "default": []
          },
          "procurementCategories": {
            "title": "Procurement categories",
            "type": "array",
            "description": "Goods, works, consulting services or non-consulting services. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "goods",
                "works",
                "consulting-services",
                "non-consulting-services"
              ],
              "enumTitles": [
                "Goods",
                "Works",
                "Consulting services",
                "Non-consulting services"
              ]
            },
            "default": []
          },
          "procurementMethods": {
            "title": "Procurement methods",
            "type": "array",
            "description": "Selection methods, for example RFB (request for bids), RFQ (request for quotations) or QCBS (quality and cost-based selection). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "RFB",
                "RFQ",
                "RFP",
                "QCBS",
                "QBS",
                "CQS",
                "LCS",
                "FBS",
                "INDV",
                "DS",
                "ICB",
                "NCB",
                "CDD",
                "UN",
                "EA",
                "FCA",
                "CP",
                "NPO",
                "PPP",
                "SSS",
                "APA"
              ],
              "enumTitles": [
                "RFB - Request for Bids",
                "RFQ - Request for Quotations",
                "RFP - Request for Proposals",
                "QCBS - Quality And Cost-Based Selection",
                "QBS - Quality Based Selection",
                "CQS - Consultant Qualification Selection",
                "LCS - Least Cost Selection",
                "FBS - Fixed Budget Selection",
                "INDV - Individual Consultant Selection",
                "DS - Direct Selection",
                "ICB - International Competitive Bidding",
                "NCB - National Competitive Bidding",
                "CDD - Community Driven Development",
                "UN - UN Agencies (Direct)",
                "EA - E-Auctions",
                "FCA - Force Account",
                "CP - Commercial Practices",
                "NPO - Non-Profit Organizations",
                "PPP - Public Private Partnership",
                "SSS - Single Source Selection",
                "APA - Alternative Procurement Arrangement"
              ]
            },
            "default": []
          },
          "noticeTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Leave empty for invitations for bids, requests for expressions of interest and invitations for prequalification (plus general procurement notices when status is 'all'). Contract awards and general procurement notices have no deadline: select them with status 'all'.",
            "items": {
              "type": "string",
              "enum": [
                "invitation-for-bids",
                "request-for-expression-of-interest",
                "invitation-for-prequalification",
                "general-procurement-notice",
                "contract-award"
              ],
              "enumTitles": [
                "Invitation for bids",
                "Request for expressions of interest",
                "Invitation for prequalification",
                "General procurement notice (no deadline)",
                "Contract award"
              ]
            },
            "default": []
          },
          "status": {
            "title": "Status",
            "enum": [
              "open",
              "all"
            ],
            "type": "string",
            "description": "'open' returns only notices whose bid or expression-of-interest deadline is still ahead. 'all' also returns notices whose deadline has passed.",
            "default": "open"
          },
          "publishedSince": {
            "title": "Published since",
            "type": "string",
            "description": "Only notices published on or after this date (YYYY-MM-DD). Use it, or 'Published within days', to pick up only new notices on each scheduled run."
          },
          "publishedWithinDays": {
            "title": "Published within days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Only notices published in the last N days, today included (UTC). Handy for daily or weekly schedules. Do not combine with 'Published since'."
          },
          "maxItems": {
            "title": "Maximum notices",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Most notices to return, newest first. Up to 50,000.",
            "default": 50
          },
          "includeDetails": {
            "title": "Include description and links",
            "type": "boolean",
            "description": "Adds a short description of each notice as published and the links it quotes, including public contact, bidding-document and e-procurement links. Runs take longer with this on.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}