URLScan.io

URLScan.io

Anti-Malware

Scan and Analyse URLs

Visit API

πŸ“š Documentation & Examples

Everything you need to integrate with URLScan.io

πŸš€ Quick Start Examples

URLScan.io Javascript Examplejavascript
// URLScan.io API Example
const response = await fetch('https://urlscan.io/about-api/', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

The "Scan and Analyse URLs" API allows users to conduct in-depth analysis of web pages and their contents, helping to identify security threats and understand web activity. By leveraging this powerful tool, developers and cybersecurity professionals can get detailed insights into how a specific URL interacts with the internet, uncovering information about the site’s resources, network behavior, and potential risks associated with the URL. The API provides a comprehensive interface for retrieving scan results, enabling users to make informed decisions based on exhaustive data analysis.

Utilizing the Scan and Analyse URLs API offers numerous advantages. It enhances security by identifying phishing attempts and malicious content, reduces the risk of data breaches through proactive monitoring, delivers valuable insights into site behavior for better web management, streamlines investigations into suspicious activities, and improves overall threat intelligence. This versatility makes the API an essential tool for anyone looking to enhance their understanding of web security and behavior.

  • Enhances security by detecting phishing and malicious sites
  • Reduces data breach risks through proactive URL monitoring
  • Provides valuable insights for effective web management
  • Streamlines investigations into suspicious web activities
  • Improves overall threat intelligence and situational awareness

Here is a JavaScript code example to call the API:

const axios = require('axios');

async function scanUrl(url) {
    const apiKey = 'YOUR_API_KEY';
    try {
        const response = await axios.post('https://urlscan.io/api/v1/scan/', {
            url: url
        }, {
            headers: {
                'API-Key': apiKey,
                'Content-Type': 'application/json'
            }
        });
        console.log('Scan initiated successfully:', response.data);
    } catch (error) {
        console.error('Error initiating scan:', error.response ? error.response.data : error.message);
    }
}

scanUrl('https://example.com');
πŸ”’

Security Assessment

D
πŸ”’HTTPS
Enabled
SSL Grade: T
πŸ›‘οΈHeaders
95/100
HSTSCSPXFO
πŸ•’Last Assessed
1 weeks ago
ℹ️Click for detailed analysis

πŸ“Š 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Jun 2Jun 4Jun 6Jun 8Jun 10Jun 12Jun 14Jun 16Jun 18Jun 20Jun 22Jun 24Jun 26Jun 28Jul 104008001440Minutes
Online
Offline

Related APIs in Anti-Malware