Custom Connector

GovInfo API Connector

US

The GovInfo Connector provides access to U.S. Government publications and legislative documents via a RESTful API powered by GovInfo.gov. It lets users query collections like congressional records, bills, statutes, hearings, and more — ideal for civic tech platforms, legal research tools, and government data dashboards.

Type
Virtual machines, Single VM, BYOL
Runs on
Google Compute Engine
Last update
24 Oct 2024
Category
Integration
Overview

Integration Overview

The GovInfo Connector exposes the following endpoints:

  • getCollections. Retrieve metadata and configuration of collections (e.g. BILLS, CREC).
  • searchCollection. Search documents within collections using rich filters.
  • getPackage. Get metadata about a specific package.
  • getRelatedPackages. Access related documents/packages for a given ID.
  • getPackageFile. Get specific document content in a chosen format (PDF, XML).
  • getUpdatedPackages. Get new or updated documents since a date.
  • getApiVersion. Return the current API version.
Documentation

Detailed Integration Documentation

Get Collections

Operation IDgetCollections
Endpoint/collections
PurposeLists all available collections (e.g. BILLS, CREC).
OutputJSON with collection metadata.
Workflow exampleDynamically populate dropdowns for filtering.

Search Collection by Parameters

Operation IDsearchCollection
Endpoint/collections/{collection}/search
PurposeSearch for documents in a specific collection.
OutputMatching results with document metadata.
Workflow exampleUse in advanced search interfaces for federal publications.

Get Package Metadata

Operation IDgetPackage
Endpoint/packages/{packageId}
ParameterspackageId (path): e.g. BILLS-117hr1ih.
PurposeRetrieve detailed metadata about a document package.
OutputJSON with full package metadata.
Workflow exampleUsed to show summary info before downloading the file.

Get Related Documents for Package

Operation IDgetRelatedPackages
Endpoint/packages/{packageId}/related
PurposeReturns related documents/packages to a given ID.
OutputJSON list of related package IDs.
Workflow exampleNavigate to related legislation or hearings.

Get Specific Document by Format

Operation IDgetPackageFile
Endpoint/packages/{packageId}/files/{fileName}
PurposeFetch a document in a specific format (e.g. PDF, XML).
OutputFile stream (application/pdf, application/xml, etc.).
Workflow exampleUsed to display or download the actual legal document.

Get Collection Updates by Date

Operation IDgetUpdatedPackages
Endpoint/collections/{collection}/{lastModifiedStartDate}
Parameterscollection (path); lastModifiedStartDate (path, ISO 8601).
PurposeGet new or updated documents since a date.
OutputJSON with updated packages.
Workflow exampleUse in a background job to sync newly published documents.

Get API Version

Operation IDgetApiVersion
Endpoint/version
PurposeReturns the current API version.
OutputVersion string.
Workflow exampleValidate compatibility before integration.

Example Workflow: Congressional Document Viewer

Load collectionsCall /collections to load all available collections.
SearchUser selects a collection and applies filters via /collections/{collection}/search.
Show summaryCall /packages/{packageId} to show a document summary.
Download/viewUse /packages/{packageId}/files/{fileName} to view or download the full file.
Sync updatesUse /collections/{collection}/{lastModifiedStartDate} to sync new updates.
Support

For technical support, contact custom-connectors-support@isolutions.sa.

free consultation

Schedule a Free Consultation With Our Specialists

Book a free demo
request

Begin Your Adventure With Experienced Professionals

Send request
help desk

Do You Have Questions or Want More Information? Call Now.

Contact support