{"id":467,"date":"2014-02-11T16:25:53","date_gmt":"2014-02-11T16:25:53","guid":{"rendered":"https:\/\/dev.feathercoin.com\/?page_id=467"},"modified":"2017-01-14T22:47:27","modified_gmt":"2017-01-14T22:47:27","slug":"feathercoin-api","status":"publish","type":"page","link":"https:\/\/feathercoin.com\/feathercoin-api\/","title":{"rendered":"feathercoin API"},"content":{"rendered":"<p>[et_pb_section admin_label=&#8221;section&#8221;][et_pb_row admin_label=&#8221;row&#8221;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<h1>\u00a0Feathercoin API<\/h1>\n<p>&nbsp;<\/p>\n<h3><em>These are the available options:<\/em><\/h3>\n<div id=\"container\" style=\"width: 800px;\">\n<div style=\"width: 800px;\">\n<h3 style=\"margin-bottom: 10px;\"><strong>Value of FTC in specific fiat (FTC\/Fiat)<\/strong><\/h3>\n<\/div>\n<div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>?output=aud<\/b> (Australia)<br \/>\n<b>?output=eur<\/b> (Euro)<br \/>\n<b>?output=gbp<\/b> (Great Britian)<br \/>\n<b>?output=nzd<\/b> (New Zealand)<br \/>\n<b>?output=usd<\/b> (United States)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>&amp;amount=1<\/b> (Specify amount to convert, optional, defaults to 1)<br \/>\n<b>&amp;json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>Value of 1 FTC in GBP<\/b><br \/>\n<a href=\"http:\/\/api.feathercoin.com\/?output=gbp&amp;amount=1&amp;json=1\">http:\/\/api.feathercoin.com\/?output=gbp&amp;amount=1&amp;json=1<\/a><\/div>\n<div style=\"width: 800px;\">\n<h3 style=\"margin-bottom: 10px;\"><strong>Value of specific fiat in FTC (Fiat\/FTC)<\/strong><\/h3>\n<\/div>\n<div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>?output=ftcaud<\/b> (Australia)<br \/>\n<b>?output=ftceur<\/b> (Euro)<br \/>\n<b>?output=ftcgbp<\/b> (Great Britian)<br \/>\n<b>?output=ftcnzd<\/b> (New Zealand)<br \/>\n<b>?output=ftcusd<\/b> (United States)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>&amp;amount=1<\/b> (Specify amount to convert, optional, defaults to 1)<br \/>\n<b>&amp;json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>Value of 1 GBP in FTC<\/b><br \/>\n<a href=\"http:\/\/api.feathercoin.com\/?output=ftcgbp&amp;amount=1&amp;json=1\">http:\/\/api.feathercoin.com\/?output=ftcgbp&amp;amount=1&amp;json=1<\/p>\n<p><\/a><\/div>\n<div style=\"width: 800px;\">\n<h3 style=\"margin-bottom: 10px;\"><strong>Value of Feathercoin in all currencies (FTC\/Fiat)<\/strong><\/h3>\n<\/div>\n<div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>?output=currencies<\/b><\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>&amp;amount=1<\/b> (Specify amount to convert, optional, defaults to 1)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>Value of 1 FTC in all supported currencies<\/b><br \/>\n<a href=\"http:\/\/api.feathercoin.com\/?output=currencies&amp;amount=1\">http:\/\/api.feathercoin.com\/?output=currencies&amp;amount=1<\/p>\n<p><\/a><\/div>\n<div style=\"width: 800px;\">\n<h3 style=\"margin-bottom: 10px;\"><strong>Value of all currencies in Feathercoin (Fiat\/FTC)<\/strong><\/h3>\n<\/div>\n<div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>?output=ftccurrencies<\/b><\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>&amp;amount=1<\/b> (Specify amount to convert, optional, defaults to 1)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>Value of 1 of all supported currencies in Feathercoin<\/b><br \/>\n<a href=\"http:\/\/api.feathercoin.com\/?output=ftccurrencies&amp;amount=1\">http:\/\/api.feathercoin.com\/?output=ftccurrencies&amp;amount=1<\/p>\n<p><\/a><\/div>\n<div style=\"width: 800px;\">\n<h3 style=\"margin-bottom: 10px;\"><strong>Get Feathercoin difficulty<\/strong><\/h3>\n<\/div>\n<div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>?output=difficulty<\/b><\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>&amp;json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div>\n<div style=\"width: 700px; float: left;\">\n<p><a href=\"http:\/\/api.feathercoin.com\/?output=difficulty\">http:\/\/api.feathercoin.com\/?output=difficulty&amp;json=1<\/a><\/p>\n<\/div>\n<div style=\"width: 800px;\">\n<h3 style=\"margin-bottom: 10px;\"><strong>Get Feathercoin address confirms<\/strong><\/h3>\n<\/div>\n<div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>?output=getconflasttx<\/b><\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>&amp;address=<\/b> (Feathercoin address, mandatory)<br \/>\n<b>&amp;json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div>\n<div style=\"width: 700px; float: left;\">\n<p><a href=\"http:\/\/api.feathercoin.com\/?output=getconflasttx&amp;address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf&amp;json=1\">http:\/\/api.feathercoin.com\/?output=difficulty&amp;json=1<\/a><\/p>\n<\/div>\n<div style=\"width: 800px;\">\n<h3 style=\"margin-bottom: 10px;\"><strong>Get Feathercoin address balance<\/strong><\/h3>\n<\/div>\n<div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>?output=balance<\/b><\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>&amp;address=<\/b> (Feathercoin address, mandatory)<br \/>\n<b>&amp;json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div>\n<div style=\"width: 700px; float: left;\">\n<p><a href=\"http:\/\/api.feathercoin.com\/?output=balance&amp;address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf&amp;json=1\">http:\/\/api.feathercoin.com\/?output=balance&amp;address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf<\/a><\/p>\n<\/div>\n<div style=\"width: 800px;\">\n<h3 style=\"margin-bottom: 10px;\"><strong>Generate QR code<\/strong><\/h3>\n<\/div>\n<div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>?output=qrcode<\/b><\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>&amp;address=<\/b> (Feathercoin address that the QR code will use, mandatory)<br \/>\n<b>&amp;amount=<\/b> (Specify amount to convert, optional, defaults to 0)<br \/>\n<b>&amp;label=<\/b> (Specify a label for the address, optional)<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div>\n<div style=\"width: 700px; float: left;\">\n<p><a href=\"http:\/\/api.feathercoin.com\/?output=qrcode&amp;address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf&amp;amount=100&amp;label=Wallet\">http:\/\/api.feathercoin.com\/?output=qrcode&amp;address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf&amp;amount=100&amp;label=Wallet<\/a><\/p>\n<\/div>\n<div style=\"width: 800px;\">\n<h3 style=\"margin-bottom: 10px;\"><strong>Get Feathercoin stats<\/strong><\/h3>\n<\/div>\n<div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div>\n<div style=\"width: 700px; float: left;\">?output=stats<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Returns<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><b>Returns the following in JSON<\/b><br \/>\ncurrblk &#8211; Current block number<br \/>\nkhs &#8211; Current Hashrate in Kh\/s<br \/>\nretblk &#8211; Next retarget block number<br \/>\nblkstoret &#8211; Blocks to next retarget<br \/>\nexptimeperblk &#8211; Expected time per block<br \/>\nnowdiff &#8211; Current difficulty<br \/>\nnextdiff &#8211; Expected next difficulty<br \/>\ntimetoret &#8211; Time to retarget in second<br \/>\ndays &#8211; Days till next retarget<br \/>\nhours &#8211; Hours till retarget after removing days<br \/>\nmin &#8211; Minutes till retarget after removing hours and days<br \/>\nsec &#8211; Seconds till retarget after removing hours, days and minutes<br \/>\ntotcm &#8211; Total number of Feathercoins<\/div>\n<div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div>\n<div style=\"width: 700px; float: left;\"><a href=\"http:\/\/api.feathercoin.com\/?output=stats\">http:\/\/api.feathercoin.com\/?output=stats<\/a><\/div>\n<\/div>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Feathercoin API &nbsp; 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) Options &amp;amount=1 (Specify amount to convert, optional, defaults to 1) &amp;json=1 (Toggle JSON output with 0 or 1, optional, defauls to 1) Example Value of 1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<h1>feathercoin API<\/h1><p>You can access the feathercoin API using the link http:\/\/api.feathercoin.com. There are several parameter to create the output of your needs.<\/p><p>Text or JSON output is available.<\/p><h3>These are the available options:<\/h3><div id=\"container\" style=\"width: 800px;\"><div style=\"width: 800px;\"><h3 style=\"margin-bottom: 10px;\">Value of FTC in specific fiat (FTC\/Fiat)<\/h3><\/div><div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div><div style=\"width: 700px; float: left;\"><b>?output=aud<\/b> (Australia)<br \/> <b>?output=eur<\/b> (Euro)<br \/> <b>?output=gbp<\/b> (Great Britian)<br \/> <b>?output=nzd<\/b> (New Zealand)<br \/> <b>?output=usd<\/b> (United States)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div><div style=\"width: 700px; float: left;\"><b>&amount=1<\/b> (Specify amount to convert, optional, defaults to 1)<br \/> <b>&json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div><div style=\"width: 700px; float: left;\"><b>Value of 1 FTC in GBP<\/b><br \/> <a href=\"http:\/\/api.feathercoin.com\/?output=gbp&amount=1&json=1\">http:\/\/api.feathercoin.com\/?output=gbp&amount=1&json=1<\/a><\/div><div style=\"width: 800px;\"><h3 style=\"margin-bottom: 10px;\">Value of specific fiat in FTC (Fiat\/FTC)<\/h3><\/div><div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div><div style=\"width: 700px; float: left;\"><b>?output=ftcaud<\/b> (Australia)<br \/> <b>?output=ftceur<\/b> (Euro)<br \/> <b>?output=ftcgbp<\/b> (Great Britian)<br \/> <b>?output=ftcnzd<\/b> (New Zealand)<br \/> <b>?output=ftcusd<\/b> (United States)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div><div style=\"width: 700px; float: left;\"><b>&amount=1<\/b> (Specify amount to convert, optional, defaults to 1)<br \/> <b>&json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div><div style=\"width: 700px; float: left;\"><b>Value of 1 GBP in FTC<\/b><br \/> <a href=\"http:\/\/api.feathercoin.com\/?output=ftcgbp&amount=1&json=1\">http:\/\/api.feathercoin.com\/?output=ftcgbp&amount=1&json=1<\/a><\/div><div style=\"width: 800px;\"><h3 style=\"margin-bottom: 10px;\">Value of Feathercoin in all currencies (FTC\/Fiat)<\/h3><\/div><div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div><div style=\"width: 700px; float: left;\"><b>?output=currencies<\/b><\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div><div style=\"width: 700px; float: left;\"><b>&amount=1<\/b> (Specify amount to convert, optional, defaults to 1)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div><div style=\"width: 700px; float: left;\"><b>Value of 1 FTC in all supported currencies<\/b><br \/> <a href=\"http:\/\/api.feathercoin.com\/?output=currencies&amount=1\">http:\/\/api.feathercoin.com\/?output=currencies&amount=1<\/a><\/div><div style=\"width: 800px;\"><h3 style=\"margin-bottom: 10px;\">Value of all currencies in Feathercoin (Fiat\/FTC)<\/h3><\/div><div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div><div style=\"width: 700px; float: left;\"><b>?output=ftccurrencies<\/b><\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div><div style=\"width: 700px; float: left;\"><b>&amount=1<\/b> (Specify amount to convert, optional, defaults to 1)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div><div style=\"width: 700px; float: left;\"><b>Value of 1 of all supported currencies in Feathercoin<\/b><br \/> <a href=\"http:\/\/api.feathercoin.com\/?output=ftccurrencies&amount=1\">http:\/\/api.feathercoin.com\/?output=ftccurrencies&amount=1<\/a><\/div><div style=\"width: 800px;\"><h3 style=\"margin-bottom: 10px;\">Get Feathercoin difficulty<\/h3><\/div><div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div><div style=\"width: 700px; float: left;\"><b>?output=difficulty<\/b><\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div><div style=\"width: 700px; float: left;\"><b>&json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div><div style=\"width: 700px; float: left;\"><p><a href=\"http:\/\/api.feathercoin.com\/?output=difficulty\">http:\/\/api.feathercoin.com\/?output=difficulty&json=1<\/a><\/p><\/div><div style=\"width: 800px;\"><h3 style=\"margin-bottom: 10px;\">Get Feathercoin address confirms<\/h3><\/div><div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div><div style=\"width: 700px; float: left;\"><b>?output=getconflasttx<\/b><\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div><div style=\"width: 700px; float: left;\"><b>&address=<\/b> (Feathercoin address, mandatory)<br \/> <b>&json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div><div style=\"width: 700px; float: left;\"><p><a href=\"http:\/\/api.feathercoin.com\/?output=getconflasttx&address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf&json=1\">http:\/\/api.feathercoin.com\/?output=difficulty&json=1<\/a><\/p><\/div><div style=\"width: 800px;\"><h3 style=\"margin-bottom: 10px;\">Get Feathercoin address balance<\/h3><\/div><div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div><div style=\"width: 700px; float: left;\"><b>?output=balance<\/b><\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div><div style=\"width: 700px; float: left;\"><b>&address=<\/b> (Feathercoin address, mandatory)<br \/> <b>&json=1<\/b> (Toggle JSON output with 0 or 1, optional, defauls to 1)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div><div style=\"width: 700px; float: left;\"><p><a href=\"http:\/\/api.feathercoin.com\/?output=balance&address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf&json=1\">http:\/\/api.feathercoin.com\/?output=balance&address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf<\/a><\/p><\/div><div style=\"width: 800px;\"><h3 style=\"margin-bottom: 10px;\">Generate QR code<\/h3><\/div><div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div><div style=\"width: 700px; float: left;\"><b>?output=qrcode<\/b><\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Options<\/b><\/div><div style=\"width: 700px; float: left;\"><b>&address=<\/b> (Feathercoin address that the QR code will use, mandatory)<br \/> <b>&amount=<\/b> (Specify amount to convert, optional, defaults to 0)<br \/> <b>&label=<\/b> (Specify a label for the address, optional)<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div><div style=\"width: 700px; float: left;\"><p><a href=\"http:\/\/api.feathercoin.com\/?output=qrcode&address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf&amount=100&label=Wallet\">http:\/\/api.feathercoin.com\/?output=qrcode&address=6pde7co3E5neUGDmtZctpATZ2u1ydgnoHf&amount=100&label=Wallet<\/a><\/p><\/div><div style=\"width: 800px;\"><h3 style=\"margin-bottom: 10px;\">Get Feathercoin stats<\/h3><\/div><div style=\"width: 100px; float: left;\"><b>Calls<\/b><\/div><div style=\"width: 700px; float: left;\">?output=stats<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Returns<\/b><\/div><div style=\"width: 700px; float: left;\"><b>Returns the following in JSON<\/b><br \/> currblk - Current block number<br \/> khs - Current Hashrate in Kh\/s<br \/> retblk - Next retarget block number<br \/> blkstoret - Blocks to next retarget<br \/> exptimeperblk - Expected time per block<br \/> nowdiff - Current difficulty<br \/> nextdiff - Expected next difficulty<br \/> timetoret - Time to retarget in second<br \/> days - Days till next retarget<br \/> hours - Hours till retarget after removing days<br \/> min - Minutes till retarget after removing hours and days<br \/> sec - Seconds till retarget after removing hours, days and minutes<br \/> totcm - Total number of Feathercoins<\/div><div style=\"clear: left; width: 100px; float: left;\"><b>Example<\/b><\/div><div style=\"width: 700px; float: left;\"><a href=\"http:\/\/api.feathercoin.com\/?output=stats\">http:\/\/api.feathercoin.com\/?output=stats<\/a><\/div><\/div>","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"class_list":["post-467","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/feathercoin.com\/wp-json\/wp\/v2\/pages\/467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/feathercoin.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/feathercoin.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/feathercoin.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feathercoin.com\/wp-json\/wp\/v2\/comments?post=467"}],"version-history":[{"count":0,"href":"https:\/\/feathercoin.com\/wp-json\/wp\/v2\/pages\/467\/revisions"}],"wp:attachment":[{"href":"https:\/\/feathercoin.com\/wp-json\/wp\/v2\/media?parent=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}