
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": {
"relatedId": "BILLS-115hr1625enr",
"relationships": [ 10 items ]
}
}
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: the collections holding documents related to a package or granule (bill versions, bill history, laws, reports, Federal Register documents by RIN).
Path parameters
accessIdrequiredstringGoes in the path: replace {accessId} in the request.More 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
- 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