Feathercoin API
These are the available options:
Value of FTC in specific fiat (FTC/Fiat)
Calls
?output=aud (Australia)
?output=eur (Euro)
?output=gbp (Great Britian)
?output=nzd (New Zealand)
?output=usd (United States)
?output=eur (Euro)
?output=gbp (Great Britian)
?output=nzd (New Zealand)
?output=usd (United States)
Options
&amount=1 (Specify amount to convert, optional, defaults to 1)
&json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1)
&json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1)
Example
Value of 1 FTC in GBP
http://api.feathercoin.com/?output=gbp&amount=1&json=1
http://api.feathercoin.com/?output=gbp&amount=1&json=1
Value of specific fiat in FTC (Fiat/FTC)
Calls
?output=ftcaud (Australia)
?output=ftceur (Euro)
?output=ftcgbp (Great Britian)
?output=ftcnzd (New Zealand)
?output=ftcusd (United States)
?output=ftceur (Euro)
?output=ftcgbp (Great Britian)
?output=ftcnzd (New Zealand)
?output=ftcusd (United States)
Options
&amount=1 (Specify amount to convert, optional, defaults to 1)
&json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1)
&json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1)
Example
Value of 1 GBP in FTC
http://api.feathercoin.com/?output=ftcgbp&amount=1&json=1
http://api.feathercoin.com/?output=ftcgbp&amount=1&json=1
Value of Feathercoin in all currencies (FTC/Fiat)
Calls
?output=currencies
Options
&amount=1 (Specify amount to convert, optional, defaults to 1)
Example
Value of 1 FTC in all supported currencies
http://api.feathercoin.com/?output=currencies&amount=1
http://api.feathercoin.com/?output=currencies&amount=1
Value of all currencies in Feathercoin (Fiat/FTC)
Calls
?output=ftccurrencies
Options
&amount=1 (Specify amount to convert, optional, defaults to 1)
Example
Value of 1 of all supported currencies in Feathercoin
http://api.feathercoin.com/?output=ftccurrencies&amount=1
http://api.feathercoin.com/?output=ftccurrencies&amount=1
Get Feathercoin difficulty
Calls
?output=difficulty
Options
&json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1)
Example
Get Feathercoin address confirms
Calls
?output=getconflasttx
Options
&address= (Feathercoin address, mandatory)
&json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1)
&json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1)
Example
Get Feathercoin address balance
Calls
?output=balance
Options
&address= (Feathercoin address, mandatory)
&json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1)
&json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1)
Example
Generate QR code
Calls
?output=qrcode
Options
&address= (Feathercoin address that the QR code will use, mandatory)
&amount= (Specify amount to convert, optional, defaults to 0)
&label= (Specify a label for the address, optional)
&amount= (Specify amount to convert, optional, defaults to 0)
&label= (Specify a label for the address, optional)
Example
Get Feathercoin stats
Calls
?output=stats
Returns
Returns the following in JSON
currblk – Current block number
khs – Current Hashrate in Kh/s
retblk – Next retarget block number
blkstoret – Blocks to next retarget
exptimeperblk – Expected time per block
nowdiff – Current difficulty
nextdiff – Expected next difficulty
timetoret – Time to retarget in second
days – Days till next retarget
hours – Hours till retarget after removing days
min – Minutes till retarget after removing hours and days
sec – Seconds till retarget after removing hours, days and minutes
totcm – Total number of Feathercoins
currblk – Current block number
khs – Current Hashrate in Kh/s
retblk – Next retarget block number
blkstoret – Blocks to next retarget
exptimeperblk – Expected time per block
nowdiff – Current difficulty
nextdiff – Expected next difficulty
timetoret – Time to retarget in second
days – Days till next retarget
hours – Hours till retarget after removing days
min – Minutes till retarget after removing hours and days
sec – Seconds till retarget after removing hours, days and minutes
totcm – Total number of Feathercoins
Example