{
  "openapi": "3.0.1",
  "info": {
    "title": "US Federal Contract, Subaward & Grant Lead Radar",
    "description": "Track live US federal contract awards, SBIR/R&D grants, contractor UEIs, and open Grants.gov opportunities across USAspending, Grants.gov, GLEIF LEI, and Federal Watchlists. Built for MCP AI agents and scheduled Make, n8n, and Zapier GovCon and B2B sales workflows.",
    "version": "0.0",
    "x-build-id": "QlvSGGhxilI7HEiZL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nathel-enterprise~us-federal-contract-grant-award-radar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nathel-enterprise-us-federal-contract-grant-award-radar",
        "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/nathel-enterprise~us-federal-contract-grant-award-radar/runs": {
      "post": {
        "operationId": "runs-sync-nathel-enterprise-us-federal-contract-grant-award-radar",
        "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/nathel-enterprise~us-federal-contract-grant-award-radar/run-sync": {
      "post": {
        "operationId": "run-sync-nathel-enterprise-us-federal-contract-grant-award-radar",
        "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": {
          "recipientOrAwardQueries": {
            "title": "Contractor Names, 12-Char SAM UEIs or Award IDs (Batch Lookup Mode)",
            "maxItems": 500,
            "type": "array",
            "description": "Optional list of federal contractor/grantee names ('Palantir', 'Booz Allen Hamilton'), 12-character SAM Unique Entity IDs (UEIs), or exact Federal Award IDs/PIIDs to verify across USAspending.gov, Federal Debarment Watchlists, GLEIF LEI, and SEC EDGAR. Up to 500 records on paid plans; 25-record preview on Free plans. Leave empty to use GovCon & Grant Discovery Mode below.",
            "items": {
              "type": "string"
            }
          },
          "feedMode": {
            "title": "Federal Procurement or Grant Feed (Discovery Mode)",
            "enum": [
              "PRIME_CONTRACTS",
              "FEDERAL_GRANTS_AWARDED",
              "ALL_OBLIGATED_AWARDS",
              "IDV_VEHICLES",
              "OPEN_GRANTS_OPPORTUNITIES"
            ],
            "type": "string",
            "description": "Select which live federal award or open grant opportunity feed to scan when recipientOrAwardQueries is empty.",
            "default": "PRIME_CONTRACTS"
          },
          "searchQuery": {
            "title": "Scope, Technology, SBIR or Agency Keyword",
            "type": "string",
            "description": "Optional keyword filter across award descriptions or open grant titles (for example 'Artificial Intelligence', 'Cybersecurity', 'Cloud', 'SBIR', 'Medical', 'Zero Trust')."
          },
          "recipientState": {
            "title": "2-Letter US Recipient State Filter (USAspending)",
            "type": "string",
            "description": "Optional 2-letter US state code filtering contractor/grantee location (for example 'VA', 'MD', 'TX', 'CA', 'DC', 'FL', 'MA')."
          },
          "naicsCode": {
            "title": "6-Digit NAICS Industry Code Filter (Contracts)",
            "type": "string",
            "description": "Optional 2-to-6 digit NAICS code for federal contracts (for example '541511' Custom Software, '541512' Systems Design, '541715' Biotech/R&D, '621' Healthcare)."
          },
          "agencyFilter": {
            "title": "Awarding Agency Keyword or Code Filter",
            "type": "string",
            "description": "Optional awarding agency filter (for example 'Department of Defense', 'Health and Human Services', 'Veterans Affairs', 'Homeland Security', 'NASA', 'Energy')."
          },
          "minAwardAmountUsd": {
            "title": "Minimum Award Amount in USD (USAspending)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum obligated award value in USD (for example 100000 for $100K+ B2B subcontracting leads). Set 0 for all award sizes.",
            "default": 50000
          },
          "daysBack": {
            "title": "Lookback Window in Days (1 to 365)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Search federal contracts or grants started/active within the last N days (default 90 days).",
            "default": 90
          },
          "maxResults": {
            "title": "Maximum Verified Award / Grant Records",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum verified federal award or grant opportunity records to return per run (1 to 500 on paid plans; capped at 25 on Free plans).",
            "default": 25
          },
          "includeDeepEnrichment": {
            "title": "Include Officers, Set-Aside Tags, Grant Contacts, LEI & SEC CIK (Add-On Event)",
            "type": "boolean",
            "description": "When true, fetches USAspending award profiles or Grants.gov synopses to extract reported Executive Officer compensation, SBA business set-aside tags (8(a), SDVOSB, WOSB), subaward counts, Grants.gov agency contact emails/ceilings, GLEIF LEI, and SEC CIKs (triggers deep-enrichment event).",
            "default": false
          },
          "alertWebhookUrl": {
            "title": "GovCon / Grant Alert Webhook URL (Optional)",
            "type": "string",
            "description": "Optional HTTPS webhook URL (Slack, Microsoft Teams, Make, n8n, Clay, or Zapier) notified automatically on new high-value awards, open grants, or watchlist flags."
          },
          "alertOnChangesOnly": {
            "title": "Webhook Alert on New Awards, High-Value Leads or Flags Only",
            "type": "boolean",
            "description": "When true (default), dispatches webhook alerts only on newly detected awards/opportunities (changeDetected) or FLAGGED/REVIEW_REQUIRED records.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}