Iran Firewall Test API
Check if any Domain is Blocked in Iran
Our Iran Firewall Test API checks whether a given URL or domain name is blocked in Iran.
Automate monitoring of your domains for censorship within Iran and stay one step ahead of the censors.
Get Started for FreeWhy Choose ViewDNS.info Iran Firewall Test API?
- In-Country Infrastructure Ensuring Accurate Results
- Live Data Ensuring Up To Date Results
- Highly Scalable to meet Business Needs
- Automate Monitoring of Single URLs or Entire Domains
- Subscription Includes Access to ALL ViewDNS.info APIs
Our Valued Customers Include:

Key Iran Firewall Test API Features
Live Data
Our API retrieves data in real-time, ensuring that the most up to date censorship results are available.
Highly Scalable
Our Iran Firewall Test API employs a highly scalable backend ensuring that even high volume checks are met with the highest success rate.
In-Country Infrastructure
Our API utilises in-country infrastructure with tests conducted using real connections to ensure the most accurate results.
Automate Your Monitoring
Our API can test a single URL or an entire domain allowing for a unified approach to monitoring for censorship of your content.
Usage Details
Test if any URL or domain is blocked in Iran.
/iranfirewall GET
https://api.viewdns.info/iranfirewall/
Checks whether a given URL or domain is accessible from within Iran.
Parameters
-
apikey
requiredYour API key associated with your ViewDNS.info account.
-
siteurl
requiredThe domain or URL to perform the censorship test on (e.g.,
example.com
). -
output
optional (default=json)The output format required (
'xml'
or'json'
).
Sample Request Live Demo!
https://api.viewdns.info/iranfirewall/?siteurl=example.com&apikey=demo&output=json
Sample Response
{
"query": {
"tool": "iranfirewall_PRO",
"siteurl": "http://example.com"
},
"response": {
"result": "ok"
}
}
Code Example