{
  "openapi": "3.0.1",
  "info": {
    "title": "New York Government Bids & RFPs (NYS Contract Reporter)",
    "description": "New York government bids, RFPs, RFQs and grants from the official NYS Contract Reporter. Filter by keyword, agency, county, category or MWBE/SDVOB goals. Daily new-bids-only monitor for contractors and bid teams. No login.",
    "version": "0.1",
    "x-build-id": "Qlyz8sUYjg1IPQUfs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/quarrylane-data~nys-contract-reporter-bids-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-quarrylane-data-nys-contract-reporter-bids-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/quarrylane-data~nys-contract-reporter-bids-scraper/runs": {
      "post": {
        "operationId": "runs-sync-quarrylane-data-nys-contract-reporter-bids-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/quarrylane-data~nys-contract-reporter-bids-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-quarrylane-data-nys-contract-reporter-bids-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": {
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Free-text search across title, contract number and CR number (e.g. 'software', 'HVAC', 'janitorial'). Leave empty to get everything."
          },
          "status": {
            "title": "Status",
            "enum": [
              "Open",
              "Closed"
            ],
            "type": "string",
            "description": "Open = currently advertised solicitations. Closed = past opportunities (useful for market research).",
            "default": "Open"
          },
          "dateFilter": {
            "title": "Issued",
            "enum": [
              "All",
              "Today",
              "LastWeek"
            ],
            "type": "string",
            "description": "Only return opportunities issued in this window: any time, today only, or the last 7 days.",
            "default": "All"
          },
          "classifications": {
            "title": "Classifications",
            "type": "array",
            "description": "Limit to one or more broad NYS procurement classifications (commodities, consulting and other services, construction professional services, construction). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4"
              ],
              "enumTitles": [
                "Commodities",
                "Consulting & Other Services",
                "Construction Professional Services",
                "Construction"
              ]
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "NYSCR procurement categories (multi-select). Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "3",
                "2",
                "4",
                "5",
                "15",
                "9",
                "6",
                "7",
                "8",
                "10",
                "11",
                "12",
                "13",
                "16",
                "17",
                "19",
                "18",
                "20",
                "14",
                "21",
                "22",
                "29",
                "23",
                "24",
                "28",
                "25",
                "26",
                "27"
              ],
              "enumTitles": [
                "Administrative & Technical",
                "Advertising, Graphic Arts, Marketing & Interior Design",
                "Agriculture, Forestry, Gardening, Landscaping, Lawn Maintenance & Snow Removal",
                "Apparel, Textile & Leather",
                "Architectural, Engineering & Surveying",
                "Construction Horizontal: Highways & Roadways; Maintenance, Repair & New Construction",
                "Construction Vertical: Building Construction; Rehabilitation & New Construction",
                "Educational & Recreational",
                "Environmental",
                "Facilities, Maintenance, Repair & Building Operations",
                "Financial",
                "Food, Beverages, Commissary & Vending",
                "Freight, Moving, Warehousing, and Delivery",
                "Fuels & Lubricants",
                "Information Technology",
                "Legal & Investigative Services",
                "Medical & Health Care",
                "Medical & Laboratory Equipment",
                "Miscellaneous",
                "Office & Residential Furniture, Supplies & Equipment",
                "Photography, Video, & Drone Services",
                "Printing",
                "Raw Materials for Manufacturing",
                "Real Property, Office, Hotel, Conferences & Meeting Space",
                "Safety & Security",
                "Telecommunications",
                "Transportation, Bus, Rail, Marine & Aviation",
                "Utilities & Green Energies",
                "Vehicles & Equipment"
              ]
            }
          },
          "adTypes": {
            "title": "Ad types",
            "type": "array",
            "description": "Type of advertisement (general, discretionary, RFI, grants, sole source, surplus...).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "14",
                "15",
                "16",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "3",
                "10",
                "11",
                "12"
              ],
              "enumTitles": [
                "General",
                "Discretionary procurements less than $150,000",
                "MWBE or SDVOB Discretionary procurement between $150,000 to $1,500,000",
                "Small Biz or Recycled technology Discretionary procurements between $150,000 to $500,000",
                "NYS Food or textile Discretionary procurements between $150,000 to $200,000",
                "Notice of sole/single source or procurement exempt from advertising",
                "Continuous procurement solicitation",
                "Requests for information (RFI) and Requests for Comment (RFC)",
                "Grant or notice of funds availability",
                "Announcement of surplus property disposal",
                "Contractor Ads",
                "Discretionary procurements between $50,000 and $125,000",
                "MWBE or SDVOB Discretionary procurement between $50,000 to $1,500,000",
                "Small Biz or Recycled technology Discretionary procurements between $50,000 to $500,000",
                "NYS Food or textile Discretionary procurements between $50,000 to $200,000"
              ]
            }
          },
          "counties": {
            "title": "Counties",
            "type": "array",
            "description": "Filter by New York county of the work/delivery location.",
            "items": {
              "type": "string",
              "enum": [
                "31",
                "53",
                "2",
                "12",
                "21",
                "43",
                "47",
                "48",
                "58",
                "59",
                "3",
                "6",
                "8",
                "16",
                "33",
                "4",
                "25",
                "32",
                "42",
                "44",
                "5",
                "9",
                "10",
                "50",
                "52",
                "55",
                "56",
                "7",
                "13",
                "28",
                "35",
                "39",
                "11",
                "17",
                "18",
                "22",
                "24",
                "26",
                "46",
                "14",
                "15",
                "37",
                "41",
                "45",
                "54",
                "57",
                "61",
                "19",
                "23",
                "30",
                "34",
                "40",
                "49",
                "20",
                "27",
                "29",
                "36",
                "38",
                "51",
                "60",
                "62",
                "63"
              ],
              "enumTitles": [
                "Nassau County",
                "Suffolk County",
                "Albany County",
                "Columbia County",
                "Greene County",
                "Rensselaer County",
                "Saratoga County",
                "Schenectady County",
                "Warren County",
                "Washington County",
                "Allegany County",
                "Cattaraugus County",
                "Chautauqua County",
                "Erie County",
                "Niagara County",
                "Bronx County",
                "Kings County",
                "New York County",
                "Queens County",
                "Richmond County",
                "Broome County",
                "Chemung County",
                "Chenango County",
                "Schuyler County",
                "Steuben County",
                "Tioga County",
                "Tompkins County",
                "Cayuga County",
                "Cortland County",
                "Madison County",
                "Onondaga County",
                "Oswego County",
                "Clinton County",
                "Essex County",
                "Franklin County",
                "Hamilton County",
                "Jefferson County",
                "Lewis County",
                "St. Lawrence County",
                "Delaware County",
                "Dutchess County",
                "Orange County",
                "Putnam County",
                "Rockland County",
                "Sullivan County",
                "Ulster County",
                "Westchester County",
                "Fulton County",
                "Herkimer County",
                "Montgomery County",
                "Oneida County",
                "Otsego County",
                "Schoharie County",
                "Genesee County",
                "Livingston County",
                "Monroe County",
                "Ontario County",
                "Orleans County",
                "Seneca County",
                "Wayne County",
                "Wyoming County",
                "Yates County"
              ]
            }
          },
          "agency": {
            "title": "Agency name",
            "type": "string",
            "description": "Optional agency / authority name, matched against the agency, division and 'entered on behalf of' fields (e.g. 'Transportation', 'SUNY', 'MTA', 'Office of General Services'). All meaningful words must match."
          },
          "agencyId": {
            "title": "Agency ID (advanced)",
            "type": "string",
            "description": "Exact NYSCR government ID for server-side filtering (from the NYSCR agency list). Leave empty unless you know it."
          },
          "mbe": {
            "title": "MBE goals",
            "type": "boolean",
            "description": "Only opportunities with Minority-owned Business Enterprise goals.",
            "default": false
          },
          "wbe": {
            "title": "WBE goals",
            "type": "boolean",
            "description": "Only opportunities with Women-owned Business Enterprise goals.",
            "default": false
          },
          "dbe": {
            "title": "DBE goals",
            "type": "boolean",
            "description": "Only opportunities with Disadvantaged Business Enterprise goals.",
            "default": false
          },
          "sdvbe": {
            "title": "SDVOB goals",
            "type": "boolean",
            "description": "Only opportunities with Service-Disabled Veteran-Owned Business goals.",
            "default": false
          },
          "tmwbe": {
            "title": "Total MWBE goals",
            "type": "boolean",
            "description": "Only return opportunities that carry total MWBE (minority- and women-owned business) participation goals.",
            "default": false
          },
          "sdvobSetAside": {
            "title": "SDVOB set-aside only",
            "type": "boolean",
            "description": "Only opportunities set aside for Service-Disabled Veteran-Owned Businesses.",
            "default": false
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "-DateIssued",
              "DateIssued",
              "-DateDue",
              "DateDue",
              "Title",
              "Agency",
              "Category"
            ],
            "type": "string",
            "description": "Order of results, for example newest issue date first or soonest due date first.",
            "default": "-DateIssued"
          },
          "onlyNew": {
            "title": "Only new since last run (monitor mode)",
            "type": "boolean",
            "description": "Remembers CR numbers already delivered (per monitorKey) and only outputs and charges for new ones. Ideal for daily scheduled bid alerts.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Label for this saved monitor (plain text, not a password or API key). When \"Only new\" monitor mode is on, the Actor remembers which records it has already delivered under this name and returns only new ones next time. Use a different name per filter set or client, for example \"client-a-weekly\". Older inputs that use monitorKey still work.",
            "default": "default"
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of opportunities to return (and be charged for, $0.03 each). Free Apify plan runs are capped at 15 results; paid plans up to 10,000.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}