{
  "openapi": "3.0.1",
  "info": {
    "title": "Bonfire / Euna Procurement Opportunities Scraper",
    "description": "Open RFPs/tenders across hundreds of US/Canada local government agencies on Bonfire (Euna).",
    "version": "0.0",
    "x-build-id": "1pGAKsGVTp9aYf9j3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gallant_illustration~bonfire-procurement-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gallant_illustration-bonfire-procurement-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/gallant_illustration~bonfire-procurement-scraper/runs": {
      "post": {
        "operationId": "runs-sync-gallant_illustration-bonfire-procurement-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/gallant_illustration~bonfire-procurement-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-gallant_illustration-bonfire-procurement-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",
        "required": [
          "agencySlugs"
        ],
        "properties": {
          "agencySlugs": {
            "title": "Agency slugs",
            "type": "array",
            "description": "Bonfire agency subdomains to scrape. Pick from the suggested list or type any other slug, e.g. \"dallascityhall\". Suggestions are all discovered agencies (some unverified); see docs/agencies/slugs.md.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "akronohio",
                "alamedactc",
                "alleghenycounty",
                "alleghenycountydhs",
                "anthc",
                "atlanticcape",
                "baaqmd",
                "bahamas",
                "bannockcounty",
                "bellinghampublicschools",
                "beltline",
                "bendoregon",
                "bernco",
                "bgky",
                "bloomingtontransit",
                "bouldercounty",
                "brazoriacounty",
                "broward",
                "buckeyeaz",
                "cabq",
                "caribbeanclimate",
                "cayman",
                "ccc",
                "centro",
                "chahousing",
                "charlottenc",
                "chathamcountyga",
                "cherokeek12",
                "chicagoparkdistrict",
                "ci-lubbock-tx",
                "cityoflewisville",
                "cityofmilwaukee",
                "cityofvancouver",
                "clarkcountynv",
                "claytonk12ga",
                "co-bergen-nj",
                "co-potter-tx",
                "cogreggtx",
                "colliersheriff",
                "columbus",
                "comalisd",
                "cor",
                "countymilwaukee",
                "cscisd",
                "cyfd",
                "dallascityhall",
                "dart",
                "delmar",
                "deswa",
                "detroit",
                "dfwairport",
                "eanesisd",
                "fargond",
                "fau",
                "flvs",
                "fortbendcountytx",
                "fortbendisd",
                "fortworthtexas",
                "fwhs",
                "gatewayprogram",
                "ggbhtd",
                "glastonburyct",
                "glwater",
                "gohart",
                "goodyearaz",
                "gov-bb",
                "greenvillewater",
                "gulfshores",
                "habc",
                "harriscountytx",
                "healthsolutions",
                "help4seniors",
                "hiltonheadislandsc",
                "homesa",
                "iehp",
                "indigo",
                "indygo",
                "ipas",
                "ircsheriff",
                "joliet",
                "kcmo",
                "kelloggllc",
                "kipda",
                "kipptexas",
                "kyhousing",
                "lawa",
                "leeschools",
                "losalamosnm",
                "louisvilleky",
                "louisvillemsd",
                "louisvillewater",
                "ltgov",
                "marionfl",
                "marshall",
                "mckinneytexas",
                "mct-act",
                "mdstad",
                "menv",
                "metra",
                "montereycoe",
                "mountainline-az-gov",
                "mrscrosters",
                "mtc",
                "nato",
                "newmexicohsd",
                "nmdps",
                "nmmi",
                "norwichct",
                "npc",
                "nrpbsxm",
                "nsd",
                "olatheks",
                "palmcoastgov",
                "pascocountyfl",
                "pennbid",
                "philaport",
                "portofeverett",
                "portofgalveston",
                "portofskagit",
                "portolympia",
                "preservationtrust",
                "psta",
                "reevescounty",
                "ridedart",
                "ridemetro",
                "rocklandgov",
                "rsdmo",
                "saha",
                "saisd",
                "sara-tx",
                "sccpss",
                "sedonaaz",
                "soltrans",
                "sonomamarintrain",
                "staffordnj",
                "stlcc",
                "stlucieschools",
                "sutter",
                "swib",
                "tampabaywater",
                "tarc",
                "tempe-gov",
                "townofbarnstable",
                "transitchicago",
                "tsc",
                "tulsatransit",
                "twc-texas-gov",
                "txdot",
                "ua",
                "unionps",
                "utah",
                "utdallas",
                "ute-gouv-ht",
                "utexas",
                "uthscsa",
                "uttyler",
                "ventura",
                "waco-texas",
                "wake",
                "wallingford",
                "waukeshacounty",
                "westada",
                "weta",
                "wfsdallas",
                "workforcesolutionsalamo",
                "workforcesolutionsrca"
              ]
            }
          },
          "includeNotices": {
            "title": "Include notices (addenda)",
            "type": "boolean",
            "description": "Premium: fetch public notices/addenda per opportunity (endpoint B). Slower (one extra request per opportunity).",
            "default": false
          },
          "maxItems": {
            "title": "Maximum opportunities",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of opportunities to return in total across all agencies. Leave empty for no limit."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}