{
  "openapi": "3.0.1",
  "info": {
    "title": "SBIR STTR Awards Scraper: Funded Tech Company Leads",
    "description": "Returns new SBIR STTR awards to small tech companies, both SBIR grants and contracts, from NIH, NSF and FPDS: company, UEI, city, state, agency, branch, phase, amount, award date, topic, short abstract, ownership flags and link. Company-level only, no contact names.",
    "version": "1.0",
    "x-build-id": "P8zCgWYOCnrAZmNAL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/agents001~sbir-sttr-awards-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-agents001-sbir-sttr-awards-feed",
        "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/agents001~sbir-sttr-awards-feed/runs": {
      "post": {
        "operationId": "runs-sync-agents001-sbir-sttr-awards-feed",
        "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/agents001~sbir-sttr-awards-feed/run-sync": {
      "post": {
        "operationId": "run-sync-agents001-sbir-sttr-awards-feed",
        "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": {
          "agencies": {
            "title": "Agencies",
            "type": "array",
            "description": "Only awards from these agencies or branches, for example DOD, Air Force, Navy, Army, DARPA, NIH, HHS, NSF, NASA, DOE, DHS, USDA. Leave empty for all agencies.",
            "items": {
              "type": "string"
            }
          },
          "programs": {
            "title": "Programs",
            "type": "array",
            "description": "SBIR, STTR or both. Leave empty for both.",
            "items": {
              "type": "string",
              "enum": [
                "SBIR",
                "STTR"
              ],
              "enumTitles": [
                "SBIR",
                "STTR"
              ]
            }
          },
          "phases": {
            "title": "Phases",
            "type": "array",
            "description": "Only these phases. Phase III awards come from federal contracts (FPDS) only. Leave empty for all phases.",
            "items": {
              "type": "string",
              "enum": [
                "Phase I",
                "Phase II",
                "Phase III",
                "Fast-Track",
                "Commercialization"
              ],
              "enumTitles": [
                "Phase I",
                "Phase II",
                "Phase III",
                "Fast-Track (Phase I and II together)",
                "Commercialization (NIH SB1, NSF commercialization)"
              ]
            }
          },
          "states": {
            "title": "Company states",
            "type": "array",
            "description": "Two-letter US state codes of the company address, for example CA, MA, TX. Leave empty for all states.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Only awards whose title, abstract, topic, industry or company name contains any of these words or phrases, for example 'machine learning', 'battery', 'quantum'. Case-insensitive.",
            "items": {
              "type": "string"
            }
          },
          "minAmount": {
            "title": "Minimum award amount (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop awards below this amount. 0 keeps all amounts.",
            "default": 0
          },
          "daysBack": {
            "title": "Awards from the last N days",
            "minimum": 1,
            "maximum": 1100,
            "type": "integer",
            "description": "Award date window ending today. Ignored when you set a start or end date, or award years. NIH and FPDS publish some awards weeks after the award date, and Defense Department contracts appear about 90 days after signing, so 90 days is a good default.",
            "default": 90
          },
          "dateFrom": {
            "title": "Awarded on or after",
            "type": "string",
            "description": "Optional start date (YYYY-MM-DD). Overrides 'Awards from the last N days'."
          },
          "dateTo": {
            "title": "Awarded on or before",
            "type": "string",
            "description": "Optional end date (YYYY-MM-DD). Defaults to today."
          },
          "awardYears": {
            "title": "Award years",
            "type": "array",
            "description": "Optional calendar years, for example 2025 and 2026. Used when no dates are set. The window may cover at most 1,100 days.",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Which official sources to read. Leave empty for all three. When you name agencies, sources that cannot hold their awards are skipped automatically.",
            "items": {
              "type": "string",
              "enum": [
                "nih",
                "nsf",
                "fpds"
              ],
              "enumTitles": [
                "NIH RePORTER (HHS grants: NIH, CDC, FDA)",
                "NSF Awards (NSF grants)",
                "FPDS (federal contracts: DoD, NASA, DHS, HHS and others)"
              ]
            }
          },
          "includeNihContinuations": {
            "title": "Include NIH yearly continuations",
            "type": "boolean",
            "description": "Also return the yearly non-competing continuation payments of multi-year NIH awards. Off by default, so you get only new awards and competing renewals (Phase II).",
            "default": false
          },
          "abstractLength": {
            "title": "Abstract length",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Shorten abstracts to this many characters. 0 leaves abstracts out. Federal contracts have no abstract.",
            "default": 500
          },
          "onlyNew": {
            "title": "Only awards not seen in previous runs",
            "type": "boolean",
            "description": "Remember which awards were already returned for these filters and only return awards that are new since then. The first run returns everything that matches. Ideal for scheduled daily or weekly runs. Changing the filters starts a fresh history; changing only the date window keeps it.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum award records",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many award records, newest first. 0 means no limit. You pay per award record returned.",
            "default": 500
          },
          "stateStoreName": {
            "title": "State store name",
            "pattern": "^[a-zA-Z0-9-]{1,63}$",
            "type": "string",
            "description": "Only used when 'Only awards not seen in previous runs' is on. Name of the key-value store in your account that keeps the list of awards already returned. Each different set of filters gets its own record inside it. Change it only to keep separate histories. If a run reports that it cannot open the store, enter a different name here.",
            "default": "agents001-sbir-sttr-awards-feed-state"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}