For Agents
Search and retrieve official U.S. government publications such as bills, regulations, and the Federal Register, with structured metadata and links to authenticated documents.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the GovInfo API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with GovInfo API.
List GPO content collections such as BILLS, FR, and CFR with their available date ranges
Retrieve package summaries containing metadata, citations, and document download links
Fetch granules within a package - for example individual sections of a Federal Register issue
GET STARTED
Use for: Search for a specific congressional bill by number, Retrieve the Federal Register issue published yesterday, Find all Code of Federal Regulations sections about environmental protection, Get the full metadata for a public law package
Not supported: Does not handle bill voting, member contact details, or non-U.S. government documents - use for retrieving published GPO content such as bills, the Federal Register, and the CFR only.
The GovInfo API provides programmatic access to U.S. Government Publishing Office (GPO) content, including congressional bills, the Federal Register, the Code of Federal Regulations, public laws, and committee reports. Agents can list available collections, retrieve package and granule summaries, list packages by dateIssued from a given start date, and query the GovInfo search service. Responses link to authenticated PDF, XML, and HTML renditions of each document so downstream applications can cite official sources directly. GPO publishes its own OpenAPI document for this API at `https://api.govinfo.gov/api-docs` (openapi 3.0.1, info.version 2.0, 11 operations) and that file is canonical. The specification bound to this page is a Jentic-built, agent-optimized 7-operation subset written from GPO's HTML docs page rather than from GPO's own document; adoption of the official file is pending, so treat GPO's document as the authority on methods, routes and required parameters.
Query the GovInfo search service with full-text queries and field operators such as congress and publishdate
List packages whose dateIssued falls on or after a given start date, for daily monitoring workflows
Resolve a package or granule ID into citation-ready bibliographic metadata
Patterns agents use GovInfo API for, with concrete tasks.
★ Legislative Tracking
Monitor congressional activity by polling the GovInfo BILLS collection for newly published bills and resolutions. GPO's collections service returns paginated package metadata for packages new or updated since a start date and time, and its official route requires that date segment (/collections/{collection}/{lastModifiedStartDate}), so an agent can detect new filings, fetch the package summary, and pull citation data without scraping Congress.gov pages.
List packages in the BILLS collection added since 2026-06-01 and return the package IDs, titles, and download URLs for any bill mentioning 'artificial intelligence'.
Federal Register Monitoring
Pull Federal Register issues published from a given date onward to surface new agency rules, proposed rules, and notices. Agents call /published/{dateStr} with the required collection filter set to FR, then fetch granule summaries to extract docket numbers, agency names, and effective dates. This avoids manual review of the daily issue, which can run hundreds of pages.
Get the Federal Register granules published on or after 2026-06-09 from the FR collection and return any granule whose agency field matches 'EPA'.
Citation and Reference Lookup
Resolve a package ID such as a CFR title or public law citation into full bibliographic metadata, including official document URLs in XML, PDF, and HTML formats. Useful for legal research tools, academic citation generators, and AI assistants that need to ground answers in primary government sources rather than secondary commentary.
Call /packages/{packageId}/summary for packageId 'PLAW-117publ328' and return the title, congress, and PDF download URL.
AI Agent Government Document Retrieval
An agent answering questions about U.S. law or regulations can call GovInfo via Jentic to ground responses in authenticated documents. Jentic exposes the search and package endpoints as tools, so the agent issues a search query, loads matching package IDs, and retrieves summaries - all while the GovInfo api_key stays in your Jentic One instance.
Search GovInfo for 'climate disclosure rules' across the FR collection in 2026, then fetch the package summary for the top-ranked result.
7 endpoints — the govinfo api provides programmatic access to u.
METHOD
PATH
DESCRIPTION
/collections
List available GPO content collections
/packages/{packageId}/summary
Get bibliographic metadata for a package
/packages/{packageId}/granules
List granules contained in a package
/packages/{packageId}/granules/{granuleId}/summary
Returns metadata summary for a specific granule
/published/{dateStr}
List packages with a dateIssued on or after the given start date
/collections
List available GPO content collections
/packages/{packageId}/summary
Get bibliographic metadata for a package
/packages/{packageId}/granules
List granules contained in a package
/packages/{packageId}/granules/{granuleId}/summary
Returns metadata summary for a specific granule
/published/{dateStr}
List packages with a dateIssued on or after the given start date
Three things that make agents converge on Jentic-routed access.
Credential isolation
Your GovInfo API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'find bills published on a date' or 'get a package summary', and Jentic returns the matching GovInfo operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Time to first call
Alternatives and complements available in the Jentic catalogue.
Specific to using GovInfo API through Jentic.
What authentication does the GovInfo API use?
The GovInfo API uses an API key passed as the api_key query parameter on every request. Free keys are issued through api.data.gov. When called via Jentic, the key is stored encrypted in your Jentic One instance and injected at execution time so the agent never handles the raw credential.
Can I search across all GovInfo collections at once with this API?
Yes, but the search service takes a POST, not a GET. GPO's official document declares only a POST operation on /search, and a GET to that path returns HTTP 400 with the message '/search does not support GET requests. Please use a POST method, supplying a JSON request body with your query.' The JSON body accepts query, pageSize, offsetMark, sorts, historical and resultLevel; there is no collection parameter, so you scope a query by using field operators such as congress and publishdate inside the query string. Results carry packageId values that can then be fetched via /packages/{packageId}/summary for full metadata.
What are the rate limits for the GovInfo API?
GovInfo is fronted by the api.data.gov gateway, whose developer manual states that rate limits may vary by service but the default is an hourly limit of 1,000 requests per hour per API key. Exceeding it returns HTTP 429 with code OVER_RATE_LIMIT, and GovInfo's own message on that response points you to govinfo@gpo.gov. Plan batch jobs accordingly and cache package summaries since the underlying documents rarely change after publication.
How do I retrieve documents published on or after a given date through Jentic?
Install Jentic One, import the GovInfo API from the Jentic API Directory, then have your agent search for 'retrieve government documents published on a date'. Jentic returns the GET /published/{dateStr} operation. Load its schema and supply dateStr in YYYY-MM-DD form. GPO's official document marks both the collection filter and pageSize as required on this operation, so pass a collection code such as FR and a pageSize as well; a call with no collection returns HTTP 500. The response lists packages with a dateIssued on or after that date, so filter or bound the result yourself if you need a single day.
Is the GovInfo API free to use?
Yes, the GovInfo API is free. GPO's official document states that the API requires an API.data.gov key and links to its signup page at `https://www.govinfo.gov/api-signup`, and the api.data.gov developer manual puts the default at 1,000 requests per hour per key. GovInfo is operated by the U.S. Government Publishing Office as a public service.
What document formats can I get back from a package?
Each package summary returned by /packages/{packageId}/summary includes download URLs for the formats GPO publishes for that document type - typically PDF, XML, HTML, and a metadata MODS file. Not every collection offers every format, so check the download object on the response before requesting a specific file.
Is there a GovInfo API MCP server?
You do not need an MCP server to give your agent the GovInfo API. Jentic connects it directly from the Jentic API Directory: import the API, store your api.data.gov key once in your self-hosted Jentic One instance, and your agent gets the full 7-endpoint surface across collections, packages, granules, published dates, and search. Operations are discovered on demand, so no extra server's tool definitions sit in the agent's context, and your rules decide which of them the agent may call.
Can I limit what my agent is allowed to do with the GovInfo API?
Yes. Because you run Jentic One yourself, your own rules decide which GovInfo operations the agent may call, so you can grant only the read operations you want, such as /search and /packages/{packageId}/summary while withholding the others. Since GovInfo puts the collection and package id in the URL path, a rule can pin the agent to a single collection like FR or CFR or to one package id. Every operation here is read-only, so the agent can retrieve and cite documents but cannot alter anything, and any operation you do not name is not available to it.