比特币api接口是什么

API是英文Application Programming Interface的简写,即应用程序接口,可以和其他硬件或者软件简单快速衔接。不需要外接软件或硬件的操作人员了解熟悉源代码和工作机制。大多数开源的软件系统都提供API接口。而比特币作为最大的数字货币,其相关的第三方API接口也非常之多,一般是关于比特币行情或者交易到账通知一类的功能。

开发人员常用的比特币API大致有如下几种。

blockchain.com 

访问地址:https://www.blockchain.com/api

特点:

1.使用比例高

[if !supportLists]2. [endif]提供一些稳定的基础功能,比如市场行情、支付处理通知等等

[if !supportLists]3. [endif]还针对Java、php、Python等不同编程语言提供封装开发包

可以说是很便捷实用了。


block.io

访问地址:https://www.block.io/docs

特点:

[if !supportLists]1. [endif]提供基本转账交易实时通知等基础钱包服务

[if !supportLists]2. [endif]支持web hook和websocket

[if !supportLists]3. [endif]免费用户限流

 

blockcypher.com

访问地址:https://www.blockcypher.com/dev/bitcoin/

特点:

[if !supportLists]1. [endif]提供基本转账交易实时通知等基础钱包服务

[if !supportLists]2. [endif]提供rest风格的接口


bitcoinchain.com

访问地址:https://bitcoinchain.com/api

特点:

[if !supportLists]1. [endif]提供基本转账交易实时通知等基础钱包服务

[if !supportLists]2. [endif]提供rest和steam两种方式

[if !supportLists]3. [endif]免费用户限流


blockchain.info

访问地址:https://blockchain.info/q

特点:

[if !supportLists]1. [endif]是区块链浏览服务的提供商

[if !supportLists]2. [endif]专注比特币交易信息的查询


btc.com

访问地址:https://btc.com/api-doc

特点:

[if !supportLists]1. [endif]和blockchain.info一样专注比特币交易信息的查询

[if !supportLists]2. [endif]不支持交易广播


chain.so

访问地址:https://chain.so/api

特点:

[if !supportLists]1. [endif]支持除比特币之外的一些数字货币,如莱特币等

[if !supportLists]2. [endif]提供行情、地址等基础钱包服务

[if !supportLists]4. [endif]支持广播

[if !supportLists]5. [endif]免费用户限流


chainquery.com

访问地址:http://chainquery.com/bitcoin-api

特点:

[if !supportLists]6. [endif]提供基本转账交易实时通知等基础钱包服务

[if !supportLists]7. [endif]支持web hook和websocket

[if !supportLists]8. [endif]免费用户限流


coinbase.com

访问地址:https://developers.coinbase.com/

特点:

[if !supportLists]1. [endif]提供市场行情实时、基本转账交易通知、生成地址等基础钱包服务

[if !supportLists]2. [endif]接入API需要使用OAuth2(开放授权标准),会被一些不想要提供个人信息的用户和开发者所不喜

coindesk.com

访问地址:https://www.coindesk.com/api

特点:

[if !supportLists]1. [endif]专注比特币价值指数相关,比如实时和历史BPI(即大宗交易价格指数),能够有效反映出价格基准的变化,便于对市场的把控

[if !supportLists]2. [endif]不支持区块链交互


无论是比特币体系的单币种钱包还是多币种钱包,一般都需要比特币API,像优盾钱包就提供开源代码,开放API接口,方便各交易所自由选择接入想要的功能。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容