{
  "openapi": "3.0.1",
  "info": {
    "title": "SAM.gov Contract Opportunities: Daily RFP Alerts, No API Key",
    "description": "Get new federal contract opportunities from SAM.gov as Excel, no API key and no coding: filter by NAICS, set-aside (8(a), WOSB, SDVOSB, HUBZone), notice type, state and keywords. Schedule it daily for government RFP alerts.",
    "version": "0.1",
    "x-build-id": "pVpDwXDj2a9rgf8Ve"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/alpine-data~sam-gov-contract-opportunities/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-alpine-data-sam-gov-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/alpine-data~sam-gov-contract-opportunities/runs": {
      "post": {
        "operationId": "runs-sync-alpine-data-sam-gov-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/alpine-data~sam-gov-contract-opportunities/run-sync": {
      "post": {
        "operationId": "run-sync-alpine-data-sam-gov-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": {
          "naicsCodes": {
            "title": "1. Which industry? (NAICS code)",
            "type": "array",
            "description": "Pick one or more NAICS codes. A short code includes all longer codes, e.g. 54 = all professional services, 5415 = all IT services. You can also type any 2–6 digit code (e.g. 236220) or a word such as janitorial or cybersecurity. Leave empty for all industries.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "11",
                "21",
                "22",
                "23",
                "236",
                "237",
                "238",
                "31-33",
                "334",
                "336",
                "339",
                "42",
                "44-45",
                "48-49",
                "51",
                "518",
                "52",
                "53",
                "54",
                "5415",
                "541511",
                "541512",
                "541519",
                "5413",
                "541330",
                "5416",
                "541611",
                "5417",
                "5418",
                "56",
                "5613",
                "561210",
                "561612",
                "561720",
                "561730",
                "562",
                "61",
                "62",
                "71",
                "72",
                "81",
                "811",
                "92"
              ],
              "enumTitles": [
                "11 – Agriculture, forestry, fishing",
                "21 – Mining, oil and gas",
                "22 – Utilities",
                "23 – Construction",
                "236 – Building construction",
                "237 – Heavy and civil engineering construction",
                "238 – Specialty trade contractors (electrical, HVAC, roofing …)",
                "31-33 – Manufacturing",
                "334 – Computer and electronic products",
                "336 – Transportation equipment (aircraft, ships, vehicles)",
                "339 – Medical equipment and supplies",
                "42 – Wholesale trade",
                "44-45 – Retail trade",
                "48-49 – Transportation and warehousing",
                "51 – Information (software publishing, telecom, data)",
                "518 – Data processing and hosting",
                "52 – Finance and insurance",
                "53 – Real estate, rental and leasing",
                "54 – Professional, scientific and technical services",
                "5415 – IT services (programming, systems design, cybersecurity)",
                "541511 – Custom computer programming",
                "541512 – Computer systems design",
                "541519 – Other computer related services",
                "5413 – Architecture and engineering",
                "541330 – Engineering services",
                "5416 – Management and technical consulting",
                "541611 – Administrative management consulting",
                "5417 – Scientific research and development",
                "5418 – Advertising and marketing",
                "56 – Administrative, support, waste management",
                "5613 – Staffing and employment services",
                "561210 – Facilities support services",
                "561612 – Security guards and patrol",
                "561720 – Janitorial services",
                "561730 – Landscaping services",
                "562 – Waste management and remediation",
                "61 – Educational services and training",
                "62 – Health care and social assistance",
                "71 – Arts, entertainment, recreation",
                "72 – Accommodation and food services",
                "81 – Repair, maintenance and other services",
                "811 – Repair and maintenance",
                "92 – Public administration"
              ]
            }
          },
          "postedWithinDays": {
            "title": "2. Posted in the last … days",
            "type": "string",
            "description": "How far back to look by posting date. 1 = yesterday and today. For a daily alert pick 2 or 3 together with 'Only new opportunities since my last run' (weekends and late uploads are then covered). You can also type a whole number from 1 to 3650, e.g. 45. Negative numbers, 0 or text stop the run with a message; nothing is charged.",
            "default": "3"
          },
          "setAside": {
            "title": "3. Set-aside type (optional)",
            "type": "array",
            "description": "Only opportunities reserved for a small-business program, e.g. 8(a), WOSB, SDVOSB or HUBZone. Leave empty for all opportunities, set-aside or not.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "any",
                "small_business",
                "8a",
                "wosb",
                "sdvosb",
                "hubzone",
                "vosb",
                "indian",
                "local",
                "none"
              ],
              "enumTitles": [
                "Any set-aside (all small-business programs)",
                "Small business set-aside (total or partial)",
                "8(a) set-aside or sole source",
                "Women-owned small business (WOSB / EDWOSB)",
                "Service-disabled veteran-owned (SDVOSB)",
                "HUBZone set-aside or sole source",
                "Veteran-owned small business (VA only)",
                "Indian / Buy Indian set-asides",
                "Local area set-aside",
                "No set-aside (full and open competition)"
              ]
            }
          },
          "noticeTypes": {
            "title": "4. Notice types",
            "type": "array",
            "description": "Which kinds of notices. The default = notices you can still respond to: Solicitations (RFP/RFQ), Combined Synopsis/Solicitations, Presolicitations and Sources Sought (RFI). Add 'Award Notice' to see who won.",
            "items": {
              "type": "string",
              "enum": [
                "solicitation",
                "combined",
                "presolicitation",
                "sources_sought",
                "special",
                "award",
                "justification",
                "modification",
                "surplus",
                "bundle"
              ],
              "enumTitles": [
                "Solicitation (RFP / RFQ / IFB)",
                "Combined Synopsis/Solicitation",
                "Presolicitation",
                "Sources Sought / RFI (market research)",
                "Special Notice (industry days, events)",
                "Award Notice (who won)",
                "Justification (sole source)",
                "Modification / Amendment / Cancel",
                "Sale of Surplus Property",
                "Consolidate / Bundle"
              ]
            },
            "default": [
              "solicitation",
              "combined",
              "presolicitation",
              "sources_sought"
            ]
          },
          "states": {
            "title": "5. Place of performance: state (optional)",
            "type": "array",
            "description": "Where the work is done. Names or 2-letter codes both work (Virginia, VA). Leave empty for all states and overseas.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "ALL",
                "AL",
                "AK",
                "AZ",
                "AR",
                "CA",
                "CO",
                "CT",
                "DE",
                "DC",
                "FL",
                "GA",
                "HI",
                "ID",
                "IL",
                "IN",
                "IA",
                "KS",
                "KY",
                "LA",
                "ME",
                "MD",
                "MA",
                "MI",
                "MN",
                "MS",
                "MO",
                "MT",
                "NE",
                "NV",
                "NH",
                "NJ",
                "NM",
                "NY",
                "NC",
                "ND",
                "OH",
                "OK",
                "OR",
                "PA",
                "RI",
                "SC",
                "SD",
                "TN",
                "TX",
                "UT",
                "VT",
                "VA",
                "WA",
                "WV",
                "WI",
                "WY",
                "PR",
                "GU",
                "VI",
                "AS",
                "MP"
              ],
              "enumTitles": [
                "All states",
                "Alabama (AL)",
                "Alaska (AK)",
                "Arizona (AZ)",
                "Arkansas (AR)",
                "California (CA)",
                "Colorado (CO)",
                "Connecticut (CT)",
                "Delaware (DE)",
                "District of Columbia (DC)",
                "Florida (FL)",
                "Georgia (GA)",
                "Hawaii (HI)",
                "Idaho (ID)",
                "Illinois (IL)",
                "Indiana (IN)",
                "Iowa (IA)",
                "Kansas (KS)",
                "Kentucky (KY)",
                "Louisiana (LA)",
                "Maine (ME)",
                "Maryland (MD)",
                "Massachusetts (MA)",
                "Michigan (MI)",
                "Minnesota (MN)",
                "Mississippi (MS)",
                "Missouri (MO)",
                "Montana (MT)",
                "Nebraska (NE)",
                "Nevada (NV)",
                "New Hampshire (NH)",
                "New Jersey (NJ)",
                "New Mexico (NM)",
                "New York (NY)",
                "North Carolina (NC)",
                "North Dakota (ND)",
                "Ohio (OH)",
                "Oklahoma (OK)",
                "Oregon (OR)",
                "Pennsylvania (PA)",
                "Rhode Island (RI)",
                "South Carolina (SC)",
                "South Dakota (SD)",
                "Tennessee (TN)",
                "Texas (TX)",
                "Utah (UT)",
                "Vermont (VT)",
                "Virginia (VA)",
                "Washington (WA)",
                "West Virginia (WV)",
                "Wisconsin (WI)",
                "Wyoming (WY)",
                "Puerto Rico (PR)",
                "Guam (GU)",
                "U.S. Virgin Islands (VI)",
                "American Samoa (AS)",
                "Northern Mariana Islands (MP)"
              ]
            }
          },
          "keywords": {
            "title": "6. Keywords (optional)",
            "type": "array",
            "description": "Keeps opportunities whose title or description mentions ANY of these words. Example: cybersecurity, HVAC, janitorial. A * at the end matches word endings (cloud* = cloud, clouds). One word or phrase per line (commas also work).",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max opportunities (cost limit)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The run stops after this many opportunities, so you never pay more than you expect. Example: 100 opportunities cost at most $0.19 + $0.002 run fee.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only new opportunities since my last run",
            "type": "boolean",
            "description": "Remembers which notices you already got (in a key-value store named 'sam-gov-contract-opportunities-state' in your own Apify account) and skips them next time. Skipped notices are free.",
            "default": false
          },
          "stateKey": {
            "title": "Alert name (only if you run several alerts)",
            "type": "string",
            "description": "Optional. Each different search already keeps its own 'already seen' list. Give a name only if you want to keep that list when you change the filters. Example: va-it-alert."
          },
          "agencies": {
            "title": "Agency (optional)",
            "type": "array",
            "description": "Only opportunities from these departments or agencies. You can also type a name or short form, e.g. VA, GSA, Army, NASA, Forest Service, Corps of Engineers.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "DEPT OF DEFENSE",
                "DEPT OF THE ARMY",
                "DEPT OF THE NAVY",
                "DEPT OF THE AIR FORCE",
                "DEFENSE LOGISTICS AGENCY",
                "VETERANS AFFAIRS",
                "GENERAL SERVICES ADMINISTRATION",
                "HOMELAND SECURITY",
                "AGRICULTURE, DEPARTMENT OF",
                "INTERIOR, DEPARTMENT OF THE",
                "JUSTICE, DEPARTMENT OF",
                "STATE, DEPARTMENT OF",
                "NATIONAL AERONAUTICS AND SPACE ADMINISTRATION",
                "TRANSPORTATION, DEPARTMENT OF",
                "HEALTH AND HUMAN SERVICES",
                "ENERGY, DEPARTMENT OF",
                "COMMERCE, DEPARTMENT OF",
                "ENVIRONMENTAL PROTECTION AGENCY"
              ],
              "enumTitles": [
                "Department of Defense (all, incl. Army, Navy, Air Force, DLA)",
                "Army",
                "Navy",
                "Air Force",
                "Defense Logistics Agency (DLA)",
                "Veterans Affairs (VA)",
                "General Services Administration (GSA)",
                "Homeland Security (DHS)",
                "Agriculture (USDA)",
                "Interior (DOI)",
                "Justice (DOJ)",
                "State Department",
                "NASA",
                "Transportation (DOT)",
                "Health and Human Services (HHS)",
                "Energy (DOE)",
                "Commerce (DOC)",
                "Environmental Protection Agency (EPA)"
              ]
            }
          },
          "minDaysUntilDeadline": {
            "title": "Minimum days left until the response deadline",
            "minimum": -3650,
            "maximum": 3650,
            "type": "integer",
            "description": "Skips opportunities whose deadline is sooner than this. 0 = drop deadlines that have already passed; 7 = at least a week to respond. Notices without a deadline (e.g. awards) are kept. Leave empty to keep everything.",
            "default": 0
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drops opportunities whose title or description mentions any of these words. Example: brand name, Japan.",
            "items": {
              "type": "string"
            }
          },
          "keywordsIn": {
            "title": "Search keywords in",
            "enum": [
              "title_or_description",
              "title"
            ],
            "type": "string",
            "description": "Where to look for your keywords.",
            "default": "title_or_description"
          },
          "pscCodes": {
            "title": "Product/service code (PSC)",
            "type": "array",
            "description": "Optional. Only opportunities whose PSC starts with these codes. Example: D3 (IT services), R4 (professional support), Z2 (building repair).",
            "items": {
              "type": "string"
            }
          },
          "matchOfficeState": {
            "title": "Use the contracting office's state if no place of performance is given",
            "type": "boolean",
            "description": "Many notices leave the place of performance empty. When on, such notices match your state filter by the contracting office's state.",
            "default": true
          },
          "postedFrom": {
            "title": "Posted from (exact date)",
            "type": "string",
            "description": "Optional. Use an exact start date instead of 'Posted in the last … days'. Example: 2026-10-01 (10/01/2026 also works)."
          },
          "includeContacts": {
            "title": "Include contracting officer contact (name, email, phone)",
            "type": "boolean",
            "description": "Adds the official government point of contact published on the notice (the person to send questions to). Off by default.",
            "default": false
          },
          "includeFullDescription": {
            "title": "Include the full description text",
            "type": "boolean",
            "description": "Adds the complete notice description (up to 32,000 characters, the Excel cell limit). Off by default: a 400-character snippet is always included.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}