The fox.exchange team is pleased to respond to user requests by announcing the official fox.exchange API, enabling new ways to add fox.exchange functionality to your service.
Learn what the API can do for you in this article.
For services offering cryptocurrencies
Online services offering various cryptocurrencies for sale may want to offer their users the option to exchange one currency for another. This is now possible using the fox.exchange API.
Users will be able to exchange currencies on the site where they acquired them in just a few clicks. There is no need to leave the website.
The exchange is using fox.exchange technology, which means currencies will be swapped in minutes (up to 30x faster than competing services) and in complete anonymity. There is no need to register, enter an email address or upload identification documents.
The API also integrates with the fox.exchange affiliate program, rewarding you for every transaction that takes place on your site.
The API was developed with easy of use as a top priority. We wanted to make integration as easy as possible.
Implementation is easy and can be completed in under 2 hours. It just requires adding a few code snippets like this:
<?php require('./api.php'); ?> <h1>Welcome to our exchange!</h1> <h4>Please select which pair you want to trade:</h4> <ol> <?php foreach (callFoxApi('POST', '/pairs') as $pair): ?> <?php if (!$pair->isActive) continue; ?> <li> <a href="rate.php?<?php echo htmlentities(http_build_query([ 'depositCoin' => $pair->depositCoin, 'destinationCoin' => $pair->destinationCoin ])) ?>"> Send <?php echo htmlentities($pair->depositCoin); ?>, receive <?php echo htmlentities($pair->destinationCoin); ?> </a> </li> <?php endforeach; ?> </ol>
Find the full example here.
Learn how to set up the API by reading through our documentation.
We’re here to help out if you have any questions.