{
  "openapi": "3.0.1",
  "info": {
    "title": "Government Bids, RFP & Contracts Scraper (SAM.gov, BidNet)",
    "description": "Open US government bids, RFPs, tenders and contract opportunities in one feed. Federal contracts come from SAM.gov. State, county and city procurement solicitations come from BidNet Direct, Bonfire, PlanetBids, CivicPlus and 29 state portals. Filter by keyword and state. You pay per bid returned.",
    "version": "0.1",
    "x-build-id": "I3NZa8KtW2AygBfSc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/talcoe~us-government-bids-rfps/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-talcoe-us-government-bids-rfps",
        "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/talcoe~us-government-bids-rfps/runs": {
      "post": {
        "operationId": "runs-sync-talcoe-us-government-bids-rfps",
        "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/talcoe~us-government-bids-rfps/run-sync": {
      "post": {
        "operationId": "run-sync-talcoe-us-government-bids-rfps",
        "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 match in the bid title or description, e.g. \"janitorial\", \"HVAC\", \"software\", \"paving\". Leave empty to return every open bid in the selected sources and states.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Two letter US state codes to include, e.g. NY, NJ, CA. Leave empty for all states.",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Which procurement portals to search. Leave it out to search every source, and use States to narrow by state. Each source is a different portal or family of portals. State sources only run when the States filter is empty or lists that state.",
            "items": {
              "type": "string",
              "enum": [
                "bidnet",
                "demandstar",
                "bonfire",
                "planetbids",
                "opengov",
                "sam",
                "texas",
                "northcarolina",
                "illinois",
                "massachusetts",
                "florida",
                "pennsylvania",
                "georgia",
                "chicago",
                "philly",
                "nyc",
                "oregonbuys",
                "nevada",
                "arkansas",
                "ctsource",
                "arizona",
                "missouribuys",
                "virginia",
                "caleprocure",
                "nyscr",
                "njstart",
                "washington",
                "southcarolina",
                "kentucky",
                "oklahoma",
                "kansas",
                "mississippi",
                "nebraska",
                "newhampshire",
                "delaware",
                "hawaii",
                "alaska",
                "publicpurchase",
                "civicplus",
                "iowa"
              ],
              "enumTitles": [
                "BidNet Direct (state and local, all US)",
                "DemandStar (local governments, all US)",
                "Bonfire (398 agency portals)",
                "PlanetBids (323 agency portals, mostly California)",
                "OpenGov Procurement (agency portals)",
                "SAM.gov (federal)",
                "Texas ESBD (state)",
                "North Carolina eVP (state)",
                "Illinois BidBuy (state)",
                "Massachusetts COMMBUYS (state)",
                "Florida MyFloridaMarketPlace (state)",
                "Pennsylvania eMarketplace (state)",
                "Georgia Procurement Registry (state)",
                "City of Chicago eProcurement",
                "City of Philadelphia PHLContracts",
                "NYC City Record (New York City)",
                "OregonBuys (Oregon state and local)",
                "NevadaEPro (Nevada state)",
                "Arkansas ARBuy (Arkansas state)",
                "Connecticut CTsource (Connecticut state)",
                "Arizona Procurement Portal (Arizona state)",
                "MissouriBUYS (Missouri state)",
                "Virginia eVA (Virginia state)",
                "California Cal eProcure (California state)",
                "New York State Contract Reporter (New York state)",
                "New Jersey NJSTART (New Jersey state)",
                "Washington WEBS (Washington state)",
                "South Carolina SCBO (South Carolina state)",
                "Kentucky eMARS (Kentucky state)",
                "Oklahoma Supplier Portal (Oklahoma state)",
                "Kansas Supplier Portal (Kansas state)",
                "Mississippi DFA Bid Search (Mississippi state)",
                "Nebraska DAS Bid Opportunities (Nebraska state)",
                "New Hampshire DAS Bids and Contracts (New Hampshire state)",
                "Delaware MyMarketplace (Delaware state)",
                "Hawaii HANDS (Hawaii state and counties)",
                "Alaska Online Public Notices (Alaska state)",
                "Public Purchase (local agencies, many states)",
                "CivicPlus (city and county websites, many states)",
                "Iowa Bid Opportunities (Iowa state)"
              ]
            },
            "default": [
              "bidnet",
              "sam",
              "bonfire",
              "texas",
              "northcarolina",
              "illinois",
              "massachusetts",
              "florida",
              "pennsylvania",
              "georgia",
              "chicago",
              "planetbids",
              "philly",
              "nyc",
              "oregonbuys",
              "nevada",
              "arkansas",
              "ctsource",
              "arizona",
              "missouribuys",
              "virginia",
              "caleprocure",
              "nyscr",
              "njstart",
              "washington",
              "southcarolina",
              "kentucky",
              "oklahoma",
              "kansas",
              "mississippi",
              "nebraska",
              "newhampshire",
              "delaware",
              "hawaii",
              "alaska",
              "publicpurchase",
              "civicplus",
              "iowa",
              "opengov"
            ]
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Only return bids published in the last N days. 0 = no limit (all open bids).",
            "default": 30
          },
          "includeClosed": {
            "title": "Include closed bids",
            "type": "boolean",
            "description": "By default only bids whose due date has not passed are returned.",
            "default": false
          },
          "includeDetails": {
            "title": "Fetch full details",
            "type": "boolean",
            "description": "Open each bid page to capture the full description, contact and document links. Slower, but each record is complete.",
            "default": true
          },
          "includeDocumentFacts": {
            "title": "Add document facts (free during beta)",
            "type": "boolean",
            "description": "Adds scope, bonds, insurance, licenses and set aside read from the bid documents, each with the sentence it came from, for bids whose documents have been read so far. Free during beta, no extra charge.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop after this many unique bids across all sources. Controls your spend.",
            "default": 500
          },
          "onlyNew": {
            "title": "Only new bids (for daily schedules)",
            "type": "boolean",
            "description": "Return only bids this monitor has not delivered in an earlier run, so a scheduled daily run gives you a clean list of fresh bids and you never pay twice for the same one. The list of delivered bids is kept in a key-value store in your own Apify account for 180 days.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Used with Only new bids. Give each saved search its own name (for example roofing-texas) so separate schedules keep separate memories.",
            "default": "default"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify proxy is recommended for BidNet and DemandStar at higher volumes.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}