PrimeHub provides API to allow third party program to access. Regarding querying API, a valid token is mandatory. Here are steps generating a valid token.
User Portaland hover over the top-right icon.
Request API Tokento generate a new token, any existing token will be revoked.
Verify the new token by following the curl example to query PrimeHub in the circumstance.