During development, you can use the developer endpoints
without an API key. For production use, you’ll need an
API key to avoid rate limits.
Use Cases
- Display global “recent fills” across all markets.
- Display market-specific fills next to orderbook and price data.
- Display wallet trade history scoped to a market or event.
- Trigger alerts for large trades using
minAmountfilters.
Set Base URL and Query Helper
Define the metadata API base URL and reusable query/output helpers.
Initialize Helpers
Initialize Helpers
Get Onchain Trades by Wallet
Scope fills to a single wallet using
/api/v1/onchain-trades with the
wallet query parameter.Pure Wallet Filter (Global Onchain Trades)
Pure Wallet Filter (Global Onchain Trades)
Get Onchain Trades Across All Markets
Scope fills across all markets using
/api/v1/onchain-trades.Fetch Global Onchain Trades
Fetch Global Onchain Trades
Get Onchain Trades by Event
Scope fills to all markets inside a single event using
/api/v1/onchain-trades/by-event/{event_ticker}.Fetch Event Onchain Trades
Fetch Event Onchain Trades
Get Onchain Trades by Market
Scope fills to a single market using
/api/v1/onchain-trades/by-market/{market_ticker}.Fetch Market Onchain Trades
Fetch Market Onchain Trades
API Routes
- GET /api/v1/onchain-trades
- GET /api/v1/onchain-trades/by-event/
- GET /api/v1/onchain-trades/by-market/
Cookbook Repository
This recipe, along with many more, is available in the DFlow Cookbook Repo. You can clone it and start coding immediately.Need Help?
Email Support
Reach out to our team at hello@dflow.net for technical support,
partnership inquiries, or general questions.
Join Our Discord
Connect with other developers, get help, and stay updated on the latest
DFlow developments.
Dev Notifications
Join the DFlow Dev Notifications Telegram group to stay in the loop on
new features and other announcements.