Your powerElectricity price: $0.0364/kWh USD

Free mining widgets / How to add a widget to your site

How to add a widget to your site

All our widgets are free. Pick one, set it up, copy one line of code and paste it into your page. It keeps itself up to date with live prices and difficulty.

In four steps

  1. Pick a widget: calculators, rankings, coin prices or tools for stores.
  2. Set it up: coin or miner, light or dark theme, language. The preview shows exactly what your visitors will see.
  3. Press “Copy code”.
  4. Paste the code into your page where the widget should appear (see your platform below) and publish.

Free mining widgets →

Where to paste the code

WordPressEdit the page, add a “Custom HTML” block, paste the code and press Update.
ShopifyOnline Store → Themes → Customize, add a “Custom Liquid” section and paste the code. In a product description, switch to the HTML view (<>) first. Then save.
WixAdd → Embed Code → Embed HTML, choose “Code”, paste and press Update. Make the box as tall as the height in the code.
SquarespaceAdd a “Code” block, paste the code, leave “Display source” off and save.
HTMLAny other site: paste the code into the page's HTML where the widget should appear.

This is what the code looks like (yours comes from the widget builder):

<iframe src="https://www.asicprofit.com/widget/BTC?hashrate=200&unit=TH&consumption=3500" width="100%" height="560" frameborder="0" loading="lazy"></iframe>

Good to know

  • The numbers update on their own: coin prices and difficulty every 15 minutes. Nothing to maintain.
  • The width adapts to the space on your page. If the bottom is cut off, raise the height="…" number in the code.
  • Pick the dark theme to match a dark site, and any of 32 languages.
  • Widgets load only when scrolled into view and set no cookies, so they don't slow your page down or need a cookie banner.
  • Please keep the “Powered by AsicProfit” line: it is what keeps the widgets free.
  • Stores: once your store is verified, your verified seller badge is waiting in your account, on your store's page.

Options reference

Each option is a parameter in the widget's address (src="…"). The builders set them for you; you can also change them by hand.

Mining calculators: /widget/tool/{profitability | roi | power-cost | hosting-vs-own | site-planner | solar | heat-reuse}

kwh0.06Starting electricity price in USD per kWh (left out or 0: the cheapest hosting rate listed on AsicProfit).
months24Period the result is worked out for.
currencyUSD, EUR, GBP, CZK, …Currency of the amounts.

Calculator: /widget/{COIN} · Profit chart: /widget/{COIN}/graph

hashrate100The machine's hashrate, a number.
unitH, kH, MH, GH, TH, PHUnit of the hashrate (default: the coin's usual unit).
consumption3500Power use in watts.
electricity0.06Electricity price in USD per kWh (left out or 0: the cheapest hosting rate listed on AsicProfit).
fee0Pool fee in %.
currencyUSD, EUR, GBP, CZK, …Currency the results are shown in.
machinePrice1599Price of the machine in USD: shows how many months until it pays for itself.
showHashrateField, showConsumptionField, showFeeFieldtrue, falseShow or hide that input.
disabledHashrate, disabledPower, disabledElectricity, disabledFeetrue, falseLock that input so visitors can't change it (e.g. your machine's hashrate).
dateRange1_month, 3_months, 6_months, 1_year, allChart only: the period shown first.
showDateRangestrue, falseChart only: show the period buttons.

One miner: /widget/miner/{brand}/{model}

electricity0.06Starting electricity price (left out or 0: the cheapest hosting rate listed); visitors can change it and the number of units.

Top miners: /widget/top

kindasic, gpu, cpuWhich devices to rank.
algosha-256, scrypt, kheavyhash, …Only one algorithm (leave out for all).
n3 – 25How many rows.
electricity0.06Electricity price used for the profit (left out or 0: the cheapest hosting rate listed).

Hashrate converter: /widget/hashrate-converter

value200Starting number.
unitH, kH, MH, GH, TH, PH, EH, ZHIts unit.

Crypto converter: /widget/crypto-converter

coinBTC, KAS, LTC, …Starting coin.
amount1Starting amount.

Halving countdown: /widget/halving

coinBTC, BCH, LTC, ZEC, HNSWhich coin's next halving.

Coin prices: /widget/ticker

coinsBTC,LTC,DOGE,KASWhich coins, comma-separated (up to 12).
layoutrow, listChips in a row, or a list with more detail (set height to about 480).

Store miner list: /widget/miner-list/{store}

electricity0.06Electricity price used for the profit (left out or 0: the cheapest hosting rate listed).

Verified seller badge: /badge/{store}.svg (an image, not an iframe)

stylelight, dark, compactLook of the badge.

Every iframe widget

themelight, darkColours to match your site.
langen, de, es, fr, cs, zh-Hans-CN, …Language of the widget (32 languages).

Need help? Write to us and we'll set it up with you: info@asicprofit.com