Iran Widget - Smart Financial Widgets
Cryptocurrency Price API | Iran Widget
Stable & Reliable
High Security
No Limits

Cryptocurrency Price API

Easy and secure access to real-time prices of 50+ cryptocurrencies. Designed for developers and financial websites.

50+ Support for 50+ cryptocurrencies in Iranian Rial (IRT) and US Dollar (USDT)
✔️ Security based on domain verification — No sharing
<1s Fast response — Less than 1 second
60s Automatic price updates every 60 seconds
1 line Easy to use: Only one line of code needed
✔️ Performance guarantee — Suitable for high-traffic websites
Buy API
📊 Track live financial data with our widgets!
Your Direct API Link:
https://iranwidget.com/crypto_price/api.php

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.

API Target Audience

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

Unique Features

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

Complete Cryptocurrency Market Coverage

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

Advanced Technical Capabilities

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

How to Use the Price API

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

Technical Support & Full Compatibility

Compatible with all modern frameworks and languages:

JavaScript (Vanilla, React, Vue)
PHP, Python, Node.js
Mobile Applications (Flutter, React Native)
Custom Content Management Systems
Telegram Bots & Automated Systems

Iran Widget 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.

Special Pricing

Live Cryptocurrency Price API

$23.99
Lifetime license for one domain
Lifetime access to all future updates and new features
Lifetime professional technical support via ticket system


Live Cryptocurrency Price API — Secure and stable access to 50+ cryptocurrencies

Live Cryptocurrency Price API

Frequently Asked Questions
Can I test the API before purchasing?
Yes! Use the "Check Domain License" tool on this same page to ensure successful activation.
Do I need an API Key or complex setup?
No! Only your website domain is registered in our system. No additional keys or settings are needed.
Does the API support CORS?
Yes! All responses are sent with the `Access-Control-Allow-Origin: *` header and can be used in any framework.
How often is the data updated daily?
Prices are updated every 60 seconds from reliable sources (Nobitex) — no cache or additional setup required.

Market Clock Widget Reviews

Real experiences from users who purchased and use IranWidget's Global Market Session Widget

Ali Rezaei
The session widget is amazing! Market hours display is completely real-time and accurate. Thank you IranWidget.
Mehdi Farhadi
The widget loading speed is fantastic, my website doesn't slow down at all. The best choice for financial websites.
Sara Karimi
I installed the digital mode with dark theme, my page looks very elegant and professional. Thanks iranwidget.
Reza Nowroozi
The countdown timer until the next market open/close is very practical. I don't miss any session anymore!
Fatemeh Mohammadi
Quick support and installation in less than 2 minutes. The IranWidget team is truly professional.
Amir Hosseini
Simultaneous display of local time and Tehran time is excellent. Ideal for Iranian traders.
Narges Ahmadi
The classic analog mode in the sidebar looks beautiful and attractive. Thank you for the beautiful design.
Light