GovInfo

App · 3 actions

Find official U.S. publications and track changes to congressional bills, statutes and other collections.

Actions

ActionWhat it does
Get a publicationGet a publication's title, issue date, collection and links to available files.
List publication collectionsGet the names and codes of available government publication collections.
List recently added or updated publicationsFind publications in a collection that GovInfo added or updated since a specified time.

Get a publication

Get a publication's title, issue date, collection and links to available files.

Inputs

Package IDpackage_idtextRequired
The publication's package ID, such as FR-2018-08-03.

Outputs

dataobject
The response from GovInfo.
Example output
{
  "data": {
    "collectionCode": "example",
    "dateIssued": "example",
    "detailsLink": "example",
    "download": {},
    "lastModified": "example",
    "packageId": "example",
    "title": "example"
  }
}

List publication collections

Get the names and codes of available government publication collections.

Inputs

None.

Outputs

dataobject
The response from GovInfo.
Example output
{
  "data": {
    "collections": [
      {
        "collectionCode": "example",
        "collectionName": "example",
        "granuleCount": 1,
        "packageCount": 1
      }
    ]
  }
}

List recently added or updated publications

Find publications in a collection that GovInfo added or updated since a specified time.

Inputs

Collectioncollection_codetextRequired
The publication collection to follow, such as BILLS or USCODE.
Sincesincedate and timeRequired
The earliest time a publication was added or updated.
Cursorcursortext
The offsetMark value from the previous page's nextPage link.
Page sizepage_sizenumber
How many publications to return.From 1 to 200.

Outputs

dataobject
The response from GovInfo.
Example output
{
  "data": {
    "count": 1,
    "nextPage": "example",
    "packages": [
      {
        "dateIssued": "example",
        "lastModified": "example",
        "packageId": "example",
        "packageLink": "example",
        "title": "example"
      }
    ]
  }
}

On this page