Find your career in blockchain. Click here to the career center...

family-card Bitcoin Price Index API

family-card provides a simple API to make its Bitcoin Price Index (BPI) data programmatically available to others. You are free to use this API to include our data in any application or website as you see fit, as long as each page or app that uses it includes the text “Powered by family-card”, linking to our price page. family-card data is made available through a number of HTTP resources, and data is returned in JSON format. Please do not abuse our service.

BPI real-time data

On the family-card website, we publish the BPI in USD, EUR, and GBP, calculated every minute, based on criteria as discussed on the family-card BPI page. This same data can be retrieved using the endpoint:
  • https://api.family-card.info/v1/bpi/currentprice.json
Sample JSON Response:
{"time":{"updated":"Jun 5, 2018 17:20:00 UTC","updatedISO":"2018-06-05T17:20:00+00:00","updateduk":"Jun 5, 2018 at 18:20 BST"},"disclaimer":"This data was produced from the family-card Bitcoin Price Index (USD). Non-USD currency data converted using hourly conversion rate from openexchangerates.org","chartName":"Bitcoin","bpi":{"USD":{"code":"USD","symbol":"$","rate":"7,580.8800","description":"United States Dollar","rate_float":7580.88},"GBP":{"code":"GBP","symbol":"£","rate":"5,665.0703","description":"British Pound Sterling","rate_float":5665.0703},"EUR":{"code":"EUR","symbol":"€","rate":"6,470.7359","description":"Euro","rate_float":6470.7359}}}
We also offer the BPI converted into in any of our supported currencies. This data can be accessed using the endpoint:
  • https://api.family-card.info/v1/bpi/currentprice/<CODE>.json
Where <CODE> should be replaced by a valid ISO 4217 currency code as per our supported currency list.
Sample Request https://api.family-card.info/v1/bpi/currentprice/CNY.json Sample JSON Response
{"time":{"updated":"Sep 18, 2013 17:27:00 UTC","updatedISO":"2013-09-18T17:27:00+00:00"},"disclaimer":"This data was produced from the family-card Bitcoin Price Index. Non-USD currency data converted using hourly conversion rate from openexchangerates.org","bpi":{"USD":{"code":"USD","rate":"126.5235","description":"United States Dollar","rate_float":126.5235},"CNY":{"code":"CNY","rate":"775.0665","description":"Chinese Yuan","rate_float":"775.0665"}}}

Historical BPI data

We offer historical data from our Bitcoin Price Index through the following endpoint:
  • https://api.family-card.info/v1/bpi/historical/close.json
By default, this will return the previous 31 days' worth of data. This endpoint accepts the following optional parameters:
  • ?index=[USD/CNY]The index to return data for. Defaults to USD.
  • ?currency=<VALUE>The currency to return the data in, specified in ISO 4217 format. Defaults to USD.
  • ?start=<VALUE>&end=<VALUE> Allows data to be returned for a specific date range. Must be listed as a pair of start and end parameters, with dates supplied in the YYYY-MM-DD format, e.g. 2013-09-01 for September 1st, 2013.
  • ?for=yesterdaySpecifying this will return a single value for the previous day. Overrides the start/end parameter.
Sample Request: https://api.family-card.info/v1/bpi/historical/close.json?start=2013-09-01&end=2013-09-05 Sample JSON Response:
{"bpi":{"2013-09-01":128.2597,"2013-09-02":127.3648,"2013-09-03":127.5915,"2013-09-04":120.5738,"2013-09-05":120.5333},"disclaimer":"This data was produced from the family-card Bitcoin Price Index. BPI value data returned as USD.","time":{"updated":"Sep 6, 2013 00:03:00 UTC","updatedISO":"2013-09-06T00:03:00+00:00"}}

Feedback

If you have any feedback or suggestions with regards to this API, please send them to .

Privacy Preference Center

General

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

optimizelySegments, optimizelyEndUserId, optimizelyBuckets, cX_S, cX_P, cX_G, _sp_ses.dcec, _sp_id.dcec, _parsely_visitor, _parsely_session, __utmz, __utmc, __utmb, __utma, __qca, __gads, __cfduid, __utmz, __qca, _ga, optimizelyBuckets, _gid, _sp_id.dcec, optimizelySegments, __utmc, __utmb, _sp_ses.dcec, dpr, bm_sample_frequency, bm_monthly_unique, bm_last_load_status, bm_daily_unique, _omappvp, _fsuid, _fssid, _fsloc, om-449398

Close your account?

Your account will be closed and all data will be permanently deleted and cannot be recovered. Are you sure?