It’s not a secret that the great advantages of application programming interfaces as regards new ways of doing business with third parties and reducing costs. Their importance is clearly evidenced by the fact that no company, entrepreneur or developer envisions the present or the future without them. The same applies to the community that offers solutions linked to bitcoins. Without APIs it would be almost impossible to implement the payment and transaction technology.
CoinDesk is a platform that offers bitcoin-related services. Its most used service is probably the Bitcoin Price Index (BPI) which establishes bitcoin’s exchange price in real time. Hundreds of bitcoin-related services use this index to calculate their exchange policy. To include information from this index in an application or website, external developers only need to fulfill a single condition: CoinDesk needs to be credited as the primary source of the index’s financial data.
This interface is a REST API which returns information in JSON format. As it usually happens with a REST API, the requests for this data are made through HTTP requests. Initially, there is no limitation on using the API or the flow of requests for information albeit you are warned against abuse. CoinDesk API has several endpoints from which external developers can raise requests and obtain answers.
For example, the API offers the exchange price of their index in several currencies to programmers of other applications through an endpoint with the following URL: http(s)://api.coindesk.com/v1/bpi/currentprice.json. An endpoint is basically a remote procedure call (RPC) service that provides an access method for external people or customers. Typically, its answer is in JSON format. Example:
{“time”:{“updated”:”Jun 8, 2016 18:11:00 UTC”,”updatedISO”:”2016-06-08T18:11:00+00:00″,”updateduk”:”Jun 8, 2016 at 19:11 BST”},”disclaimer”:”This data was produced from the CoinDesk Bitcoin Price Index (USD). Non-USD currency data converted using hourly conversion rate from openexchangerates.org”,”bpi”:{“USD”:{“code”:”USD”,”symbol”:”$”,”rate”:”578.9950″,”description”:”United States Dollar”,”rate_float”:578.995},”GBP”:{“code”:”GBP”,”symbol”:”£”,”rate”:”398.7741″,”description”:”British Pound Sterling”,”rate_float”:398.7741},”EUR”:{“code”:”EUR”,”symbol”:”€”,”rate”:”507.7566″,”description”:”Euro”,”rate_float”:507.7566}}}
Bitpay API
Bitpay is an online payment service that allows you to carry out transactions with bitcoins. Application and service developers can connect to Bitpay API to integrate features such as invoice management, refunds, transactions, pricing, etc. into their products. And all this is achieved through HTTP calls made directly to Bitpay API using programming languages such as Node.js, PHP and Ruby. This application programming interface is based on the REST protocol (REST API).
The API’s operation is simple: any developer can perform a HTTP call to any resource in the API and the latter returns the requested information in JSON format. The process can become much more intuitive because Bitpay offers several specific libraries for this purpose: as we explained, libraries in multiple types of syntax; and open-source plugins that are also available on GitHub. These can be used to install content management systems such as Drupal and WordPress or e-commerce specific toolboxes such as Prestashop, Magento and WooCommerce. Since it is open source, it can be downloaded and improved by developers.
API sessions are an interesting concept within Bitpay’s interface. This feature increases its security and privacy against replay attacks; also, it ensures that requests for information are processed in order of arrival even if the service is interrupted. Every HTTP call to the API is associated with a session ID (sessionID) and a request number (requestNumber). This process is bidirectional:
– Each additional HTTP request to the API results in a change to the requestNumber. The first one is assigned the number 1; the second is assigned the number 2…
– If a customer makes a request and the service doesn’t return any information because the service has been interrupted, the developer can run the call again using the same requestNumber. The API returns the information if this has been cached; alternatively, it sends it from scratch.
Coinbase APIs
Coinbase is possibly one of the most well-known platforms for buying, selling and using bitcoins. A big part of its success is based on its range of APIs: Merchants API, Exchange API and Network (Toshi) API (currently in beta phase).
– Merchants API: this REST API allows external developers to access and integrate all features offered by Coinbase Merchants into their applications; these features include accepting online payments in bitcoins and managing invoices. The API supports two types of authentication: an API key for customers to access their own accounts, and an OAuth2 protocol which creates access tokens for external developers.
– Exchange API: application programming interface that allows other developers to design trading products using bitcoins and benefiting from secure and reliable access to the U.S. stock market. To capture data in real time programmers can resort to two libraries in two different types of syntax: one library is in Node.js (simplifies the return of information in JSON format and the execution of requests through the API’s endpoints) and the other library is in Ruby.
– Network (Toshi) API: Toshi is an open-source bitcoin node developed by Coinbase to design online apps on a large scale. It allows you to access aggregate blockchain data: retrieve the latest bitcoin blocks; carry out all kinds of transactions; and obtain information about transactions and balances.
Fintechs are financial platforms that democratize finance, as well as the ecosystem, technology and companies on which they rely Fintechs are the next iteration of the financial world. What are these financial platforms and what types are there? In Spain, fintech companies are creating a mature and growing market thanks to the inherent advantages of […]
Brokers are tools that allow active trading on financial markets, and they are also the people who execute those orders. In one way or another, brokers have been with us for more than half a millennium. Although they are now known as trading platforms which can be used at different levels, from beginner through to […]
Please, if you can't find it, check your spam folder
×
The email message with your ebook is on the way
We have sent you two messages. One with the requested ebook and one to confirm your email address and start receiving the newsletter and/or other commercial communications from BBVA API_Market
×
PROCESSING OF PERSONAL DATA
Who is the Data Controller of your personal data?
Banco Bilbao Vizcaya Argentaria, S.A. (“BBVA“) with registered address at Plaza de San Nicolás 4, 48005, Bilbao, España and Tax ID number A-48265169 . Email address: contact.bbvaapimarket@bbva.com
What for and why does BBVA use your personal data for?
For those activities among the following for which you give your consent by checking the corresponding box:
to receive newsletter from BBVA API_Market through electronic means;
to send you commercial communications, events and surveys relating to BBVA API_Market to the e-mail address you have provided.
For how long we will keep your data?
We will keep your data until you unsubscribe from receiving our newsletter or, if applicable, the commercial communications, events and surveys to which you have subscribed. Whether you unsubscribe or whether BBVA decides to end the service, your details will be deleted.
How can I unsubscribe to stop receiving newsletters and/or communications from BBVA API_Market?
You can unsubscribe at any time and without need to indicate any justification, by sending an email to the following address: contact.bbvaapimarket@bbva.com
To whom will we communicate your data?
We will not transfer your personal data to third parties, unless it is mandatory by a law or if you have previously agreed to do so.
What are your rights when you provide us with your information?
You will be able to consult your personal data included in BBVA files (access right)
You can modify your personal data when they are inaccurate (correction right)
You may request that your personal data not be processed (opposition right)
You may request your personal data be deleted (suppression right)
You can request a limitation on the processing of your data in the allowed cases (right of limitation of processing)
You will be able to receive, in electronic format, the personal data you have provided to us, as well as to transmit them to another entity (portability right)
You are responsible for the accuracy of the personal data you provide to BBVA and to keep them duly updated. If you believe that we have not processed your personal data in accordance with regulations, you can contact the Data Protection Officer of BBVA at the following address dpogrupobbva@bbva.com.
You can find more information in the “Personal Data Protection Policy” document on this website.
×
PROCESSING OF PERSONAL DATA
Who is the Data Controller of your personal data? Banco Bilbao Vizcaya Argentaria, S.A (“BBVA“), with registered address at Plaza de San Nicolás 4, 48005, Bilbao, España, and Tax ID No. A-48265169. Email address:contact.bbvaapimarket@bbva.com
What for and why does BBVA use your personal data for?
For the execution and management of your request, specifically, download the requested e-book/s.
BBVA informs you that, unless you indicate your opposition by sending an email to the following address: contact.bbvaapimarket@bbva.com, BBVA may send you commercial communications, surveys and events related to products and/or services of BBVA API Market through electronic means.
For how long we will keep your data?
We will keep your data as long as necessary for the management of your request, and to receive commercial communications, events and surveys. BBVA will keep your data until you unsubscribe to stop receiving our newsletters or, where appropriate, until the end of the service. Afterwards, we will destroy your data.
How can I unsubscribe to stop receiving newsletters and/or communications from BBVA API Market?
You can unsubscribe at any time and without need to indicate any justification, by sending an email to the following address: contact.bbvaapimarket@bbva.com
To whom will we communicate your data?
We will not transfer your personal data to third parties, unless it is mandatory by a law or if you have previously agreed to do so.
What are your rights when you provide us with your information?
You will be able to consult your personal data included in BBVA files (access right)
You can modify your personal data when they are inaccurate (correction right)
You may request that your personal data not be processed (opposition right)
You may request your personal data be deleted (suppression right)
You can request a limitation on the processing of your data in the allowed cases (right of limitation of processing)
You will be able to receive, in electronic format, the personal data you have provided to us, as well as to transmit them to another entity (portability right)
You can exercise before BBVA the aforementioned rights through the following address: contact.bbvaapimarket@bbva.com
You are responsible for the accuracy of the personal data you provide to BBVA and to keep them duly updated.
If you believe that we have not processed your personal data in accordance with the regulations, you can contact the Data Protection Officer at the following address: dpogrupobbva@bbva.com
You can find more information in the “Personal Data Protection Policy” document on this website.
Banco Bilbao Vizcaya Argentaria, S.A. owner of this portal uses cookies and/or similar technologies of its own and third parties for the purposes of personalization, analytics, behavioral advertising or advertising related to your preferences based on a profile prepared from your browsing habits (e.g. pages visited). If you wish to obtain more detailed information, consult our Cookies Policy.
Cookie settings panel
These are the advanced settings for first-party and third-party cookies. Here you can change the parameters that will affect your browsing experience on this website.
Technical Cookies (required)
These cookies are used to give you secure access to areas with personal information and to identify you when you log in.
Name
Owner
Duration
Description
gobp.lang
BBVA
1 month
Language preference
aceptarCookies
BBVA
1 year
Configuration Accepted Cookies
_abck
BBVA
1 year
Helps protect against malicious website attacks
bm_sz
BBVA
4 hours
Helps protect against malicious website attacks
ADRUM_BTs
Salesforce Marketing Cloud
Session
Required for monitoring of the service, inherent to SFMC
ADRUM_BT1
Salesforce Marketing Cloud
Session
Required for monitoring of the service, inherent to SFMC
ADRUM_BTa
Salesforce Marketing Cloud
Session
Required for monitoring of the service, inherent to SFMC
ADRUM_BT
Salesforce Marketing Cloud
Session
Required for monitoring of the service, inherent to SFMC
xt_0d95e
Salesforce Marketing Cloud
Session
Remember user preferences (if any)
__s9744cdb192d044faa1bf201d29fafd1e
Salesforce Marketing Cloud
Session
Remember user preferences (if any)
wpml_browser_redirect_test
WPML
Session
Text translation in the portal
wp-wpml_current_language
WPML
24 hours
Text translation in the portal
They are used to track the activity or number of visits anonymously. Thanks to them we can constantly improve your browsing experience
Your browsing experience is constantly improving.
With your selection, we cannot offer you a continuously improved browsing experience.
Name
Owner
Duration
Description
AMCV_***
Adobe Analytics
Session
Unique Visitor IDs used in Cloud Marketing solutions
AMCVS_***
Adobe Analytics
2 years
Unique Visitor IDs used in Cloud Marketing solutions
demdex (safari)
Adobe Analytics
180 days
Create and store unique and persistent identifiers
sessionID
Adobe Analytics
Session
Launch's internal cookie used to identify the user
gpv_URL
Adobe Analytics
Session
Adobe Analytics plugin: getPreviousValue Capture the value of a certain variable in the following page view, in this case the prop1
gpv_level1
Adobe Analytics
Session
Cookie used to store the DataLayer levl1 of the previous page.
gpv_pageIntent
Adobe Analytics
Session
Cookie used to store the pageIntent of the previous page.
gpv_pageName
Adobe Analytics
Session
Cookie used to store the pagename of the previous page.
aocs
Adobe Analytics
Session
Cookie that stores the first values collected at the beginning of a process.
TTC
Adobe Analytics
Session
Cookie used to store the time between the App Page Visit event and the App Completed event.
TTCL
Adobe Analytics
Session
Cookie used to store the time between the LogIn event and App Completed.
s_cc
Adobe Analytics
Session
Determine if cookies are active
s_hc
Adobe Analytics
Session
Cookie used by Adobe for analytical purposes
s_ht
Adobe Analytics
Session
Cookie used by Adobe for analytical purposes
s_nr
Adobe Analytics
2 years
Determine the number of user visits
s_ppv
Adobe Analytics
Permanent
Adobe Analytics plugin: getPercentPageViewed Determine what percentage of the page a user views
s_sq
Adobe Analytics
Session
ClickMap/ActivityMap features
s_tp
Adobe Analytics
Session
Cookie used by Adobe for analytical purposes
s_visit
Adobe Analytics
2 years
Cookie used by Adobe to know when a session has been started.
They allow the advertising shown to you to be customized and relevant to you. Thanks to these cookies, you will not see ads that you are not interested in.
The advertising is customized to you and your preferences.
Your choice means you will not see customized ads, only generic ones.
Name
Owner
Duration
Description
OT2
VersaTag
90 days
VersaTag Cookie used to store a user id and the number of user visits.
u2
VersaTag
90 days
VersaTag Cookie where the user ID is stored
TargetingInfo 2
MediaMind
1 year
Cookie that serves to assign a unique random number that generates MediaMind.
These cookies are related to general features such as the browser you use.
Your experience and content have been customized.
With your selection, we cannot offer you a continuously improved browsing experience.
Name
Owner
Duration
Description
mbox
Adobe Target
9 days
Cookie used by Adobe Target to test user experience customization.
×
Looks like you’re browsing from Mexico, so let’s show you the custom content for your
location. Change
Looks like you’re browsing from Spain, so let’s show you the custom content for your
location. Change
Select a country
In order to access the private area and corresponding sandbox, select the country of the APIs you want to use.