
Packages published since
GET/published/{dateIssuedStartDate}
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "govinfo-api",
"path": "",
"method": "GET",
"query": {
"offsetMark": "",
"pageSize": ,
"collection": ""
}
}'
{
"success": true,
"data": {
"count": 1667,
"message": null,
"nextPage": "https://api.govinfo.gov/published/2019-01-01?offsetMark=AoJ49f%2FF7KEDL0NSRUMtMjAyNi0xMS0xMw%3D%3D&pageSize=1&collection=CREC",
"packages": [ 1 item ],
"previousPage": null
}
}
A real response, recorded when Orthogonal checked this endpoint.
$0.003per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Retrieve list of packages based on dateIssued value: packages whose publication date is on or after the start date, filtered by collection.
Path parameters
dateIssuedStartDaterequiredstringGoes in the path: replace {dateIssuedStartDate} in the request.Query parameters
offsetMarkstringIndicates 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.offsetintegerThis 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>pageSizerequiredintegerThe number of records to return for a given request. Max value is 1000collectionrequiredstringcomma-separated list of collections that you are requesting, e.g. https://api.govinfo.gov/published/2019-01-01/2019-12-31?offset=0&pageSize=100&collection=BILLS,BILLSTATUS&api_key=DEMO_KEY - see /collections for a list of collections by code and human-readable name.congressstringcongress number (e.g. 116)docClassstringFilter the results by overarching collection-specific categories. The values vary from collection to collection. For example, docClass in BILLS corresponds with Bill Type --e.g. s, hr, hres, sconres. CREC (the Congressional Record) has docClass by CREC section: HOUSE, SENATE, DIGEST, and EXTENSIONSbillVersionstringFilter the results by overarching collection-specific categories.modifiedSincestringequivalent to the lastModifiedStartDate parameter in the collections service which is based on lastModified- allows you to request only packages that have been modified since a given date/time - useful for tracking updates. Requires ISO 8601 format -- e.g. 2020-02-28T00:00:00ZcourtCodestringcourtTypestringstatestringtopicstringisGLPbooleannatureSuitCodestringnatureSuitstringResponse types
countintegermessagestringnextPagestringpreviousPagestringMore from GovInfo API
- Collection listGET/collections$0.003 per callFixed
- Collection updates in rangeGET/collections/{collection}/{lastModifiedStartDate}/{lastModifiedEndDate}$0.003 per callFixed
- Related documents by collectionGET/related/{accessId}/{collection}$0.003 per callFixed
- Collection updates sinceGET/collections/{collection}/{lastModifiedStartDate}$0.003 per callFixed
- Package granulesGET/packages/{packageId}/granules$0.003 per callFixed
- Related documentsGET/related/{accessId}$0.003 per callFixed
- Granule summaryGET/packages/{packageId}/granules/{granuleId}/summary$0.003 per callFixed
- Package summaryGET/packages/{packageId}/summary$0.003 per callFixed
- Packages published in rangeGET/published/{dateIssuedStartDate}/{dateIssuedEndDate}$0.003 per callFixed
- Publication searchPOST/search$0.003 per callFixed