Graham Perich
Jan 31 · 2 min read

Today, we’re proud to announce DexIndex— An open source tool that searches Ethereum decentralized exchanges to find the best token prices. You can try it now at DexIndex.io. It’s free, and always will be.

Why DEX?

Ethereum offers a rich decentralized exchange or “DEX” ecosystem in 2019, and new projects are popping up all the time. The most popular DEX’s are carving out niches and meeting demand for many different use cases. Some examples include programmatic token conversion (Kyber), traditional order book replication (IDEX), and settling OTC style trades (AirSwap).

Get the best price, anytime

All these options fill different needs, but one common question remains unanswered: “Which DEX has the best price for X?” And, while DEX aggregation apps like Totle and Fetch exist, these are proprietary applications that ultimately aim to create a business. Where is the free, open API that crunches DEX price data in seconds for the broader community? Shouldn’t Ethereum developers be able to provide real-time prices in their applications?

A decentralized, egalitarian community like Ethereum’s deserves these tools. Enter the DexIndex.

An example search on DexIindex.io 40,000 DAI

Under the hood

The open source code is written with modularity in mind. Each DEX has its own JavaScript ES6 class, which acts as an API wrapper. You can compose these classes and fetch price data in just about any way you can think of. Here are a few examples of what’s possible today:

  • Host a web server that serves price data in response to HTTP requests
  • Use the service as a command line tool to fetch price data with a few keystrokes
  • Deploy Serverless functions on AWS lambda to scrape prices on an interval and seed a database
  • Export the ES6 classes and use them in your own projects

Getting involved

Today’s release supports AirSwap, Bancor, DDEX, IDEX, Kyber, and Radar Relay. We’d like to add support for ForkDelta, EthFinex, and Uniswap as soon as possible. If you’re interested in adding support for these exchanges or others, we welcome you to fork the code and start contributing. If you find a bug, please open a GitHub issue!


Try the app at DexIndex.io

Explore the code on GitHub

Follow on Twitter for data visualizations and historical price analysis


Thanks to Rob “Crypto Bobby” Paone, Steven D. McKie, Greg Rocco, Jake Brukhman, Spencer Noon, Eric Conner, Anthony Sassano, Eric Meltzer, and the entire AirSwap team for their valuable feedback on this initiative.

Fluidity

Rebuilding Finance for a Frictionless World

Graham Perich

Written by

👨‍💻 Software Engineer - building the future of trade @AirSwap

Fluidity

Fluidity

Rebuilding Finance for a Frictionless World

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade