Skip to content
Bitcoin Venezuela API and web services
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api/src first commit Sep 10, 2018
config first commit Sep 10, 2018
deploy
models
schedule zona horaria Oct 17, 2018
services mejora de la calculadora Sep 15, 2018
tools/recuveHistorical
utils mejora de la calculadora Sep 15, 2018
.dockerignore Add deploy to rancher cluster igonore deploy directory on docker builder Oct 8, 2018
.gitignore first commit Sep 10, 2018
Dockerfile first commit Sep 10, 2018
README.md
app.js
docker-compose.yml
index.js
init.js
main.js first commit Sep 10, 2018
nodemon.json first commit Sep 10, 2018
package-lock.json
package.json first commit Sep 10, 2018

README.md

Bitcoin Venezuela API v2

Para usar Docker en cojunto con docker-compose.yml

Valido para produccion o desarrollo

git clone https://github.com/btcven/api
cd api
docker-compose up -d

Con tu navegador vas a poder acceder a la API a través del puerto 3000

http://localhost:3000

Cómo instalar la versión sólo BTCVES:

Debe tener instalado y configurado:

Instalacion y ejecucion:

  • Open Port 3000
  • Cree o ubiquese en la carpeta donde alojara el codigo fuente
  • Clone repo -> git clone https://github.com/btcven/api.git
  • Ubiquese en la capeta -> "api"
  • Ejecute el comando -> "npm install"
  • Ejecute el comando -> "forever start main.js" y "forever stop main.js" para detener
  • Done -> Solicite la https://addresserver:3000/coin desde cualquier navegador

How to enable BTCVES-only mode:

You need to have installed and already set:

  • Nodejs
  • Redis
  • Forever _run the command "npm install forever"

Installation and execution:

  • Open Port 3000
  • Create or go to the directory where you will run the source code from
  • Clone repo -> git clone https://github.com/btcven/api.git
  • Go to the directory -> "api"
  • Run the command -> "npm install"
  • Run the command -> "forever start main.js" and "forever stop main.js" to stop it
  • Done -> You can visit https://addresserver:3000/coin from any browser

Bitcoin Venezuela API (v1)

Bitcoin Venezuela API shows the current price of Bitcoin in these currencies: USD, EUR, VEF, ARS

Exchange rates:

  • EUR per USD
  • VEF per USD
  • ARS per USD
  • XVE per USD
  • XVE per EUR
  • XAR per USD

Current LocalBitcoins' coupons price: USD, VEF (deprecated)

Options

You can use the data of this API making requests to https://api.bitcoinvenezuela.com

It could also be embedded as an iframe with this options:

  • Show as HTML: https://api.bitcoinvenezuela.com?html=yes [&ltc=yes] [&msc=yes] [&rates=yes] [&coupons=yes]

  • Show Litecoin prices: &ltc=yes

  • Show Mastercoin prices: &msc=yes

  • Show exchange rates: &rates=yes

  • Show LocalBitcoins' coupons price: &coupons=yes

Calculator

https://api.bitcoinvenezuela.com/?html=no&currency= _currency_ &amount= _amount_ [&to= _currency_ ]

?html=no *

&currency= *: BTC, USD, EUR, VEF, ARS. Gives the amount of bitcoins for this currency.

&amount= *: amount of the given currency.

&to= : set this field to calculate BTC, LTC or MSC to this currency. If not set the default currency used is VEF.

* required

Historical

Show the recorded prices for Bitcoin and Litecoin in USD, EUR, VEF and ARS.

https://api.bitcoinvenezuela.com/historical/[?coin=_coin_][?pair=_pair_]

Historical data can be filtered by coin: BTC, LTC, MSC

Or to a specific pair of currencies: BTCUSD, BTCEUR, BTCVEF, BTCARS, LTCUSD, LTCEUR, LTCVEF, LTCARS, LTCBTC, MSCUSD, MSCEUR, MSCVEF, MSCARS, MSCBTC

DolarToday

Data taken from DolarToday.com can be accessed here

https://api.bitcoinvenezuela.com/DolarToday.php?json=yes

Donations

1VenCBSjJWDi6PDgEDppZzXsNWHiwitzT

You can’t perform that action at this time.