{
  "openapi": "3.0.1",
  "info": {
    "title": "Federal Register API Feed: Rules, Proposed Rules & Notices",
    "description": "Daily Federal Register API feed: new rules, proposed rules, notices, executive orders and other presidential documents, plus the public inspection desk. Filter by agency, type, keyword, CFR part or open comment period; dedupe across runs. Unofficial.",
    "version": "0.1",
    "x-build-id": "fWnWPZbpQPzTTsWF0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fecklesspleb~federal-register-documents-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fecklesspleb-federal-register-documents-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/fecklesspleb~federal-register-documents-feed/runs": {
      "post": {
        "operationId": "runs-sync-fecklesspleb-federal-register-documents-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/fecklesspleb~federal-register-documents-feed/run-sync": {
      "post": {
        "operationId": "run-sync-fecklesspleb-federal-register-documents-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "daily_feed",
              "date_range"
            ],
            "type": "string",
            "description": "Daily feed reads the last few issues and skips documents you already got. Date range reads every issue between two publication dates.",
            "default": "daily_feed"
          },
          "lookbackDays": {
            "title": "Look back (days)",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "Daily feed only: reads every issue published from this many calendar days before today through today, both included (US Eastern dates). Issues come out on weekdays only, so 3 reads 4 issues when run on a Thursday or Friday, 3 on a Wednesday or Saturday, and 2 on a Sunday, Monday or Tuesday (fewer after a federal holiday). 0 = today's issue only.",
            "default": 3
          },
          "startDate": {
            "title": "Published from",
            "type": "string",
            "description": "Date range only: first publication date (YYYY-MM-DD, 1994 or later)."
          },
          "endDate": {
            "title": "Published to",
            "type": "string",
            "description": "Date range only: last publication date. Empty = today. Up to 10 years per run."
          },
          "documentTypes": {
            "title": "Document types",
            "type": "array",
            "description": "Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "RULE",
                "PRORULE",
                "NOTICE",
                "PRESDOCU"
              ],
              "enumTitles": [
                "Rules (final)",
                "Proposed rules",
                "Notices",
                "Presidential documents"
              ]
            }
          },
          "agencies": {
            "title": "Agencies",
            "type": "array",
            "description": "FederalRegister.gov agency slugs, e.g. environmental-protection-agency, food-and-drug-administration, coast-guard (the last part of the agency page URL). Empty = all agencies.",
            "items": {
              "type": "string"
            }
          },
          "searchTerm": {
            "title": "Keyword search",
            "type": "string",
            "description": "Full-text search as on FederalRegister.gov, e.g. artificial intelligence or \"per- and polyfluoroalkyl\". For public inspection documents only titles are matched."
          },
          "significantOnly": {
            "title": "Only significant (EO 12866) documents",
            "type": "boolean",
            "description": "Keep documents marked significant under Executive Order 12866 (mostly rules and proposed rules).",
            "default": false
          },
          "openForCommentOnly": {
            "title": "Only documents open for comment",
            "type": "boolean",
            "description": "Keep documents whose comment period closes today or later.",
            "default": false
          },
          "cfrTitle": {
            "title": "CFR title",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Only documents affecting this Code of Federal Regulations title, e.g. 40."
          },
          "cfrPart": {
            "title": "CFR part",
            "type": "string",
            "description": "Optional part within the CFR title, e.g. 52. Needs CFR title."
          },
          "includePublicInspection": {
            "title": "Also include today's public inspection desk",
            "type": "boolean",
            "description": "Adds documents filed for public inspection (available before they are published), with the same type, agency and title-keyword filters. They are charged like any document. With only-new on, a document whose public inspection filing you already got under the same state key is skipped and not charged again when it is published (matched by document number).",
            "default": false
          },
          "onlyNewSinceLastRun": {
            "title": "Only new since last run",
            "enum": [
              "auto",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Skip documents this Actor already delivered under the same state key, including published documents already delivered as public inspection filings (same document number). Skipped documents are not charged.",
            "default": "auto"
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Separate dedupe memory per feed, e.g. one key per schedule with different filters.",
            "default": "default"
          },
          "maxItems": {
            "title": "Max documents",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Stop after this many documents (each is one charged event, $0.001). Empty = 9. A full issue had 63 to 146 documents (measured October 13-30, 2026), so raise this to get whole issues.",
            "default": 9
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}