Difference between revisions of "Do you have an API?"

From Bittylicious
Jump to navigation Jump to search
(Created page with "We have a simple API where you can get the current price offered by Bittylicious. ==Quote (number of coins)== ''https://bittylicious.com/api/v1/quote/'''COIN'''/'''COUNTRY''...")
 
Line 3: Line 3:
==Quote (number of coins)==
==Quote (number of coins)==


''https://bittylicious.com/api/v1/quote/'''COIN'''/'''COUNTRY'''/'''CURRENCY'''/'''PAYMETHOD'''/'''AMOUNT'''''
''https://bittylicious.com/api/v1/quote/COIN/'COUNTRY/CURRENCY/PAYMETHOD/AMOUNT''


* '''COIN''': The virtual currency, e.g. BTC
* '''COIN''': The virtual currency, e.g. BTC

Revision as of 08:24, 29 January 2014

We have a simple API where you can get the current price offered by Bittylicious.

Quote (number of coins)

https://bittylicious.com/api/v1/quote/COIN/'COUNTRY/CURRENCY/PAYMETHOD/AMOUNT

  • COIN: The virtual currency, e.g. BTC
  • COUNTRY: The ISO country code, e.g. GB
  • CURRENCY: The currency, e.g. GBP
  • PAYMETHOD: The payment method, e.g. BANK, PINGIT or CASH
  • AMOUNT: The amount of virtual currency, e.g. 1

For example, to return the current price of 1 BTC in the UK using GBP via bank transfer, call https://bittylicious.com/api/v1/quote/BTC/GB/GBP/BANK/1