Provider Gateway Examples

These examples show the lower-level gateway route shape for provider-backed reads. Prefer capability routes or route planning for repeated product workflows. Use provider gateway routes when you are inspecting adapter behavior, debugging a provider-specific path, or validating a new capability mapping.

Boundary

  • Clients send only a PubFi API key.
  • Upstream provider credentials stay server-side.
  • Provider inclusion in Discovery does not imply gateway availability.
  • Gateway examples are route-shape examples, not public pricing, uptime, ranking, or citation proof.

Auth

Route Shape

The {provider} and {network} segments are provider-specific gateway routing inputs. The {endpoint...} segment maps to the upstream path supported by the adapter. The examples below are public route-shape examples and certified readiness examples where noted. They are not a promise that every OpenAPI-listed provider path is certified or path-complete.

Subscan Gateway Example

Subscan examples use the network segment to select the upstream chain host, such as polkadot or acala. Example routes:
Example request:
For a runnable Subscan inspection script, see the Subscan gateway example.

DeGov Gateway Example

DeGov uses a fixed upstream base URL, so PubFi uses global as the gateway network placeholder. Example routes:
Example free route:
Example DAO brief route:

Generated Generic Gateway Boundary

Generated generic adapters are limited to crypto/Web3/on-chain data operations. They become public runtime routes only after the exact operation appears in the current certified gateway catalog. An empty catalog is a valid fail-closed state. Discovery inclusion, prior certification, or an old route-shape example does not establish current availability. Current public examples preserve route shape and response families, but they intentionally avoid publishing real account data, real keys, or upstream provider credentials.

Gateway Response Shape

Successful gateway responses use a PubFi envelope around the provider payload:
The data value is the provider JSON payload returned for the routed endpoint, so its nested shape differs by provider and route. The exact payload and upstream metadata belong to the provider endpoint. Use the interactive API reference and current route readiness before treating a route as executable in production.

Common Gateway Outcomes

What This Page Does Not Publish

  • Real PubFi API keys.
  • Upstream provider keys.
  • Server-side credential administration details.
  • Account ids, usage rows, or billing records.
  • A claim that every listed provider route is always callable.
  • A claim that a gateway route is a stable public capability when a PubFi capability exists.