v1

latestOpenAPI 3.0.1License2026-08-06111027.5 KB
Packages

Get a list of granules associated with a package

get/packages/{packageId}/granules

Path parameters

packageIdstring required

The Package Id. Ex: CREC-2018-01-04

Query parameters

offsetMarkstring

Indicates starting record for a given request. Use in conjunction with pageSize to paginate through the results. For the first request, use * - for subsequent requests, this information will be provided in the nextPage field of the current response.

offsetinteger

This is the starting record you wish to retrieve-- 0 is the first record. This parameter is being deprecated and will be removed in the future. Please begin transitioning to use offsetMark instead. For more information see the deprecation warning announcement and discussion on this <a href="https://github.com/usgpo/api/issues/187" target="blank"> GitHub issue (usgpo/api #187) <i class="bi bi-github"></i></a>

pageSizeinteger required

The number of records to return for a given request. Max value is 1000

md5string

md5 hash value of the html content file - can be used to identify changes in individual granules for the HOB and CRI collections.

granuleClassstring

Filter the results by overarching collection-specific categories. The values vary from collection to collection. For example, For example, granuleClass in CREC corresponds with Congressional Record Section ---e.g. . DAILYDIGEST, EXTENSIONS, SENATE, HOUSE

Response

OK

countinteger
offsetinteger
pageSizeinteger
nextPagestring
previousPagestring
messagestring