{
  "openapi": "3.0.1",
  "info": {
    "title": "US Regulatory Change Digest",
    "description": "New and upcoming US federal rules, proposed rules and notices from the official Federal Register: filter by agency, industry and keyword, with comment deadlines and effective dates.",
    "version": "1.0",
    "x-build-id": "vtdKQYLfe6SirCnIW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/weirworks~regulatory-change-digest/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-weirworks-regulatory-change-digest",
        "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/weirworks~regulatory-change-digest/runs": {
      "post": {
        "operationId": "runs-sync-weirworks-regulatory-change-digest",
        "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/weirworks~regulatory-change-digest/run-sync": {
      "post": {
        "operationId": "run-sync-weirworks-regulatory-change-digest",
        "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": {
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Follow every agency that regulates these industries (combined with any agencies below). Leave empty with no agencies to get all agencies.",
            "items": {
              "type": "string",
              "enum": [
                "food",
                "pharma-medical-devices",
                "healthcare",
                "banking-lending",
                "securities-investments",
                "energy",
                "environment",
                "construction-workplace-safety",
                "transportation",
                "telecom",
                "employment-labor",
                "tax",
                "trade-customs-sanctions",
                "consumer-products-advertising",
                "alcohol-tobacco-firearms",
                "government-contracting",
                "immigration"
              ],
              "enumTitles": [
                "Food (FDA, FSIS, AMS, APHIS)",
                "Pharma and medical devices (FDA, DEA, CMS)",
                "Healthcare (CMS, HHS, FDA)",
                "Banking and lending (CFPB, FDIC, OCC, Fed, NCUA, FinCEN, FHFA)",
                "Securities and investments (SEC, CFTC, FinCEN)",
                "Energy (DOE, FERC, NRC, PHMSA, BSEE)",
                "Environment (EPA, FWS, NOAA, Army Corps)",
                "Construction and workplace safety (OSHA, MSHA, EPA, HUD)",
                "Transportation (FAA, FMCSA, NHTSA, PHMSA, FRA, FTA, Coast Guard, MARAD, STB, FMC)",
                "Telecom (FCC)",
                "Employment and labor (DOL, WHD, NLRB, EEOC, EBSA, OSHA)",
                "Tax (IRS, Treasury, TTB)",
                "Trade, customs and sanctions (CBP, BIS, ITA, OFAC)",
                "Consumer products and advertising (CPSC, FTC)",
                "Alcohol, tobacco and firearms (TTB, ATF, FDA)",
                "Government contracting (DFARS, GSA, SBA)",
                "Immigration (USCIS, CBP)"
              ]
            }
          },
          "agencies": {
            "title": "Agencies",
            "type": "array",
            "description": "Federal Register agency names or slugs, e.g. \"food-and-drug-administration\" or \"Securities and Exchange Commission\" (the slug is in the agency page URL on federalregister.gov).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Full-text search of the documents; each keyword is a separate search and results are combined. Put a phrase in quotes for an exact match, e.g. \"PFAS\" or \"\\\"beneficial ownership\\\"\". Combined with industries/agencies (must match both).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "documentTypes": {
            "title": "Document types",
            "type": "array",
            "description": "Which kinds of Federal Register documents to include.",
            "items": {
              "type": "string",
              "enum": [
                "RULE",
                "PRORULE",
                "NOTICE",
                "PRESDOCU"
              ],
              "enumTitles": [
                "Final rules",
                "Proposed rules",
                "Notices",
                "Presidential documents"
              ]
            },
            "default": [
              "RULE",
              "PRORULE"
            ]
          },
          "daysBack": {
            "title": "Days to look back",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Publication dates covered: today and the days before it (tomorrow's issue is included when it's already online). Use 1 for a daily digest, 7 for weekly.",
            "default": 7
          },
          "onlyNew": {
            "title": "Only new since the last run",
            "type": "boolean",
            "description": "Remember what earlier runs with the same filters returned and report only documents not seen before (and upcoming documents once they are published). Ideal for a scheduled daily or weekly digest.",
            "default": false
          },
          "commentPeriodOpenOnly": {
            "title": "Only open comment periods",
            "type": "boolean",
            "description": "Keep only documents you can still comment on (comment deadline today or later).",
            "default": false
          },
          "significantOnly": {
            "title": "Only significant rules",
            "type": "boolean",
            "description": "Keep only documents marked significant under Executive Order 12866 (major economic or policy impact).",
            "default": false
          },
          "includeCorrections": {
            "title": "Include corrections",
            "type": "boolean",
            "description": "Include correction notices to earlier documents (flagged isCorrection).",
            "default": true
          },
          "includeUpcoming": {
            "title": "Include upcoming (public inspection)",
            "type": "boolean",
            "description": "Also include documents filed for public inspection that publish in the next issue, matched by agency, type and title keywords (status \"upcoming\"; they have no abstract or dates yet).",
            "default": false
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many documents (each is one charged result). Leave empty for no limit."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: the Federal Register API is public. Only set this if your network blocks it.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}