# Bebop API Docs - [Home](https://docs.bebop.xyz/home.md): Institutional-grade DeFi liquidity infrastructure, ready for your next product. - [Welcome](https://docs.bebop.xyz/welcome.md): Institutional RFQ infrastructure for decentralized finance. - [How Bebop Works](https://docs.bebop.xyz/how-bebop-works.md): Two liquidity models, one platform - understand how Bebop works and choose the right integration. - [Chains Availability](https://docs.bebop.xyz/supported-chains.md): Supported blockchains across Bebop's RFQ and Aggregation APIs. - [Monetize](https://docs.bebop.xyz/monetize.md): Earn revenue on every trade your users make through Bebop. - [Consumer Apps & Wallets](https://docs.bebop.xyz/use-cases/consumer.md): Ship reliable swaps your users can trust - guaranteed prices, guaranteed fills, and broad token coverage across all major chains. - [Institutional Apps & Wallets](https://docs.bebop.xyz/use-cases/institutional.md): Exceptional firm pricing for larger trades with custom routing and multi-token portfolio rebalancing. - [Aggregators](https://docs.bebop.xyz/use-cases/aggregators.md): Deliver best-in-class swap execution by accessing professional market maker depth that direct DEX routing can't match. - [Solvers](https://docs.bebop.xyz/use-cases/solvers.md): Access institutional market maker liquidity to win auctions through superior pricing and execution speed. - [Cross-Chain Aggregators](https://docs.bebop.xyz/use-cases/cross-chain-aggregators.md): Source efficient liquidity on both source and destination chains for seamless cross-chain swaps. - [Liquidators](https://docs.bebop.xyz/use-cases/liquidators.md): Execute time-critical liquidations with maximum speed and competitive pricing to capture liquidation fees while protecting protocol solvency. - [RWA & Stablecoin Issuers](https://docs.bebop.xyz/use-cases/rwa-issuers.md): Enable liquidity for your asset with capital efficiency and full distribution across DeFi. - [Market Makers](https://docs.bebop.xyz/use-cases/market-makers.md): Access high-quality order flow across multiple client segments while managing risk efficiently through flexible quoting infrastructure. - [API Overview](https://docs.bebop.xyz/build.md): Navigate the Bebop API suite and start integrating. - [Authentication](https://docs.bebop.xyz/core-concepts/authentication.md): How to obtain and use an API key for Bebop's trading and data APIs. - [Token Approvals](https://docs.bebop.xyz/core-concepts/token-approvals.md): Set up ERC-20 token approvals so Bebop's router and settlement contracts can execute your trades. - [Transaction Submission](https://docs.bebop.xyz/core-concepts/execution-modes.md): Sign and broadcast transactions from the public RFQ and Aggregation APIs. - [Settlement & Smart Contracts](https://docs.bebop.xyz/core-concepts/settlement-smart-contracts.md): Bebop's on-chain settlement architecture - contracts, approvals, and how trades are executed. - [Monetization](https://docs.bebop.xyz/core-concepts/monetization.md): Add a partner fee to quote requests and collect revenue on every trade. - [Introduction](https://docs.bebop.xyz/rfq-api/introduction.md): Access institutional market maker liquidity with guaranteed execution and guaranteed fill. - [Quickstart](https://docs.bebop.xyz/rfq-api/quickstart.md): Make your first trade on Bebop using the RFQ API - from quote request to settlement. - [Partial Fills](https://docs.bebop.xyz/rfq-api/guides/partial-fills.md): Execute only a portion of a quoted order - useful when combining RFQ liquidity with other sources. - [Multi-Token Trades](https://docs.bebop.xyz/rfq-api/guides/multi-token-trades.md): Swap multiple tokens in a single atomic transaction. - [Short Expiry](https://docs.bebop.xyz/rfq-api/guides/short-expiry.md): Request quotes with shorter expiry windows for latency-sensitive integrations. - [Speed-Optimised Quotes](https://docs.bebop.xyz/rfq-api/guides/speed-optimized-quotes.md): Get faster quotes from a latency-optimised subset of market makers for time-sensitive integrations. - [Best Practices](https://docs.bebop.xyz/rfq-api/guides/best-practices.md): Recommended patterns for RFQ API integrators. - [Migrating to the BebopRouter contract](https://docs.bebop.xyz/rfq-api/guides/router-migration-guide.md): Update a direct RFQ integration to use the BebopRouter smart contract. - [Quote](https://docs.bebop.xyz/rfq-api/api-reference/quote.md): Get a firm quote and a ready-to-broadcast settlement transaction. Broadcast tx on EVM or solana_tx on Solana before expiry. - [Token List](https://docs.bebop.xyz/rfq-api/api-reference/token-list.md): This endpoint will return all tokens available for trading on Bebop PMM, in tokenlist format, with extra info. - [Token Info](https://docs.bebop.xyz/rfq-api/api-reference/token-info.md): Returns detailed metadata for all tokens available for trading on Bebop, including price, decimals, and display information. Use /tokenlist for the standard token list format. - [Supported Chains](https://docs.bebop.xyz/rfq-api/api-reference/supported-chains.md): Returns a mapping of chain names to chain IDs supported by the RFQ API. - [Introduction](https://docs.bebop.xyz/bopamm/introduction.md): Coordinated, oracle-priced AMM liquidity from Bebop's market maker network. - [Quickstart](https://docs.bebop.xyz/bopamm/quickstart.md): Fetch the live BopAMM state, quote and simulate a swap mid-block, and submit it through a block builder. - [Fees](https://docs.bebop.xyz/bopamm/guides/fees.md): Add optional integrator fees to BopAMM router swaps and /quote-generated fallback calldata. - [Falling back to RFQ](https://docs.bebop.xyz/bopamm/guides/falling-back-to-rfq.md): Use the /quote endpoint to get swapWithFallback calldata that tries BopAMM first and settles via RFQ if the on-chain book can't fill. - [Introduction](https://docs.bebop.xyz/aggregation-api/introduction.md): Route trades through competing solvers for comprehensive token coverage. - [Quickstart](https://docs.bebop.xyz/aggregation-api/quickstart.md): Make your first trade using the Aggregation API, from quote request to on-chain settlement. - [Quote](https://docs.bebop.xyz/aggregation-api/api-reference/quote.md): Get a solver quote and a ready-to-broadcast settlement transaction. Broadcast tx before expiry. - [Competition](https://docs.bebop.xyz/aggregation-api/api-reference/competition.md): Get the solver competition results for a given quote, including which solvers participated and their offered prices. - [Supported Chains](https://docs.bebop.xyz/aggregation-api/api-reference/supported-chains.md): Returns a mapping of chain names to chain IDs supported by the Aggregation API. - [Introduction](https://docs.bebop.xyz/price-api/introduction.md): Real-time streaming indicative prices from Bebop's market makers via WebSocket. - [Quickstart](https://docs.bebop.xyz/price-api/quickstart.md): Connect to the Price API and start receiving real-time market maker quotes via WebSocket. - [Estimating VWAP](https://docs.bebop.xyz/price-api/guides/vwap-estimation.md): Estimate the indicative execution price for a given trade size using the Price API stream - without requesting a firm quote. - [Pricing Unlisted Pairs](https://docs.bebop.xyz/price-api/guides/pricing-unlisted-pairs.md): Estimate prices for token pairs that aren't directly quoted by constructing synthetic rates through a common quote token. - [Reference](https://docs.bebop.xyz/price-api/reference.md): Key facts, message types, schemas, and coverage details for the Price API. - [Pricing](https://docs.bebop.xyz/price-api/api-reference/websockets/pricing.md) - [Introduction](https://docs.bebop.xyz/trade-history-api/introduction.md): Look up historical trades and transaction details across all Bebop-supported chains. - [Quickstart](https://docs.bebop.xyz/trade-history-api/quickstart.md): Fetch trade history from Bebop - from wallet lookups to individual transaction details. - [Trades](https://docs.bebop.xyz/trade-history-api/api-reference/trades.md): Retrieve trade history for a wallet address or partner source within a given time range. Returns trade details with token metadata and pricing. - [Trade by Tx Hash](https://docs.bebop.xyz/trade-history-api/api-reference/trade-by-tx-hash.md): Retrieve trade details for a specific transaction hash. Returns the trade with token metadata and pricing. - [Support](https://docs.bebop.xyz/support.md): Get in touch with the Bebop team. - [FAQ](https://docs.bebop.xyz/faq.md): Frequently asked questions about Bebop. - [Security & Audits](https://docs.bebop.xyz/audits.md): Security audit reports for Bebop's smart contracts. - [Brand Kit](https://docs.bebop.xyz/brand-kit.md): Bebop brand colors, logos, and usage guidelines. - [Privacy Policy](https://docs.bebop.xyz/privacy.md): Bebop privacy policy. - [Terms of Service](https://docs.bebop.xyz/terms.md): Bebop terms of service. ## OpenAPI Specs - [aggregation-api](/specs/aggregation-api.json) - [maker-api](/specs/maker-api.json) - [rfq-api](/specs/rfq-api.json) - [trade-history-api](/specs/trade-history-api.json) ## AsyncAPI Specs - [pricing-api-async](/specs/pricing-api-async.json) - [pricing-asyncapi](/specs/pricing-asyncapi.json) - [pricing-asyncapi](/specs/pricing-asyncapi.yaml)