Portals.fi
Portals empowers users and builders to access, compare, and act on the best DeFi opportunities—zaps, swaps, loops, and yields—through a single trusted interface and API. Our mission is to abstract away the complexity of DeFi while preserving its openness, transparency, and composability.
Portals.fi endpoints
| Method | Endpoint | Description |
|---|---|---|
| Supported | ||
| GET |
SupportedController_getTokenHolders /v2/tokens/holders |
Returns a paginated list of token holders with their balances and percentages, sorted by balance in descending order. Beta version, may be unstable. |
| GET |
SupportedController_getTokenTransactionsPaginated /v3/tokens/transactions |
Returns a list of withdraws, deposits, and swaps of a token over the last 24h |
| GET |
SupportedController_getSupportedPlatformsV2 /v2/platforms |
Returns a list of enabled platforms |
| GET |
SupportedController_getSupportedNetworks /v1/networks |
Returns a list of supported networks |
| GET |
SupportedController_getSupportedTokensV2 /v2/tokens |
Returns a list of supported tokens by platform, including contextual information such as decimals, name, network, underlying tokens, price, TVL, etc. `Each filter type is… |
| GET |
SupportedController_getTokenTransactions /v2/tokens/transactions |
Returns a list of withdraws, deposits, and swaps of a token over the last 24h |
| GET |
SupportedController_getTokenHistory /v2/tokens/history |
Returns a list of historical data for a supported tokens including historical price, liquidity, totalSupply, reserves, apy, etc. over a specific `resolution` |
| GET |
SupportedController_getTokensMetrics /v3/tokens/metrics |
Returns aggregated metrics of a token deposits, withdraws, and swaps over the last 48h |
| Portal | ||
| GET |
PortalController_status /v2/portal/status |
Retrieves previously generated Portal Order |
| GET |
PortalController_portalV2 /v2/portal |
Returns a validated, unsigned portal transaction that can be submitted to a node via ethers/web3. |
| GET |
ApprovalController_approveCrossChainV2 /v2/approval/cross-chain |
Returns the current allowance for the Squid router based on `inputToken`, in addition to an unsigned approval transaction for use by `sender` if the returned property… |
| POST |
PortalController_portalV2Submit /v2/portal |
Returns a transaction hash that can be used to track the status of the transaction. Also returns transaction data for debugging purposes. |
| GET |
ApprovalController_approveV2 /v2/approval |
Returns the current allowance for the Portals router based on `inputToken`, in addition to an unsigned approval transaction for use by `sender` if the returned property… |
| GET |
PortalController_estimatePortalV2 /v2/portal/estimate |
Returns the output amount (accounting for slippage, price impact, and fees) for a portal transaction via our simulation engine. |
| Account | ||
| GET |
AccountController_getAccountV2 /v2/account |
Returns the current balance for ERC20 or network tokens for the `owner` if the balance is greater than 0 |
Portals.fi pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|