Skip to main content
POST
/
api
/
federalregister
/
public_inspection_documents
/
search
/federalregister/public_inspection_documents/search
curl --request POST \
  --url https://api.anysite.io/api/federalregister/public_inspection_documents/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "current": false,
  "term": "<string>",
  "available_on": "<string>",
  "type": [],
  "agencies": [
    "<string>"
  ],
  "agency_ids": [
    123
  ],
  "docket_id": "<string>"
}
'
[
  {
    "document_number": "<string>",
    "@type": "@federalregister_public_inspection_document",
    "title": "<string>",
    "type": "<string>",
    "subject_1": "<string>",
    "subject_2": "<string>",
    "subject_3": "<string>",
    "toc_doc": "<string>",
    "toc_subject": "<string>",
    "editorial_note": "<string>",
    "excerpts": "<string>",
    "filing_type": "<string>",
    "filed_at": "<string>",
    "publication_date": "<string>",
    "last_public_inspection_issue": "<string>",
    "num_pages": 123,
    "docket_numbers": [],
    "agency_names": [],
    "agencies": [],
    "pdf_file_name": "<string>",
    "pdf_file_size": 123,
    "pdf_updated_at": "<string>",
    "page_view_count": 123,
    "html_url": "<string>",
    "pdf_url": "<string>",
    "raw_text_url": "<string>",
    "json_url": "<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
current
boolean
default:false

Return all documents currently on public inspection (ignores other filters)

term
string | null

Full-text search keyword

available_on
string | null

Filter by public inspection availability date (YYYY-MM-DD)

type
enum<string>[] | null

Filter by document type

Available options:
RULE,
PRORULE,
NOTICE,
PRESDOCU
agencies
string[] | null

Filter by agency slug(s)

agency_ids
integer[] | null

Filter by numeric agency id(s)

docket_id
string | null

Filter by docket id

Response

Successful Response

document_number
string
required
@type
string
default:@federalregister_public_inspection_document
title
string | null
type
string | null
subject_1
string | null
subject_2
string | null
subject_3
string | null
toc_doc
string | null
toc_subject
string | null
editorial_note
string | null
excerpts
string | null
filing_type
string | null
filed_at
string | null
publication_date
string | null
last_public_inspection_issue
string | null
num_pages
integer | null
docket_numbers
string[]
agency_names
string[]
agencies
FederalregisterAgencyRef · object[]
pdf_file_name
string | null
pdf_file_size
integer | null
pdf_updated_at
string | null
page_view_count
integer | null
html_url
string | null
pdf_url
string | null
raw_text_url
string | null
json_url
string | null