Is it possible to retrieve results over HTTP?<p>I'm probably a unique use case, but I'd like to use this to "fix" the exchange rates portion of Apple's currency converter dashboard widget, and I want it to work even on very old OS's. That means I can't use TLS 1.2, and the root certs are often out of date anyway.<p>I'm currently using exchangeratesapi.io, which doesn't support HTTP either, but does support TLS 1.0, so it kind of works. However, outdated root certs mean I need to instruct users to manually install exchangeratesapi's certificate, which I'd rather not do.
I was looking for this exact thing a few weeks ago, and couldn't believe how difficult it was to find a decent, free API for crypto exchange rates (I just wanted to write a little script that tracked my investments, nothing huge.)<p>(Also, I'm the founder of ReadMe; we do API docs... if you want to use us, my emails in my bio :) )
Thanks for sharing, that's really useful. I realized you did the javascript example using XHR Any reason why you didn't use fetch?<p>```
fetch(url)
.then((resp) => resp.json())
.then((data) => { console.log(data) })
```<p>instead of<p>```
var requestURL = '<a href="https://api.exchangerate.host/latest';" rel="nofollow">https://api.exchangerate.host/latest';</a>
var request = new XMLHttpRequest();
request.open('GET', requestURL);
request.responseType = 'json';<p>request.send();
request.onload = function() {
var response = request.response;
console.log(response);
}
```
Your website looks good. The examples in several languages is also a nice touch (expected from API documentation).<p>I do have plenty of questions though.<p>Does this service get historical rates from its sources in real time or does it store those in its own local database?<p>How long will this service be free for? What’s the business model that’s being thought about?<p>What kind of rate limiting, if any, is used so that a developer who uses these APIs doesn’t have their app go down because someone else is hammering the server with a lot of requests?
Very slick site! In a previous life I worked in the crypto transaction tracing space, I ended up building my own tool to do what your API does, but this is much more polished than my tool haha.<p>Very curious about the front-end! I'd get many more side-projects out the door if I understood the path to get a polished landing page / front-end like yours!
How does this compare to <a href="https://www.sendwyre.com/" rel="nofollow">https://www.sendwyre.com/</a>?
Seems like you have multiple features including some conversion so interested in hearing about the differences.
I like the illustration of the people building the application a lot. Is there a name for this type of image?
Say I'd like to hire someone to make one of these images, what would I be searching for?
Where do you get your cryptocurrency prices from?<p>What's the daily run rate like, sustainable? I see you have GitHub donations, is that covering costs currently?
self plug: an easy to use go library built on this with smart optional caching <a href="https://github.com/asvvvad/exchange" rel="nofollow">https://github.com/asvvvad/exchange</a>