URL scanner APIs: sandbox scans vs one quick check

A URL scanner API loads a link in an isolated browser and reports what happened: requests made, scripts, redirects, a screenshot and a verdict. urlscan.io and Cloudflare's URL Scanner are the best-known; both are asynchronous, so you submit a URL, wait, then fetch the result. If you only need a risk decision in one request, our URL Safety Check API answers synchronously with a risk level and reasons for $0.003.

Try it free URL Safety Check API — phishing and scam link risk, $0.003 · $0.003 / call

Full scan or quick check

Sandbox scannerQuick risk check
How it worksReal browser runs the pageReads the address, registry and page HTML
Answer arrivesSeconds to a minute; you pollIn the same request
OutputScreenshot, network log, DOM, verdictsRisk, score, advice, signals
Best forInvestigations, threat researchGating links in apps, bots and agents

urlscan.io

The free plan allows, per day, 5,000 public scans, 1,000 unlisted, 50 private and 1,000 searches, according to its pricing page in December 2026. Paid plans are sold yearly or monthly and start in the thousands of dollars a year. Public scans are visible to everyone, so use private visibility for links that might contain personal data, like password-reset links.

Cloudflare URL Scanner

Cloudflare runs scans through its API at /accounts/{account_id}/urlscanner/ with a URL Scanner API token. You can submit up to 100 URLs at once, Cloudflare suggests polling every 10 to 30 seconds for results, and successful scans are kept for 12 months. Scanning from a chosen country is for Enterprise customers.

The quick check, synchronously

import requests

API = "https://iamai.markets/api/x402/services/6eVVD10z8XwH"

# pay_session: a requests session wrapped by your x402 v2 client ($0.003 per check)
r = pay_session.post(API, json={"url": "https://example.com/login"}, timeout=30)
res = r.json()["result"]
print(res["risk"], res["score"], res["advice"])
for s in res["signals"]:
    print(f'{s["weight"]:>3}  {s["signal"]}')
print(res["page"].get("final_url"), res["page"].get("asks_for_password"))

What the quick check doesn't do

In return you get an answer in a single request, no account, and reasons in plain English you can show a user. Many teams run the quick check on every link and send only medium or high results to a full sandbox scan.

The product

Questions

Is urlscan.io free for commercial use?

Its free plan has daily quotas; check its terms for your use case. Commercial teams usually buy a paid plan.

Why poll instead of getting the result at once?

Loading a page in a sandbox takes time, so scanners queue the job and return an id you check later.

Can your API scan 100 URLs at once?

No, it checks one URL per call. Run calls in parallel; up to 4 can run at once per wallet.

Related

Updated 2026-12-02