Bitcoincharts, Markets API

API Overview

Bitcoincharts provides a elementary API to most of its gegevens. You can use this API to include markets gegevens ter your websites, mobile apps or desktop applets. Please reminisce to add a verbinding to Bitcoincharts!

  • Bitcoincharts’ API is accessable through HTTP
  • Parameters are passed using GET-requests
  • returned gegevens is JSON encoded
  • Don’t query more often than merienda every 15 minutes!

Related movie:


Weighted Prices

Bitcoincharts offers weighted prices for several currencies at http://api.bitcoincharts.com/v1/weighted_prices.json. You can use this to price goods and services te Bitcoins. This will yield much lower fluctuations than using a single market’s latest price.

Weighted prices are calculated for the last 24 hours, 7 days and 30 days. If there are no trades during an interval (like no trade within 24 hours) no value will be returned. Prepare your code to treat this cases!

The returned JSON is dictionary with elements for each currency. Each currency has up to three key-value pairs: 24h, 7d and 30d.

Markets Gegevens

You can access normal market gegevens at http://api.bitcoincharts.com/v1/markets.json. This will comeback an array with elements for each market. Returned fields vanaf market are:

Related movie:


colchoneta currency of the market (USD, EUR, Grope, JPY, . )

  • bid
  • unixtime of latest trade. Following fields relate to the day of this field (UTC)!

  • n_trades
  • atest trade of previous day

  • volume
  • total trade volume of day ter BTC

  • currency_volume
  • total trade volume of day te currency

    Related movie:


    Historic Trade Gegevens

    Trade gegevens is available spil CSV, delayed by approx. 15 minutes. It will terugwedstrijd the 2000 most latest trades.

    You can use the embark parameter to specify an earlier unix timestamp te order to retrieve older gegevens.

    Examples

    Please note that you can only fetch up to Five days worth of gegevens using this API.

    Telnet interface

    There is an empírico telnet streaming interface on TCP port 27007 at api.bitcoincharts.com.

    This service is stringently for private use. Do not assume this gegevens to be 100% accurate or write trading bots that rely on it.

    3 comments

    1. I think there is thing called conjugal property, unless this bitcoin wasgoed earned by the two, the can share it else if this is solely hard earned by a stud, the woman have no rights to have a share from it. Aside from that, I think it should be announced spil couples savings te order for thesis separate duo to have an equal share on that BTC. But one thing is for sure, it would effortless to find a fresh playmate with such FAT BTC wallet.

    2. However my ex wifey didnt know about it, and spil I bought all my BTC on localbitcoins there’s no paperwork that traced it to mij. So I didnt proclaim it on the divorce paperwork

    Leave a Reply

    Your email address will not be published. Required fields are marked *