
Collection updates since
GET/collections/{collection}/{lastModifiedStartDate}
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":
}
}'
{
"success": true,
"data": {
"count": 6045,
"message": null,
"nextPage": "https://api.govinfo.gov/collections/CREC/2018-01-28T20:18:10Z?offsetMark=AoJ49f%2FF7KEDL0NSRUMtMjAyNi0xMS0xMw%3D%3D&pageSize=1",
"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 new or updated packages for a collection given a start date and time (GovInfo system update time).
Path parameters
collectionrequiredstringGoes in the path: replace {collection} in the request.lastModifiedStartDaterequiredstringGoes in the path: replace {lastModifiedStartDate} 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 1000congressintegerFilters results by Congress, where applicable. For example 113 or 114.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.billVersionstringFilter the results by overarching collection-specific categories.courtCodestringcourtTypestringstatestringtopicstringisGLPbooleannatureSuitCodestringnatureSuitstringResponse 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
- 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
- Packages published sinceGET/published/{dateIssuedStartDate}$0.003 per callFixed