{
  "openapi": "3.0.1",
  "info": {
    "title": "US Federal Contract Opportunities (SAM.gov)",
    "description": "SAM.gov contract opportunities from the official public extract: solicitations, presolicitations, sources sought, awards. Filter by NAICS, set-aside, state, posted date, type, keyword. No API key. Contacts dropped.",
    "version": "0.1",
    "x-build-id": "oz52xp4gsTy0E97EZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/darikami~us-federal-contract-opportunities/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-darikami-us-federal-contract-opportunities",
        "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/darikami~us-federal-contract-opportunities/runs": {
      "post": {
        "operationId": "runs-sync-darikami-us-federal-contract-opportunities",
        "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/darikami~us-federal-contract-opportunities/run-sync": {
      "post": {
        "operationId": "run-sync-darikami-us-federal-contract-opportunities",
        "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": {
          "postedFrom": {
            "title": "Posted from",
            "type": "string",
            "description": "First posted day (YYYY-MM-DD), included. Empty, with no end day: the last 7 days. The extract holds every active notice, back to 2008."
          },
          "postedTo": {
            "title": "Posted to",
            "type": "string",
            "description": "Last posted day (YYYY-MM-DD), included. Empty: no end. The newest notices are from the day before the extract's date (it is renewed every night)."
          },
          "noticeTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Which notices to return. Empty: every type.",
            "items": {
              "type": "string",
              "enum": [
                "solicitation",
                "combined-synopsis-solicitation",
                "presolicitation",
                "sources-sought",
                "special-notice",
                "award",
                "justification",
                "modification",
                "surplus-sale",
                "bundling"
              ],
              "enumTitles": [
                "Solicitations",
                "Combined synopsis/solicitations",
                "Presolicitations",
                "Sources sought",
                "Special notices",
                "Award notices",
                "Justifications (J&A)",
                "Modifications, amendments, cancellations",
                "Sales of surplus property",
                "Consolidation/bundling notices"
              ]
            }
          },
          "naicsCodes": {
            "title": "NAICS codes or prefixes",
            "type": "array",
            "description": "Keep notices whose NAICS code starts with one of these (2 to 6 digits). 5415 = computer systems design, 236 = building construction, 541330 = engineering services.",
            "items": {
              "type": "string"
            }
          },
          "setAsides": {
            "title": "Set-asides",
            "type": "array",
            "description": "Keep notices with one of these set-aside types. Empty: all, also notices without a set-aside.",
            "items": {
              "type": "string",
              "enum": [
                "SBA",
                "SBP",
                "8A",
                "8AN",
                "HZC",
                "HZS",
                "SDVOSBC",
                "SDVOSBS",
                "WOSB",
                "WOSBSS",
                "EDWOSB",
                "EDWOSBSS",
                "LAS",
                "IEE",
                "ISBEE",
                "BICIV",
                "VSA",
                "VSS",
                "ESB",
                "NONE"
              ],
              "enumTitles": [
                "SBA - Total Small Business Set-Aside (FAR 19.5)",
                "SBP - Partial Small Business Set-Aside (FAR 19.5)",
                "8A - 8(a) Set-Aside (FAR 19.8)",
                "8AN - 8(a) Sole Source (FAR 19.8)",
                "HZC - HUBZone Set-Aside (FAR 19.13)",
                "HZS - HUBZone Sole Source (FAR 19.13)",
                "SDVOSBC - SDVOSB Set-Aside (FAR 19.14)",
                "SDVOSBS - SDVOSB Sole Source (FAR 19.14)",
                "WOSB - WOSB Program Set-Aside (FAR 19.15)",
                "WOSBSS - WOSB Program Sole Source (FAR 19.15)",
                "EDWOSB - EDWOSB Program Set-Aside (FAR 19.15)",
                "EDWOSBSS - EDWOSB Program Sole Source (FAR 19.15)",
                "LAS - Local Area Set-Aside (FAR 26.2)",
                "IEE - Indian Economic Enterprise (Interior)",
                "ISBEE - Indian Small Business Economic Enterprise (Interior)",
                "BICIV - Buy Indian Set-Aside (HHS, Indian Health Service)",
                "VSA - Veteran-Owned Small Business Set-Aside (VA)",
                "VSS - Veteran-Owned Small Business Sole Source (VA)",
                "ESB - Emerging Small Business Set-Aside",
                "NONE - No set-aside used"
              ]
            }
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Two-letter state codes (VA, TX, DC, PR). The actor compares the place of performance; when a notice states no usable one, the contracting office's state. A place abroad counts in no state.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep notices whose title or description contains one of these texts (case ignored), e.g. \"cybersecurity\", \"HVAC\".",
            "items": {
              "type": "string"
            }
          },
          "maxNotices": {
            "title": "Maximum notices",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The run stops after this many notices (and stops reading the extract). Default 1,000.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}