Skip to main content
POST
/
api
/
federalregister
/
documents
/
search
/federalregister/documents/search
curl --request POST \
  --url https://api.anysite.io/api/federalregister/documents/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "term": "<string>",
  "type": [],
  "presidential_document_type": [],
  "agencies": [
    "<string>"
  ],
  "agency_ids": [
    123
  ],
  "topics": [
    "<string>"
  ],
  "sections": [],
  "publication_date_is": "<string>",
  "publication_date_gte": "<string>",
  "publication_date_lte": "<string>",
  "publication_date_year": 123,
  "effective_date_is": "<string>",
  "effective_date_gte": "<string>",
  "effective_date_lte": "<string>",
  "cfr_title": 123,
  "cfr_part": "<string>",
  "docket_id": "<string>",
  "regulation_id_number": "<string>",
  "president": [
    "<string>"
  ],
  "significant": true,
  "order": "relevance"
}
'
[
  {
    "document_number": "<string>",
    "@type": "@federalregister_document",
    "title": "<string>",
    "type": "<string>",
    "subtype": "<string>",
    "toc_doc": "<string>",
    "toc_subject": "<string>",
    "abstract": "<string>",
    "action": "<string>",
    "dates": "<string>",
    "excerpts": "<string>",
    "publication_date": "<string>",
    "effective_on": "<string>",
    "comments_close_on": "<string>",
    "signing_date": "<string>",
    "citation": "<string>",
    "volume": 123,
    "start_page": 123,
    "end_page": 123,
    "page_length": 123,
    "significant": true,
    "executive_order_number": "<string>",
    "proclamation_number": "<string>",
    "presidential_document_number": "<string>",
    "docket_ids": [],
    "regulation_id_numbers": [],
    "regulation_id_number_info": [],
    "topics": [],
    "agencies": [],
    "cfr_references": [],
    "dockets": [],
    "page_view_count": 123,
    "comment_url": "<string>",
    "html_url": "<string>",
    "pdf_url": "<string>",
    "public_inspection_pdf_url": "<string>",
    "full_text_xml_url": "<string>",
    "body_html_url": "<string>",
    "raw_text_url": "<string>",
    "mods_url": "<string>",
    "json_url": "<string>",
    "regulations_dot_gov_url": "<string>",
    "regulations_dot_gov_info": {
      "@type": "@federalregister_regulations_dot_gov_info",
      "docket_id": "<string>",
      "document_id": "<string>",
      "agency_id": "<string>",
      "title": "<string>",
      "regulation_id_number": "<string>",
      "comments_count": 123,
      "comments_url": "<string>",
      "supporting_documents_count": 123,
      "supporting_documents": [],
      "checked_at": "<string>"
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of documents to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
term
string | null

Full-text search keyword

type
enum<string>[] | null

Filter by document type

Available options:
RULE,
PRORULE,
NOTICE,
PRESDOCU
presidential_document_type
enum<string>[] | null

Filter presidential documents by their type

Available options:
executive_order,
proclamation,
presidential_memorandum,
determination,
notice,
other
agencies
string[] | null

Filter by agency slug(s)

agency_ids
integer[] | null

Filter by numeric agency id(s)

topics
string[] | null

Filter by topic / CFR indexing term(s)

sections
enum<string>[] | null

Filter by Federal Register section

Available options:
money,
environment,
world,
science-and-technology,
business-and-industry,
health-and-public-welfare
publication_date_is
string | null

Exact publication date (MM/DD/YYYY)

publication_date_gte
string | null

Earliest publication date, inclusive (MM/DD/YYYY)

publication_date_lte
string | null

Latest publication date, inclusive (MM/DD/YYYY)

publication_date_year
integer | null

Publication year

effective_date_is
string | null

Exact effective date (MM/DD/YYYY)

effective_date_gte
string | null

Earliest effective date, inclusive (MM/DD/YYYY)

effective_date_lte
string | null

Latest effective date, inclusive (MM/DD/YYYY)

cfr_title
integer | null

Filter by referenced CFR title number

cfr_part
string | null

Filter by referenced CFR part

docket_id
string | null

Filter by docket id

regulation_id_number
string | null

Filter by regulation id number (RIN)

president
string[] | null

Filter by president identifier(s)

significant
boolean | null

Only documents deemed significant

order
enum<string>
default:relevance

Result ordering

Available options:
relevance,
newest,
oldest,
executive_order_number

Response

Successful Response

document_number
string
required
@type
string
default:@federalregister_document
title
string | null
type
string | null
subtype
string | null
toc_doc
string | null
toc_subject
string | null
abstract
string | null
action
string | null
dates
string | null
excerpts
string | null
publication_date
string | null
effective_on
string | null
comments_close_on
string | null
signing_date
string | null
citation
string | null
volume
integer | null
start_page
integer | null
end_page
integer | null
page_length
integer | null
significant
boolean | null
executive_order_number
string | null
proclamation_number
string | null
presidential_document_number
string | null
docket_ids
string[]
regulation_id_numbers
string[]
regulation_id_number_info
FederalregisterRegulationIdNumber · object[]
topics
string[]
agencies
FederalregisterAgencyRef · object[]
cfr_references
FederalregisterCfrReference · object[]
dockets
FederalregisterDocket · object[]
page_view_count
integer | null
comment_url
string | null
html_url
string | null
pdf_url
string | null
public_inspection_pdf_url
string | null
full_text_xml_url
string | null
body_html_url
string | null
raw_text_url
string | null
mods_url
string | null
json_url
string | null
regulations_dot_gov_url
string | null
regulations_dot_gov_info
FederalregisterRegulationsDotGovInfo · object