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 scanner | Quick risk check | |
|---|---|---|
| How it works | Real browser runs the page | Reads the address, registry and page HTML |
| Answer arrives | Seconds to a minute; you poll | In the same request |
| Output | Screenshot, network log, DOM, verdicts | Risk, score, advice, signals |
| Best for | Investigations, threat research | Gating 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.
- It doesn't run JavaScript, so a login form drawn only by script won't be seen.
- No screenshot, network log or file analysis.
- No blocklist lookup: a new scam with no visible signs can score low.
- One URL per call.
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
