This is not possible through the REST API. You will need to retrieve all global packages and filter for the specific package programmatically.
However, if you are using PHP or Node.js, you can leverage our SDK. It provides a more flexible way to access package data, with the package_id
as the key in the JSON response.