
Related documents by collection
GET/related/{accessId}/{collection}
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"
}'
{
"success": true,
"data": {
"results": [ 7 items ],
"relatedId": "BILLS-115hr1625enr"
}
}
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
Get a list of relationships for a given accessId within one collection: the related packages or granules in that collection.
Path parameters
accessIdrequiredstringGoes in the path: replace {accessId} in the request.collectionrequiredstringGoes in the path: replace {collection} in the request.Query parameters
granuleClassstringsubGranuleClassstringMore from GovInfo API
- Collection listGET/collections$0.003 per callFixed
- Collection updates in rangeGET/collections/{collection}/{lastModifiedStartDate}/{lastModifiedEndDate}$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
- Packages published sinceGET/published/{dateIssuedStartDate}$0.003 per callFixed