DeprecatedFantom is no longer part of our actively supported networks. See supported chains →
FANTOM API · GraphQL · Kafka · gRPC · Cloud export

The Fantom data API as quick as finality.

You shouldn't have to run a Fantom node, babysit an archive node or stitch together raw JSON-RPC just to answer a simple question. We've already decoded every block since genesis, so Uniswap trades, token transfers, contract calls, events and the mempool are one query — or one live stream — away.

Trusted on Fantom byNansen logo0x logo3Commas logoLukka logo
EVM.DEXTradesReal-time & historical swaps across every Fantom DEX.Docs
dex_trades.graphqlCopy
subscription {
  EVM(network: fantom) {
    DEXTrades(
      where: {Trade: {Dex:
        {ProtocolName: {is: "uniswap_v3"}}}}
    ) {
      Trade {
        Buy { Price Amount
          Currency { Symbol } }
        Dex { ProtocolName }
      }
    }
  }
}
responseSTREAMING
Pair / DEXSidePriceAmount
200 · gRPC · 88msstreaming.bitquery.io
01
Forget the RPC

JSON-RPC was never meant to answer the questions you actually have.

Ask "what did this wallet ever do?" and raw Fantom hands you an archive node, a pile of ABIs to decode by hand and thousands of chained eth_getLogscalls. We've already done that work, so you can skip straight to the answer.

What you're doing
Raw Fantom JSON-RPC
Bitquery Fantom API
One wallet's full token & trade history
Thousands of eth_getLogs calls
A single GraphQL query
Reading Uniswap / Curve trades
You decode every event log
Decoded for every protocol
ERC-20, 721 & 1155 in one place
Three ABIs to parse yourself
One unified token schema
Mempool & pending transactions
Run your own node & filters
Streamed, sub-second
Historical depth
2TB+ archive node to sync
Genesis → now, queryable
Infrastructure to run
Fantom, archive, reorg handling
None — fully managed
02
Delivery channels

Four ways to get Fantom data — one schema underneath.

Write your query once in GraphQL and the same fields come back over GraphQL streams, Kafka, gRPC or a bulk cloud export. Nothing to re-model and no second pipeline to maintain — just pick the channel that matches how fast and how much you need.

03
DEX & protocol coverage

Every major Fantom venue, decoded into one feed.

One DEXTrades query covers 100+ Fantom DEXs. Filter by token, pair, pool, wallet or protocol, then roll it up however you need — OHLCV candles, liquidity events, slippage, pool reserves, top traders or volume.

VenueTypeWhat you get
Uniswap logoUniswapV2 · V3 · V4Swaps, pools, hooks, OHLCV, LP events
Curve logoCurveStableSwapStable & crypto pool trades, fees
SushiSwap logoSushiSwapAMMSwaps, pairs, liquidity events
Balancer logoBalancerWeighted poolsMulti-asset swaps & joins / exits
1inch logo1inchAggregatorRouted swaps across every market
PancakeSwap logoPancakeSwapAMM (ETH)V2 / V3 swaps on Fantom mainnet
+ Maker, Bancor, Fraxswap & every new protocol we add
04
Fantom datasets

Every Fantom dataset, one GraphQL endpoint.

From ERC-20 transfers to the mempool, it's all behind a single endpoint — no node, no archive sync, no indexer to build. Every dataset goes back to genesis and streams live over WebSocket, Kafka or gRPC whenever you need it real time.

Tokens

Fantom Token Transfers API

Every ERC-20, ERC-721 & ERC-1155 transfer with historical USD value, volumes and inflow / outflow per address.

Read the docs
DeFi

Fantom DEX Trades API

Swaps across Uniswap V2/V3/V4, Curve, Sushi & 100+ DEXs with OHLCV candles, pairs, pools and per-wallet history.

Read the docs
NFT

Fantom NFT API

Mints, sales, bids, ownership, holder distribution and metadata across OpenSea, Blur, LooksRare & more.

Read the docs
Wallets

Fantom Balance API

Real-time & historical native FTM and token balances for any wallet, with USD portfolio value for trackers and tax tools.

Read the docs
Tokens

Fantom Token Holders API

Top holders, balance distribution and decentralization metrics — Gini and Nakamoto coefficients — for any ERC-20.

Read the docs
Compliance

Money Flow · Coinpath®

Trace inbound and outbound fund flows across Fantom addresses for AML, forensics and investigation workflows.

Read the docs
Contracts

Smart Contract Trace API

Decoded smart-contract call traces with arguments, internal transactions and success status — parsed by ABI.

Read the docs
Contracts

Smart Contract Events API

Decoded event logs by ABI — query Transfer, Approval, Swap or any topic by contract, name or event signature.

Read the docs
Real-time

Fantom Mempool API

Stream pending transactions before they land and simulate outcomes — for MEV monitoring and frontrun protection.

Read the docs
Network

Fantom Transactions API

Transaction details, receipts, internal transactions, gas used and status — filter by sender, receiver or value.

Read the docs
Network

Fantom Blocks API

Block headers, timestamps, base fees, gas usage and validator data for time-series analytics and explorers.

Read the docs
Network

Fantom Gas & Fees API

EIP-1559 base and priority fees, gas usage patterns and cost analysis to power gas estimators and fee dashboards.

Read the docs
05
Build it this weekend

The Fantom products people actually ship on us.

Each of these is just a filter on the same indexed data — subscribe over Kafka or gRPC when you're building a bot, or hit GraphQL when you're building a dashboard.

gRPC · Kafka

Catch new SpookySwap pools first

Get pool-creation and hook events the second they land, filtered by token pair or fee tier. Be early to every new market without watching the chain yourself.

subscribe EVM.Events
  where: { Log: { Signature: { Name: "Initialize" } } }
Read the docs
GraphQL

Wallet PnL & portfolio

Pull a wallet's entire transfer and trade history with historical USD prices already attached, and work out realized PnL across every DEX it has touched.

EVM.Transfers
  where: { Transfer.Receiver: "<wallet>" }
Read the docs
GraphQL

Build OHLCV price charts

Turn raw DEX trades into clean candlesticks per pair and interval — the same kind of feed behind TradingView-style Fantom charts.

DEXTradeByTokens {
  Trade: { close: PriceInUSD ... }
} # 1m / 5m / 1h
Read the docs

What teams say about our Fantom data

"We did a thorough search of the market for the best onchain data. Bitquery came out on top — and now powers all live prices across Nansen. We don't think of them as a vendor. They're a partner."

A
Alexander Karsten
Nansen
2019→now
Every block since genesis, indexed
<300ms
Kafka & gRPC stream latency
100+
Fantom DEXs decoded into one feed
Also building on Fantom dataNansen0x3CommasLukkaCoin Metrics

Pricing

Fantom is available on Enterprise

Fantom is not included in our 9-chain self-service plans (Personal, Pro, Scale). Enterprise delivers complete history, unlimited streams and bulk delivery across 40+ chains — including Fantom.

Enterprise

Enterprise

Full history, unlimited streams and bulk delivery at a predictable flat platform fee — no metering surprises.

Custom platform fee

flat fee — modelled, not metered

◆ Committed envelope · S3 Parquet · Kafka · datashares
  • Complete history · 40+ chains full platform coverage
  • Unlimited WebSocket streaming no stream-min or GB limit
  • Custom points & rate limits
  • Kafka fixed-cost · S3 bulk export
  • Coinpath® money flow
  • SLA · SSO · dedicated support
Talk to sales →

Self-service covers 9 core chains

Personal ($49), Pro ($99) and Scale ($299) include real-time data on Solana, Ethereum, Tron, Base, Arbitrum, Optimism, BSC, Polygon and Robinhood. Need a smaller entry point on those chains?

See platform pricingCompare Personal, Pro, Scale & Enterprise side by side

Every paid self-service plan includes a 7-day free trial with full streaming — no card required.

FAQ

Fantom data questions, answered.

How can I get Fantom blockchain data with Bitquery?
You get both historical and real-time Fantom data through our GraphQL APIs, WebSocket subscriptions, Kafka streams and cloud warehouses (AWS, Snowflake, BigQuery). Start with a 7-day free trial at account.bitquery.io and you can start pulling blocks, transactions, transfers, DEX trades, NFT events, contract calls and ENS records from a single endpoint right away.
How do I query Uniswap, SushiSwap and other Fantom DEX trades?
One DEXTrades query covers Uniswap V2/V3/V4, SushiSwap, Curve, Balancer, 1inch, PancakeSwap and 50+ other DEXs. Filter by token address, pair, time range or trader wallet, then aggregate into OHLCV candles, top traders or volume per pool — whatever your chart or report needs.
Can I stream Fantom data in real-time — mempool, new blocks, transfers?
Yes — over Kafka, WebSocket subscriptions and gRPC, all with sub-second latency. You can stream pending transactions (the mempool), new blocks, token transfers, DEX trades and contract events, which is exactly what you want for trading bots, alerts, MEV monitoring and live analytics.
Does Bitquery support ERC-20, ERC-721 and ERC-1155 tokens?
Yes. Every ERC-20, ERC-721 and ERC-1155 token on Fantom is indexed with full transfer history, holder counts, balances and metadata — and it all sits behind the same GraphQL schema, so you don't juggle three different standards.
How do I get Fantom wallet balances, transactions and PnL?
Point the Transfers, Trades and Balancesqueries at a wallet address and you'll get its full transaction history, current and historical token balances, ENS name and trading PnL across every DEX it has used.
Does Bitquery support smart-contract calls and decoded event logs?
Yes. We decode and index every smart-contract call and event log on Fantom straight from the contract's ABI. You can query function calls (swap, mint, transferFrom) and emitted events (Transfer, Approval, Sync) by contract address, function name or event signature — no manual decoding on your side.

Ship your Fantom product this week.

7-day free trial — full Fantom data on self-service plans, no node to run. Query all the way back to genesis and stream live data on your very first call.

7-day free trial · Plans from $49/mo · Fantom on self-service plans
40+ chains · one platform

Explore every blockchain Bitquery supports

Browse the full chain directory and coverage matrix — the same GraphQL schema, real-time streams and cloud datasets across every network we index.