PubFi gateway route documented; reverify before live use
The gateway readiness catalog has a production-callable PubFi route for this source, but the Discovery source profile is not current. Agents should reverify upstream docs, commercial terms, and gateway behavior before live use.
- Route pattern
/api/gateway/subscan/{network}/{endpoint...}- Network convention
- The network segment maps to the upstream Subscan chain host, such as polkadot or acala.
- PubFi auth headers
- Authorization: Bearer <PubFi API key> or X-PubFi-Api-Key: <PubFi API key>
Current block time
GET polkadot- Gateway path
/api/gateway/subscan/polkadot/api/now- Upstream path
/api/now
curl --location 'https://pubfi.ai/api/gateway/subscan/polkadot/api/now' \
--header 'Authorization: Bearer <PubFi API key>'
Account tokens
POST polkadot- Gateway path
/api/gateway/subscan/polkadot/api/scan/account/tokens- Upstream path
/api/scan/account/tokens
curl --location 'https://pubfi.ai/api/gateway/subscan/polkadot/api/scan/account/tokens' \
--header 'Authorization: Bearer <PubFi API key>' \
--header 'Content-Type: application/json' \
--data '{
"address": "13YMK2efcJncYrXsaJCvHbaaDt3vfubdn75r4hdVxcggU4n2"
}'
Account tokens on Acala
POST acala- Gateway path
/api/gateway/subscan/acala/api/scan/account/tokens- Upstream path
/api/scan/account/tokens
curl --location 'https://pubfi.ai/api/gateway/subscan/acala/api/scan/account/tokens' \
--header 'Authorization: Bearer <PubFi API key>' \
--header 'Content-Type: application/json' \
--data '{
"address": "13YMK2efcJncYrXsaJCvHbaaDt3vfubdn75r4hdVxcggU4n2"
}'