{
  "openapi": "3.0.1",
  "info": {
    "title": "Federal Register Scraper · Rules, Notices & Agency Documents",
    "description": "Federal Register Scraper — search, extract and scrape the Federal Register for US rules, proposed rules, regulations, notices, and presidential documents. Filter by keyword, agency, date, RIN, CFR part, or comment deadline.",
    "version": "1.0",
    "x-build-id": "u0M3w9eZ4wL2jg3S9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/reapx~federal-register-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-reapx-federal-register-scraper",
        "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/reapx~federal-register-scraper/runs": {
      "post": {
        "operationId": "runs-sync-reapx-federal-register-scraper",
        "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/reapx~federal-register-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-reapx-federal-register-scraper",
        "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": {
          "searchTerm": {
            "title": "Search term",
            "type": "string",
            "description": "Full-text search across the document title, abstract and body. Leave empty to match every document."
          },
          "documentTypes": {
            "title": "Document types",
            "type": "array",
            "description": "Limit to certain kinds of document. Leave empty for all four.",
            "items": {
              "type": "string",
              "enum": [
                "RULE",
                "PRORULE",
                "NOTICE",
                "PRESDOCU"
              ],
              "enumTitles": [
                "Final rule",
                "Proposed rule",
                "Notice",
                "Presidential document"
              ]
            }
          },
          "agencies": {
            "title": "Agencies",
            "type": "array",
            "description": "Agency slugs as the Federal Register spells them, e.g. <code>environmental-protection-agency</code>, food-and-drug-administration, securities-and-exchange-commission. The full list is at federalregister.gov/api/v1/agencies.json.<br><br>Leave this field empty to include every option.",
            "items": {
              "type": "string"
            }
          },
          "sections": {
            "title": "Subject sections",
            "type": "array",
            "description": "The Federal Register's own top-level subject grouping.<br><br>Leave this field empty to include every option.",
            "items": {
              "type": "string",
              "enum": [
                "money",
                "business-and-industry",
                "environment",
                "health-and-public-welfare",
                "science-and-technology",
                "world"
              ],
              "enumTitles": [
                "Money",
                "Business and industry",
                "Environment",
                "Health and public welfare",
                "Science and technology",
                "World"
              ]
            }
          },
          "maxDocuments": {
            "title": "Max documents",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on how many documents the run returns. This is also your cost cap: you are charged once per document returned.<br><br>The higher the number, the longer the run takes and the more you are charged, because you pay per row returned."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "oldest",
              "relevance",
              "executive_order_number"
            ],
            "type": "string",
            "description": "Which documents you get when the cap is smaller than the match count.<br><br>Options: <code>newest</code>, <code>oldest</code>, <code>relevance</code>, <code>executive_order_number</code>."
          },
          "publishedLastDays": {
            "title": "Published in the last N days",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Rolling publication window. Ignored if you set an explicit \"Published from\" date.<br><br>The higher the number, the longer the run takes and the more you are charged, because you pay per row returned."
          },
          "publishedFrom": {
            "title": "Published from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Earliest publication date, YYYY-MM-DD."
          },
          "publishedTo": {
            "title": "Published to",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Latest publication date, YYYY-MM-DD."
          },
          "effectiveFrom": {
            "title": "Effective on or after",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Earliest date a rule takes effect, YYYY-MM-DD. Use it to find regulation coming into force."
          },
          "effectiveTo": {
            "title": "Effective on or before",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Latest date a rule takes effect, YYYY-MM-DD."
          },
          "effectiveNextDays": {
            "title": "Takes effect in the next N days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Rolling forward window on the effective date - rules coming into force between today and N days from now. Stays correct as time passes, unlike a fixed date.<br><br>The higher the number, the longer the run takes and the more you are charged, because you pay per row returned."
          },
          "openForCommentOnly": {
            "title": "Open for public comment only",
            "type": "boolean",
            "description": "Keep only documents whose comment period has not closed yet - the actionable rulemaking docket."
          },
          "commentsCloseBefore": {
            "title": "Comments close before",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Latest comment deadline, YYYY-MM-DD. Combine with \"Open for public comment only\" to get deadlines inside a window."
          },
          "significantOnly": {
            "title": "Significant regulatory actions only",
            "type": "boolean",
            "description": "Keep only documents flagged significant under Executive Order 12866 - the economically material ones."
          },
          "cfrTitle": {
            "title": "CFR title",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Code of Federal Regulations title number, e.g. 40 for Protection of Environment, 21 for Food and Drugs."
          },
          "cfrPart": {
            "title": "CFR part",
            "minimum": 1,
            "type": "integer",
            "description": "Part number inside that CFR title. Requires a CFR title to be set."
          },
          "docketId": {
            "title": "Docket ID",
            "type": "string",
            "description": "Agency docket identifier exactly as the agency writes it, e.g. <code>FDA-2026-N-2886.</code><br><br>Leave this field empty to skip this filter."
          },
          "regulationIdNumber": {
            "title": "Regulation ID number (RIN)",
            "type": "string",
            "description": "Unified Agenda RIN, which tracks one rulemaking across all its documents.<br><br>Leave this field empty to skip this filter."
          },
          "presidentialDocumentTypes": {
            "title": "Presidential document types",
            "type": "array",
            "description": "Only meaningful together with the Presidential document type.<br><br>Leave this field empty to include every option.",
            "items": {
              "type": "string",
              "enum": [
                "executive_order",
                "proclamation",
                "determination",
                "memorandum",
                "notice",
                "other"
              ],
              "enumTitles": [
                "Executive order",
                "Proclamation",
                "Determination",
                "Memorandum",
                "Notice",
                "Other"
              ]
            }
          },
          "presidents": {
            "title": "Presidents",
            "type": "array",
            "description": "President slugs, e.g. <code>donald-trump</code>, joe-biden, barack-obama, william-j-clinton, george-w-bush.<br><br>Leave this field empty to include every option.",
            "items": {
              "type": "string"
            }
          },
          "includeFullText": {
            "title": "Include the full document text",
            "type": "boolean",
            "description": "Fetch the complete plain-text body of every document, capped at 40,000 characters. Costs one extra request per document, so a large run takes noticeably longer."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}