Skip to main content
This section provides working examples for integrating the Scanurl.ai API into your application. All examples use the same request:
  • Endpoint: /url-scan
  • Method: POST
  • Header: x-api-key
  • Body: { "url": "..." }

cURL Example

curl -X POST "https://api.scan-url.wowinfosolutions.com/api/apikey/v1/url-scan" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
  "url": "https://www.example.com/"
}'

JavaScript (Fetch API)

const response = await fetch("https://api.scan-url.wowinfosolutions.com/api/apikey/v1/url-scan", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "x-api-key": "YOUR_API_KEY"
  },
  body: JSON.stringify({
    url: "https://www.example.com/"
  })
});

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

JavaScript (Axios)

import axios from "axios";

const response = await axios.post(
  "https://api.scan-url.wowinfosolutions.com/api/apikey/v1/url-scan",
  {
    url: "https://www.example.com/"
  },
  {
    headers: {
      "Content-Type": "application/json",
      "x-api-key": "YOUR_API_KEY"
    }
  }
);

console.log(response.data);

Python (Requests)

import requests

url = "https://api.scan-url.wowinfosolutions.com/api/apikey/v1/url-scan"

headers = {
    "Content-Type": "application/json",
    "x-api-key": "YOUR_API_KEY"
}

data = {
    "url": "https://www.example.com/"
}

response = requests.post(url, json=data, headers=headers)

print(response.json())

Security Note

  • Do not expose your API key in frontend applications
  • Always make API calls from your backend/server in production
  • Rotate your API key if it is compromised

Summary

These examples demonstrate how to integrate Scanurl.ai using common tools and languages.
You can directly use them as a starting point in your application.