{
  "openapi": "3.0.1",
  "info": {
    "title": "TendersOnTime Scraper",
    "description": "[💰 $0.9 / 1K] Extract government tenders, RFPs and bids from TendersOnTime — title, TOT reference, country, posting date, deadline, days left, contract value and currency. Filter by keyword, 248 countries, 16 trade blocs, dates and value. Active tenders plus archives back to 2017.",
    "version": "1.0",
    "x-build-id": "nHfH5nSKq2oGatSXQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~tendersontime-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-tendersontime-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/solidcode~tendersontime-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-tendersontime-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/solidcode~tendersontime-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-tendersontime-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 or phrases to search for, e.g. 'solar', 'water treatment', 'road construction'. Each keyword runs as its own search and the results are combined into one list with duplicates removed, sharing your 'Max Results' allowance between them. Leave empty to browse the newest tenders across every country.",
            "items": {
              "type": "string"
            }
          },
          "tenderUrls": {
            "title": "Tender URLs",
            "type": "array",
            "description": "Paste TendersOnTime tender page links (e.g. https://www.tendersontime.com/india/details/some-tender-8b8c713/) to pull those exact tenders. Useful for refreshing tenders you are already tracking. Copy the link straight from the tender page so it keeps its ending reference code. These are looked up before any keyword search, and your 'Max Results' setting also limits how many of them are collected.",
            "items": {
              "type": "string"
            }
          },
          "totRefNumbers": {
            "title": "TOT Reference Numbers",
            "type": "array",
            "description": "Look up tenders by their TendersOnTime reference number (the 'TOT Ref. No.' shown on every tender, e.g. 146327315). One tender is returned per number. These are looked up before any keyword search, and your 'Max Results' setting also limits how many of them are collected.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries, Regions & Trade Blocs",
            "uniqueItems": true,
            "type": "array",
            "description": "Limit results to these places. Pick individual countries, a whole continent or sub-region, or an economic group such as the European Union, GCC or BRICS. Leave empty to search worldwide.",
            "items": {
              "type": "string",
              "enum": [
                "101",
                "102",
                "103",
                "104",
                "105",
                "1011",
                "1012",
                "1013",
                "1014",
                "1015",
                "1021",
                "1022",
                "1023",
                "1024",
                "1031",
                "1032",
                "1033",
                "1034",
                "1035",
                "1041",
                "1042",
                "1043",
                "1044",
                "1051",
                "1052",
                "1053",
                "1054",
                "pol_2001",
                "pol_2002",
                "pol_2003",
                "pol_2004",
                "pol_2005",
                "pol_2007",
                "pol_2006",
                "pol_2008",
                "pol_2009",
                "pol_2012",
                "pol_2010",
                "pol_2011",
                "pol_2013",
                "pol_2014",
                "pol_2015",
                "pol_2016",
                "103301",
                "104201",
                "104301",
                "101301",
                "105401",
                "104302",
                "101201",
                "102201",
                "102202",
                "102401",
                "103501",
                "102203",
                "105101",
                "104401",
                "103502",
                "102204",
                "103503",
                "103302",
                "102205",
                "104101",
                "104402",
                "102101",
                "101501",
                "102301",
                "103303",
                "102402",
                "102206",
                "104303",
                "101401",
                "102404",
                "102403",
                "102208",
                "103401",
                "104102",
                "101502",
                "101101",
                "103402",
                "101202",
                "102302",
                "101516",
                "102209",
                "101203",
                "101204",
                "102405",
                "103201",
                "104202",
                "105403",
                "102406",
                "101102",
                "101205",
                "105402",
                "102102",
                "101517",
                "104304",
                "102210",
                "102211",
                "103504",
                "104103",
                "101206",
                "104203",
                "101103",
                "102212",
                "102213",
                "102407",
                "101302",
                "102103",
                "101207",
                "101104",
                "104204",
                "101105",
                "104205",
                "102408",
                "105201",
                "104206",
                "104403",
                "102409",
                "105404",
                "105413",
                "101208",
                "101503",
                "103505",
                "104404",
                "101504",
                "104305",
                "104306",
                "102303",
                "102214",
                "102215",
                "105301",
                "102104",
                "104207",
                "101505",
                "101506",
                "102410",
                "102216",
                "105412",
                "104307",
                "102105",
                "103202",
                "104104",
                "104208",
                "103304",
                "103403",
                "103305",
                "103506",
                "104209",
                "104210",
                "103507",
                "104308",
                "102217",
                "103205",
                "104211",
                "103508",
                "103101",
                "101106",
                "105302",
                "103204",
                "103207",
                "103509",
                "103102",
                "103404",
                "104212",
                "103510",
                "101402",
                "101507",
                "101303",
                "104405",
                "104213",
                "104406",
                "103203",
                "101107",
                "101108",
                "103405",
                "103306",
                "101508",
                "104309",
                "105303",
                "102218",
                "101509",
                "101109",
                "101110",
                "102106",
                "105304",
                "104407",
                "103206",
                "104310",
                "102219",
                "101304",
                "101111",
                "103406",
                "101403",
                "105305",
                "103307",
                "104408",
                "105202",
                "105102",
                "102107",
                "101510",
                "101511",
                "105405",
                "105103",
                "105306",
                "104214",
                "103511",
                "103512",
                "103308",
                "105307",
                "102108",
                "105203",
                "102411",
                "102412",
                "103407",
                "105406",
                "104105",
                "104311",
                "102220",
                "103513",
                "104106",
                "101112",
                "104107",
                "104108",
                "101113",
                "101512",
                "102222",
                "102223",
                "102224",
                "102304",
                "102225",
                "102221",
                "105407",
                "104312",
                "101209",
                "103514",
                "101513",
                "104313",
                "101114",
                "101514",
                "103408",
                "102226",
                "104109",
                "104314",
                "105204",
                "101115",
                "101404",
                "102414",
                "101305",
                "104315",
                "103309",
                "101306",
                "102413",
                "104215",
                "101405",
                "104216",
                "104409",
                "103515",
                "103208",
                "103103",
                "103409",
                "104316",
                "103410",
                "101515",
                "105408",
                "105409",
                "102227",
                "101307",
                "103516",
                "103104",
                "102228",
                "105410",
                "101116",
                "104110",
                "103517",
                "104217",
                "101117",
                "102416",
                "102305",
                "102229",
                "102415",
                "103105",
                "105205",
                "102417",
                "103411",
                "102207",
                "105411",
                "101308",
                "103518",
                "101118",
                "101119"
              ],
              "enumTitles": [
                "Region: All Africa",
                "Region: All Americas",
                "Region: All Asia",
                "Region: All Europe",
                "Region: All Oceania",
                "Region: Eastern Africa",
                "Region: Central Africa",
                "Region: Northern Africa",
                "Region: Southern Africa",
                "Region: Western Africa",
                "Region: Central America",
                "Region: Latin America and The Caribbean",
                "Region: Northern America",
                "Region: South America",
                "Region: Central Asia",
                "Region: Eastern Asia",
                "Region: Southern Asia",
                "Region: South-Eastern Asia",
                "Region: Western Asia",
                "Region: Eastern Europe",
                "Region: Northern Europe",
                "Region: Southern Europe",
                "Region: Western Europe",
                "Region: Australia and New Zealand",
                "Region: Melanesia",
                "Region: Micronesia",
                "Region: Polynesia",
                "Group: Arab World",
                "Group: Asia-Pacific (APAC)",
                "Group: Association of Southeast Asian Nations (ASEAN)",
                "Group: Balkans",
                "Group: BRICS",
                "Group: Common Market for Eastern and Southern Africa (COMESA)",
                "Group: Commonwealth Of Independent States (CIS)",
                "Group: Economic Community of West African States (ECOWAS)",
                "Group: European Union (EU)",
                "Group: G20",
                "Group: Gulf Cooperation Council (GCC)",
                "Group: Gulf Countries",
                "Group: Middle East",
                "Group: Middle East and North Africa (MENA)",
                "Group: South Asian Association for Regional Cooperation (SAARC)",
                "Group: Sub-Saharan Africa",
                "Afghanistan",
                "Aland Islands",
                "Albania",
                "Algeria",
                "American Samoa",
                "Andorra",
                "Angola",
                "Anguilla",
                "Antigua and Barbuda",
                "Argentina",
                "Armenia",
                "Aruba",
                "Australia",
                "Austria",
                "Azerbaijan",
                "Bahamas",
                "Bahrain",
                "Bangladesh",
                "Barbados",
                "Belarus",
                "Belgium",
                "Belize",
                "Benin",
                "Bermuda",
                "Bhutan",
                "Bolivia",
                "Bonaire, Saint Eustatius and Saba",
                "Bosnia and Herzegovina",
                "Botswana",
                "Bouvet Island",
                "Brazil",
                "British Indian Ocean Territory",
                "Brunei Darussalam",
                "Bulgaria",
                "Burkina Faso",
                "Burundi",
                "Cambodia",
                "Cameroon",
                "Canada",
                "Cape Verde",
                "Cayman Islands",
                "Central African Republic",
                "Chad",
                "Chile",
                "China",
                "Christmas Island",
                "Cocos Islands",
                "Colombia",
                "Comoros",
                "Congo",
                "Cook Islands",
                "Costa Rica",
                "Cote d'Ivoire",
                "Croatia",
                "Cuba",
                "Curacao",
                "Cyprus",
                "Czech Republic",
                "DR Congo",
                "Denmark",
                "Djibouti",
                "Dominica",
                "Dominican Republic",
                "Ecuador",
                "Egypt",
                "El Salvador",
                "Equatorial Guinea",
                "Eritrea",
                "Estonia",
                "Ethiopia",
                "Faeroe Islands",
                "Falkland Islands",
                "Fiji",
                "Finland",
                "France",
                "French Guiana",
                "French Polynesia",
                "French Southern Territories",
                "Gabon",
                "Gambia",
                "Georgia",
                "Germany",
                "Ghana",
                "Gibraltar",
                "Greece",
                "Greenland",
                "Grenada",
                "Guadeloupe",
                "Guam",
                "Guatemala",
                "Guernsey",
                "Guinea",
                "Guinea Bissau",
                "Guyana",
                "Haiti",
                "Heard Island And Mcdonald Islands",
                "Holy See",
                "Honduras",
                "Hong Kong",
                "Hungary",
                "Iceland",
                "India",
                "Indonesia",
                "Iran",
                "Iraq",
                "Ireland",
                "Isle of Man",
                "Israel",
                "Italy",
                "Jamaica",
                "Japan",
                "Jersey",
                "Jordan",
                "Kazakhstan",
                "Kenya",
                "Kiribati",
                "North Korea",
                "South Korea",
                "Kuwait",
                "Kyrgyzstan",
                "Lao PDR",
                "Latvia",
                "Lebanon",
                "Lesotho",
                "Liberia",
                "Libya",
                "Liechtenstein",
                "Lithuania",
                "Luxembourg",
                "Macao",
                "Madagascar",
                "Malawi",
                "Malaysia",
                "Maldives",
                "Mali",
                "Malta",
                "Marshall Islands",
                "Martinique",
                "Mauritania",
                "Mauritius",
                "Mayotte",
                "Mexico",
                "Micronesia, Federated States of",
                "Monaco",
                "Mongolia",
                "Montenegro",
                "Montserrat",
                "Morocco",
                "Mozambique",
                "Myanmar",
                "Namibia",
                "Nauru",
                "Nepal",
                "Netherlands",
                "New Caledonia",
                "New Zealand",
                "Nicaragua",
                "Niger",
                "Nigeria",
                "Niue",
                "Norfolk Island",
                "Northern Mariana Islands",
                "Norway",
                "Palestine",
                "Oman",
                "Pakistan",
                "Palau",
                "Panama",
                "Papua New Guinea",
                "Paraguay",
                "Peru",
                "Philippines",
                "Pitcairn",
                "Poland",
                "Portugal",
                "Puerto Rico",
                "Qatar",
                "Moldova",
                "Reunion",
                "Romania",
                "Russia",
                "Rwanda",
                "Saint Helena",
                "Saint Kitts and Nevis",
                "Saint Lucia",
                "Saint Martin",
                "Saint Pierre and Miquelon",
                "Saint Vincent and the Grenadines",
                "Saint Barthelemy",
                "Samoa",
                "San Marino",
                "Sao Tome and Principe",
                "Saudi Arabia",
                "Senegal",
                "Serbia",
                "Seychelles",
                "Sierra Leone",
                "Singapore",
                "Sint Maarten",
                "Slovakia",
                "Slovenia",
                "Solomon Islands",
                "Somalia",
                "South Africa",
                "South Georgia",
                "South Sudan",
                "Spain",
                "Sri Lanka",
                "Sudan",
                "Suriname",
                "Svalbard and Jan Mayen Islands",
                "Swaziland",
                "Sweden",
                "Switzerland",
                "Syria",
                "Taiwan",
                "Tajikistan",
                "Thailand",
                "Macedonia",
                "Timor Leste",
                "Togo",
                "Tokelau",
                "Tonga",
                "Trinidad and Tobago",
                "Tunisia",
                "Turkey",
                "Turkmenistan",
                "Turks and Caicos Islands",
                "Tuvalu",
                "Uganda",
                "Ukraine",
                "UAE",
                "United Kingdom",
                "Tanzania",
                "United States Minor Outlying Islands",
                "USA",
                "United States Virgin Islands",
                "Uruguay",
                "Uzbekistan",
                "Vanuatu",
                "Venezuela",
                "Viet Nam",
                "British Virgin Islands",
                "Wallis and Futuna Islands",
                "Western Sahara",
                "Yemen",
                "Zambia",
                "Zimbabwe"
              ]
            }
          },
          "exactKeywords": {
            "title": "Match Keywords Exactly",
            "type": "boolean",
            "description": "Only return tenders containing your keyword as an exact phrase. Off by default, which finds more results by matching the individual words too."
          },
          "status": {
            "title": "Tender Status",
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Which set of tenders to search. 'Active' covers open tenders that have not closed yet. The archive options search historical tenders, which is useful for market research and win/loss analysis."
          },
          "competition": {
            "title": "Bidding Competition",
            "enum": [
              "",
              "NCB",
              "ICB"
            ],
            "type": "string",
            "description": "Restrict to National Competitive Bidding (open to domestic suppliers) or International Competitive Bidding (open to foreign suppliers). Leave as 'Any' to include both. This narrows which tenders are returned; the bidding type itself is not published in the results."
          },
          "purchaserName": {
            "title": "Purchaser Name",
            "type": "string",
            "description": "Only return tenders floated by buyers whose name contains this text, e.g. 'ministry', 'railway', 'municipal'. This narrows which tenders are returned; the buyer's name itself is not published in the results."
          },
          "deadlineFrom": {
            "title": "Deadline From",
            "type": "string",
            "description": "Only include tenders closing on or after this date (YYYY-MM-DD). Use with 'Deadline To' to find tenders you still have time to bid on."
          },
          "deadlineTo": {
            "title": "Deadline To",
            "type": "string",
            "description": "Only include tenders closing on or before this date (YYYY-MM-DD)."
          },
          "postedFrom": {
            "title": "Posted From",
            "type": "string",
            "description": "Only include tenders published on or after this date (YYYY-MM-DD). Handy for daily or weekly lead pulls."
          },
          "postedTo": {
            "title": "Posted To",
            "type": "string",
            "description": "Only include tenders published on or before this date (YYYY-MM-DD)."
          },
          "tenderValue": {
            "title": "Tender Value",
            "minimum": 0,
            "type": "integer",
            "description": "Filter by the estimated contract value, compared using the option below. Leave empty for no value filter. Note that many tenders publish no value at all ('Refer Document') and are excluded once you set this."
          },
          "tenderValueCondition": {
            "title": "Tender Value Condition",
            "enum": [
              "more_than",
              "equal_to",
              "less_than"
            ],
            "type": "string",
            "description": "How to compare the tender value above. Ignored when no tender value is set."
          },
          "sortBy": {
            "title": "Sort Results By",
            "enum": [
              "Posting_Date DESC",
              "Posting_Date ASC",
              "Bid_Deadline_1 ASC",
              "Bid_Deadline_1 DESC"
            ],
            "type": "string",
            "description": "Order results are collected in. 'Deadline soonest' is the most useful for finding tenders you can still bid on; 'Newest first' is best for daily lead monitoring."
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum number of tenders to return in total, across every keyword, reference number and pasted link. This is an exact cap — you never receive or pay for more than this. The highest value accepted is 50,000 tenders per run; 0 means 'no cap' and also collects up to that same 50,000."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}