Cryptocurrency Price API
Easy and secure access to real-time prices of 50+ cryptocurrencies. Designed for developers and financial websites.
Introducing Iran Widget
Iran Widget Cryptocurrency Price API is a professional, secure, and stable solution for receiving real-time prices of over 50 cryptocurrencies. This API is specifically designed for developers, financial websites, trading platforms, and financial applications to use price data in their projects without worrying about downtime or limitations. To view technical documentation and usage instructions, visit the API Connection Page.
One Line of Code — Complete Data
No complex setup needed: just one line of code, and all currency prices are available to you.
This API is specifically designed for developers and owners of the following platforms:
Web and App Developers
Cryptocurrency Platforms & Wallets
Currency Analysis & Chart Websites
Trading Bots & Algorithmic Tools
Fintech Startups & Companies
Domain-Based Security
Data is only provided to authorized websites — no possibility of key theft or sharing
Stability & Auto-Update Every 60 Seconds
Prices are updated every minute from reliable sources — no intervention needed
One Line of Code — No Complexity
No need for libraries or complex setup: just one fetch line in your project is enough
Support for 50+ Cryptocurrencies (IRT/USDT)
All popular currencies available in Iranian Rial and US Dollar
Active CORS & No Limitations
No CORS errors — directly usable on any website and any framework
Suitable for High-Traffic Websites
Smart caching system reduces load from your server and the main source
Bitcoin (BTC)
Real-time price in Iranian Toman and US Dollar
Ethereum (ETH)
Full mainnet support
Tether (USDT)
US Dollar pricing base
Nobitex
Primary source for Iranian Rial prices
Update Every 60 Seconds
Always up-to-date and accurate data
Domain-Based Security
Auto Update Every 60 Seconds
Support for 50+ Currency Pairs (IRT/USDT)
No API Key Required
Active CORS for All Domains
Response Time Under 300ms
3 simple steps to receive price data:
Purchase & Activate API
Buy the product from Iran Widget store and register your website domain
Test Domain License
Use the test tool on our site to ensure your domain is authorized
Use in Your Project
With one simple line of code, receive price data in any part of your website or application
Compatible with all modern frameworks and languages:
Check Product License for Your Domain
Test API Connection to Your Website
Copy the code below and place it in any part of your website (even in WordPress with HTML block). If your domain is authorized, the complete list of real-time prices will be displayed.
<!-- Iran Widget Currency Price API — Quick Test Version -->
<div id="iranwidget-api-demo" style="
max-width: 600px; margin: 20px auto; padding: 20px;
background: #fff; border-radius: 16px; box-shadow: 0 6px 20px rgba(255,140,0,0.15);
font-family: 'Vazirmatn', sans-serif; direction: ltr;
">
<h3 style="color: #FF8C00; margin: 0 0 15px 0; font-weight: 700;">
<img src="https://iranwidget.com/wp-content/uploads/2025/12/logo-widget.png" alt="Iran Widget" style="height: 28px; vertical-align: middle; margin-right: 8px;">
Real-Time Currency Prices
</h3>
<div id="iranwidget-api-status" style="margin-bottom: 15px; color: #555;">Loading...</div>
<div id="iranwidget-api-prices" style="
font-family: monospace; font-size: 14px; line-height: 1.6;
max-height: 300px; overflow-y: auto; padding: 10px;
background: #f9f9f9; border-radius: 8px; direction: ltr;
"></div>
</div>
<script>
(function() {
const statusEl = document.getElementById('iranwidget-api-status');
const pricesEl = document.getElementById('iranwidget-api-prices');
fetch('https://iranwidget.com/crypto_price/api.php')
.then(res => {
const contentType = res.headers.get('content-type') || '';
if (!res.ok) throw new Error('Access not allowed');
if (!contentType.includes('application/json')) throw new Error('Invalid response');
return res.json();
})
.then(data => {
statusEl.innerHTML = '<span style="color:#38a169;">✅ Connection successful — data received</span>';
let html = '';
for (const [symbol, price] of Object.entries(data)) {
const name = symbol.replace(/(IRT|USDT)$/, '');
const unit = symbol.endsWith('IRT') ? 'Toman' : 'USDT';
const formatted = parseFloat(price).toLocaleString('en-US');
html += `<div><strong>${name}</strong>: ${formatted} <small>(${unit})</small></div>`;
}
pricesEl.innerHTML = html || 'No data received.';
})
.catch(err => {
statusEl.innerHTML = `<span style="color:#e53e3e;">❌ Error: ${err.message}</span>`;
pricesEl.innerHTML = '';
});
})();
</script>
⚠️ Note: This code only works on authorized domains (registered after purchase). On unauthorized domains, the message "Access not allowed" will be displayed.
Live Cryptocurrency Price API
Live Cryptocurrency Price API — Secure and stable access to 50+ cryptocurrencies
Secure payment via Iranian bank gateways & cryptocurrency gateways. Instant license delivery after payment.
Live Cryptocurrency Price API
For a complete tutorial, read the API Connection Page and for more comprehensive guidance, visit our blog. Also, for technical support, you can contact us through our contact page.
Market Clock Widget Reviews
Real experiences from users who purchased and use IranWidget's Global Market Session Widget
Average user rating for this product: 4.8 out of 5 | Over 150 verified reviews