FILECOIN API · GraphQL · Cloud export

The Filecoin data API for FVM and the storage economy.

You shouldn't have to run a Filecoin Lotus node, babysit an archive node or stitch together raw JSON-RPC just to answer a simple question. On Enterprise, we've already indexed Uniswap trades, token transfers, contract calls and events. Each is one query — or one live stream — away.

Trusted on Filecoin byNansen logo0x logo3Commas logoLukka logo
EVM.DEXTradesReal-time & historical swaps across every Filecoin DEX.Docs →
dex_trades.graphqlCopy
subscription {
  EVM(network: filecoin) {
    DEXTrades(
      where: {Trade: {Dex:
        {ProtocolName: {is: "uniswap_v3"}}}}
    ) {
      Trade {
        Buy { Price Amount
          Currency { Symbol } }
        Dex { ProtocolName }
      }
    }
  }
}
responseSTREAMING
Pair / DEXSidePriceAmount
200 · WebSocket · 0.9sstreaming.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 Filecoin Lotus hands you an archive node, a pile of ABIs to decode by hand and thousands of chained eth_getLogs calls. We've already done that work, so you can skip straight to the answer.

What you're doing
Raw Filecoin JSON-RPC
Bitquery Filecoin 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
Historical depth
2TB+ archive node to sync
Complete history in the $250/mo data pack
Infrastructure to run
Filecoin Lotus, archive, reorg handling
None — fully managed
02
Delivery channels

Two ways to get Filecoin data — one schema underneath.

Write your query once in GraphQL and the same fields come back over GraphQL streams 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 Filecoin venue, decoded into one feed.

One DEXTrades query covers 100+ Filecoin 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 Filecoin mainnet
+ Maker, Bancor, Fraxswap & every new protocol we add →
04
Filecoin datasets

Every Filecoin dataset, one GraphQL endpoint.

From ERC-20 transfers to decoded contract events, it's all behind a single endpoint — no node, no archive sync, no indexer to build. Every dataset is available as complete history in the $250/mo data pack and streams live over WebSocket whenever you need it real time.

Tokens

Filecoin 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

Filecoin 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

Filecoin NFT API

NFT transfers, mints, ownership and holder distribution for ERC-721 and ERC-1155 tokens.

Read the docs →
Wallets

Filecoin Balance API

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

Read the docs →
Tokens

Filecoin 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 Filecoin 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 →
Network

Filecoin Transactions API

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

Read the docs →
Network

Filecoin Blocks API

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

Read the docs →
Network

Filecoin 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 Filecoin products people actually ship on us.

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

WebSocket

Catch new Uniswap V4 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 Filecoin charts.

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

What teams say about our Filecoin 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
2020→now
Complete history in the data pack
1 schema
One GraphQL schema for all Filecoin data
100+
Filecoin DEXs decoded into one feed
Also building on Filecoin dataNansen0x3CommasLukkaCoin Metrics

Pricing

Filecoin data is self-service.

Filecoin is sold as a full data pack with complete history included: an add-on to any self-service plan, bought in your account with no sales call.

Data pack

Filecoin data

The full chain archive with complete history, one pack per chain.

$250/mo

or $175/mo billed yearly · save 30%

◆ History included · no separate archive add-on
  • Full chain archive complete history
  • Monthly or yearly $175/mo billed yearly
  • Bought in billing no sales call
Add in billing →

Need more than the data pack?

Enterprise adds Coinpath® money flow, bulk S3 export and SLAs across 40+ chains.

Talk to salesScope Enterprise for Filecoin and other chains

Compare every data pack on the pricing page.

FAQ

Filecoin data questions, answered.

How can I get Filecoin blockchain data with Bitquery?
You get both historical and real-time Filecoin data through our GraphQL APIs and WebSocket subscriptions. Cloud warehouses (AWS, Snowflake, BigQuery) are on Enterprise. Add the full chain archive as a self-service data pack ($250/mo, or $175/mo billed yearly), then 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 Filecoin 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 Filecoin data in real-time — new blocks, transfers, DEX trades?
Yes, over WebSocket subscriptions. You can stream new blocks, token transfers, DEX trades and contract events, which suits trading bots, alerts and live analytics. Pending transactions (the mempool) are not available for Filecoin.
Does Bitquery support ERC-20, ERC-721 and ERC-1155 tokens?
Yes. Every ERC-20, ERC-721 and ERC-1155 token on Filecoin 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 Filecoin wallet balances, transactions and PnL?
Point the Transfers, Trades and Balances queries 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 Filecoin 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.

Get Filecoin data without running a node.

Filecoin is sold self-service as a full data pack: the complete chain archive, history included, for $250/mo ($175/mo billed yearly). Add it in your account, no sales call needed.

Self-service · $250/mo · History included · SLAs on Enterprise
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.