KeyVex Government Publications API

The Government Publications API from KeyVex — 1 operation(s) for government publications.

GitHub OpenAPI

Operations 1

GET /v1/government-publications Returns recent congressional + oversight publications from GovInfo across four… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/keyvex-com:keyvex-com-government-publications-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

keyvex-com-government-publications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KeyVex Government Publications API
  version: 0.102.0
  termsOfService: https://keyvex.com/terms
  description: 'US public financial-disclosure data — congressional trades, insider filings (Form 4), lobbying, Treasury auctions, member profiles. Requires an API key — create a free one at https://keyvex.com and send it as the header `x-api-key: `. A free key returns most public-record datasets (one year of history; no market-price data and a few heavy datasets are on paid plans only), capped at 60 requests/day; paid plans raise the caps. The daily allowance resets at midnight Eastern.'
servers:
- url: https://api.keyvex.com
security:
- ApiKeyAuth: []
tags:
- name: Government Publications
paths:
  /v1/government-publications:
    get:
      operationId: get_government_publications
      summary: Returns recent congressional + oversight publications from GovInfo across four…
      description: 'Returns recent congressional + oversight publications from GovInfo across four collections. Use this when the user asks about: - Committee reports on a specific bill or topic - Recently signed public laws (the ''did it become law'' signal) - Congressional hearing transcripts (testimony from regulators, CEOs, expert witnesses) - GAO oversight reports (independent reviews of federal agencies + programs, often precede SEC/DOJ enforcement on the same target) Collections (filter via the `collection` enum): CRPT — Congressional Reports. Includes committee reports accompanying bills (House hrpt / Senate srpt). Real- time signal on what''s about to move on the floor. PLAW — Public + Private Laws. Bills that were signed into law. The ''what actually got done'' record. CHRG — Congressional Hearings. Transcripts of House + Senate committee hearings — testimony from agency heads, executives, expert witnesses. Hearings often PRECEDE enforcement actions (the public ''why did this happen'' conversation). GAOREPORTS — GAO oversight reports. Independent congressional oversight. NOTE: GovInfo''s GAO collection is a historical archive (~16.5K reports) that is not receiving recent updates — GAO now publishes current reports on gao.gov directly. Use this for historical GAO research; recent reports won''t appear here. Identifier format: each `package_id` is GovInfo''s globally-unique ID (e.g., ''CRPT-119hrpt27'' for House Report 27 of the 119th Congress, ''PLAW-119publ12'' for Public Law 12, ''CHRG-119hhrg54321'' for House hearing 54321). Direct doc lookup by package_id is fastest. Cross-source pairing pattern: Hearing → trade by attending member: get_congressional_trades( bioguide_id:''...'', since:'''') GAO report on agency → SEC follow-on: get_enforcement_actions( text:'''', since:'''') Committee report → bill passage: get_bills + get_roll_call_votes Full document body (PDF / HTML / XML) lives at `package_link`; v1A returns only metadata — agents follow the link for content.'
      parameters:
      - name: package_id
        in: query
        required: false
        description: 'GovInfo packageId. Direct doc lookup, fastest. Example: ''CRPT-119hrpt27''.'
        schema:
          type: string
      - name: collection
        in: query
        required: false
        description: 'Filter to one collection: CRPT (committee reports), PLAW (public laws), CHRG (hearings), GAOREPORTS (GAO).'
        schema:
          type: string
          enum:
          - CRPT
          - PLAW
          - CHRG
          - GAOREPORTS
      - name: doc_class
        in: query
        required: false
        description: 'Sub-class within the collection. Examples: ''hrpt'' (House report), ''srpt'' (Senate report), ''pub'' (public law), ''pvt'' (private law), ''hr'' (House hearing), ''s'' (Senate hearing).'
        schema:
          type: string
      - name: congress
        in: query
        required: false
        description: Congress number as string (e.g., '119').
        schema:
          type: string
      - name: title
        in: query
        required: false
        description: Case-insensitive substring against the package title.
        schema:
          type: string
      - name: since
        in: query
        required: false
        description: ISO date (YYYY-MM-DD). Only documents whose date_issued is on or after this date.
        schema:
          type: string
      - name: until
        in: query
        required: false
        description: ISO date (YYYY-MM-DD). Only documents whose date_issued is on or before this date.
        schema:
          type: string
      - name: sort_by
        in: query
        required: false
        description: 'Default: date_issued.'
        schema:
          type: string
          enum:
          - date_issued
          - last_modified
      - name: sort_order
        in: query
        required: false
        description: 'Default: desc (most recent first).'
        schema:
          type: string
          enum:
          - desc
          - asc
      - name: limit
        in: query
        required: false
        description: Maximum records to return. Default 50, max 500.
        schema:
          type: integer
      responses:
        '200':
          description: 'JSON envelope: { results: [...], count, has_more }.'
        '400':
          description: Invalid parameter.
        '401':
          description: Missing or invalid API key.
        '402':
          description: This tool requires a higher plan (upgrade_required). Retrying will not help.
        '429':
          description: Tier rate/quota limit reached (rate_limited). Retry-After points at the reset.
      tags:
      - Government Publications
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key