Skip to main content

Prop AMM Trades API — FermiSwap, Tempest, Goliath, Kipseli and Manta

A proprietary AMM (prop AMM) is a DEX contract run by one market maker. The market maker sets the quote from its own pricing model and fills swaps from its own inventory, so there are no outside liquidity providers and no public liquidity pool per pair. Most prop AMM volume reaches the venue through aggregators and routers. Bitquery decodes prop AMM swaps into the same cubes as every other DEX, one protocol name per venue: for example fermiswap, tempest, goliath, stelaxis, el_zorro, bebop_amm and kipseli on Ethereum, manta_amm_v2 and kipseli on Base and Robinhood Chain, kaliber on Arbitrum, and other prop AMM venues. The first query on this page lists the venues that traded in the last 24 hours.

Every query below runs on the Crypto Trades API (Trading.Trades and Trading.Pairs), which keeps about the last 30 days, except the last one, which shows both raw sides of a swap.

Related docs

Ethereum DEX Trades API for every DEX on Ethereum, Metric DEX API for oracle-priced Metric liquidity pools, Robinhood Chain API and Base Chain DEX Trades API for the other chains on this page.

How prop AMM trades look in the Trading API​

FieldWhat it holds for a prop AMM
Pair.Market.ProtocolThe venue's protocol name, for example fermiswap or manta_amm_v2
Pair.Market.ProtocolFamilyThe venue name, for example FermiSwap or Manta
Pair.Market.ProgramThe venue contract that emitted the swap. The same address can be the venue on several chains
Pair.Market.NetworkThe chain: Ethereum, Base, Robinhood, Binance Smart Chain, Arbitrum
Pair.Currency / Pair.QuoteCurrencyThe token traded and the token it is priced in
Trader.AddressThe trader of the swap
SideBuy or Sell of Pair.Currency

Filter a venue by Pair.Market.Protocol, and a chain by Pair.Market.Network. To follow one contract of a venue, filter Pair.Market.Program with its address.

Prop AMM venues by volume on every chain​

Trade count, unique traders and USD volume per venue and chain over the last 24 hours. The Protocol list holds the main prop AMM venues; add any other protocol name to the list. AmountsInUsd_Base is the USD value of each trade, counted once.

Run this query in the IDE

{
Trading {
Trades(
where: {Pair: {Market: {Protocol: {in: ["fermiswap", "tempest", "goliath", "stelaxis", "el_zorro", "bebop_amm", "taurusfi", "kipseli", "kaliber", "manta_amm_v2"]}}}, Block: {Time: {since_relative: {hours_ago: 24}}}}
orderBy: {descendingByField: "volumeUsd"}
limit: {count: 30}
) {
Pair {
Market {
Network
Protocol
ProtocolFamily
}
}
trades: count
traders: uniq(of: Trader_Address)
volumeUsd: sum(of: AmountsInUsd_Base)
}
}
}

Live prop AMM trades on Ethereum​

A stream of every swap on the main Ethereum prop AMM venues, with the venue, trader, amounts and USD values.

Run this query in the IDE

subscription {
Trading {
Trades(
where: {Pair: {Market: {Network: {is: "Ethereum"}, Protocol: {in: ["fermiswap", "tempest", "goliath", "stelaxis", "el_zorro", "bebop_amm", "taurusfi", "kipseli", "kaliber"]}}}}
) {
Block {
Time
}
Side
Trader {
Address
}
Amounts {
Base
Quote
}
AmountsInUsd {
Base
}
PriceInUsd
Pair {
Market {
Protocol
Program
}
Currency {
Symbol
Id
}
QuoteCurrency {
Symbol
Id
}
}
TransactionHeader {
Hash
}
}
}
}

Latest FermiSwap trades on Ethereum​

The 20 newest FermiSwap swaps on Ethereum in the last 6 hours. Change fermiswap to tempest, goliath, stelaxis or any other protocol name from the first query to read another venue.

Run this query in the IDE

{
Trading {
Trades(
where: {Pair: {Market: {Network: {is: "Ethereum"}, Protocol: {is: "fermiswap"}}}, Block: {Time: {since_relative: {hours_ago: 6}}}}
orderBy: {descending: Block_Time}
limit: {count: 20}
) {
Block {
Time
}
Side
Trader {
Address
}
Amounts {
Base
Quote
}
AmountsInUsd {
Base
}
PriceInUsd
Pair {
Currency {
Symbol
Id
}
QuoteCurrency {
Symbol
Id
}
}
TransactionHeader {
Hash
}
}
}
}

Manta AMM V2 trades on Base and Robinhood Chain​

Manta AMM V2 runs on Base and Robinhood Chain from the same contract address, 0x5d2806b9af9e9f740b55eda02a8484af5805803a. The Network filter takes both chains, and Pair.Market.Network on each row says which chain the trade is on. The window is the last hour.

Run this query in the IDE

{
Trading {
Trades(
where: {Pair: {Market: {Network: {in: ["Base", "Robinhood"]}, Protocol: {is: "manta_amm_v2"}}}, Block: {Time: {since_relative: {hours_ago: 1}}}}
orderBy: {descending: Block_Time}
limit: {count: 20}
) {
Block {
Time
}
Side
Trader {
Address
}
Amounts {
Base
Quote
}
AmountsInUsd {
Base
}
Pair {
Market {
Network
Program
}
Currency {
Symbol
Id
}
QuoteCurrency {
Symbol
Id
}
}
TransactionHeader {
Hash
}
}
}
}

Top traders on Ethereum prop AMMs​

The 20 traders with the most USD volume on Ethereum prop AMM venues over the last 7 days, with their trade count and the number of venues each one used. Raise or lower days_ago to change the window; the Trading API keeps about 30 days.

Run this query in the IDE

{
Trading {
Trades(
where: {Pair: {Market: {Network: {is: "Ethereum"}, Protocol: {in: ["fermiswap", "tempest", "goliath", "stelaxis", "el_zorro", "bebop_amm", "taurusfi", "kipseli", "kaliber"]}}}, Block: {Time: {since_relative: {days_ago: 7}}}}
orderBy: {descendingByField: "volumeUsd"}
limit: {count: 20}
) {
Trader {
Address
}
trades: count
venues: uniq(of: Pair_Market_Protocol)
volumeUsd: sum(of: AmountsInUsd_Base)
}
}
}

Top pairs on one prop AMM​

The token pairs with the most USD volume on Tempest on Ethereum in the last 24 hours. Pair.Currency and Pair.QuoteCurrency are the two tokens; each trade is counted once.

Run this query in the IDE

{
Trading {
Trades(
where: {Pair: {Market: {Network: {is: "Ethereum"}, Protocol: {is: "tempest"}}}, Block: {Time: {since_relative: {hours_ago: 24}}}}
orderBy: {descendingByField: "volumeUsd"}
limit: {count: 20}
) {
Pair {
Currency {
Symbol
Id
}
QuoteCurrency {
Symbol
Id
}
}
trades: count
volumeUsd: sum(of: AmountsInUsd_Base)
}
}
}

WETH price on FermiSwap​

Trading.Pairs gives the USD price of a token on one venue as OHLC candles. The example is WETH (0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2) on FermiSwap on Ethereum, one-minute candles (Duration: 60 seconds) from the last 24 hours, latest first. IsQuotedInUsd: true returns the price in USD instead of in the quote token. Each row is one candle of one pair; QuoteToken says which pair (WETH/USDC, WETH/USDT and so on).

Run this query in the IDE

{
Trading {
Pairs(
where: {Token: {Address: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}, Network: {is: "Ethereum"}}, Market: {Protocol: {is: "fermiswap"}}, Interval: {Time: {Duration: {eq: 60}}}, Price: {IsQuotedInUsd: true}, Block: {Time: {since_relative: {hours_ago: 24}}}}
limit: {count: 10}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Token {
Symbol
Address
}
QuoteToken {
Symbol
}
Price {
Ohlc {
Open
High
Low
Close
}
}
Volume {
Usd
}
}
}
}

Both sides of a prop AMM swap​

DEXTrades on EVM(network: eth) returns the buy and sell side of each swap in one row, with Trade.Dex.SmartContract as the venue contract and Transaction.From as the account that sent the transaction. The example is Goliath in the last hour; change ProtocolName for another venue, or network: to base, bsc or arbitrum for another chain.

Run this query in the IDE

{
EVM(network: eth) {
DEXTrades(
where: {Trade: {Dex: {ProtocolName: {is: "goliath"}}}, Block: {Time: {since_relative: {hours_ago: 1}}}}
limit: {count: 20}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Trade {
Dex {
ProtocolName
SmartContract
}
Buy {
Currency {
Symbol
SmartContract
}
Amount
AmountInUSD
}
Sell {
Currency {
Symbol
SmartContract
}
Amount
AmountInUSD
}
}
Transaction {
From
Hash
}
}
}
}

Pitfalls​

  • Filter by protocol name, not by a liquidity pool. A prop AMM has no public liquidity pool per pair. The venue contract (Pair.Market.Program) fills every pair it quotes.
  • Filter the venue, not the contract. Filter by Pair.Market.Protocol to get the whole venue; use Pair.Market.Program only to follow one contract.
  • The sender of the swap is often a router. Read the trader from Trader.Address on the Trading API, or Transaction.From on DEXTrades.
  • The Trading API keeps about 30 days. Keep since_relative windows inside that range.

Frequently Asked Questions

What is a prop AMM?

A proprietary AMM is a DEX contract run by one market maker, who sets the quote from its own pricing model and fills swaps from its own inventory. There are no outside liquidity providers and no public liquidity pool per pair.

How do I get FermiSwap, Tempest or Goliath trades by API?

Query Trading.Trades with Pair.Market.Network Ethereum and Pair.Market.Protocol fermiswap, tempest or goliath. Each row has the trader, amounts, USD value and transaction hash.

Which prop AMM venues does Bitquery cover?

FermiSwap, Tempest, Goliath, Stelaxis, El Zorro, Bebop and Kipseli on Ethereum, Manta AMM V2 and Kipseli on Base and Robinhood Chain, Kaliber on Arbitrum, and other prop AMM venues. The venues-by-volume query on this page lists what traded in the last 24 hours.

How do I compare volume across prop AMMs?

Group Trading.Trades by Pair.Market.Network and Pair.Market.Protocol with count, uniq of Trader_Address and sum of AmountsInUsd_Base, as in the first query on this page.

Can I stream prop AMM trades in real time?

Yes. Turn any Trading.Trades query into a subscription and drop the time window, limit and orderBy, as in the live Ethereum stream on this page.

Build with Bitquery

Ready to run this in production?

Get an API key and run these queries in minutes, or talk to us about plans and enterprise delivery.