Post
Topic
Board Service Discussion
Topic OP
Embed plaintext price from Bitstamp using API (jsonp?)
by
amoai
on 01/05/2014, 14:21:41 UTC
How do I fetch Bitstamp's last price quote from their JSON ticker api and have it on my website as plain text?

Here's what I tried with no luck,

Attempt 1)
 
Code:

Buy Price:

Sell Price:


Code:

I was told that it has to be jsonp, and not json (because I'm using an external url source).

Is it possible to use JSONP just from Jquery+HTML+javascript to embed prices in plain text?

If not Bitstamp's api can I use BitcoinChart's, or Blockchain's API?