urlscan-api

urlscan-api is a skill for Claude Code from Liberty91LTD/cti-skills. It costs 19 tokens per session (601 once invoked), scanned A, original, MIT.

An API reference for URLScan.io, a service that opens a web address in a controlled scan and reports what it does. It covers submitting URLs, waiting for scans, retrieving results, and searching past scans.

In plain words
What is it for?
Use it to submit URLs, retrieve scan results, inspect redirects and contacted domains or IPs, and obtain page metadata or screenshots.
Why use it?
It gives developers the request formats, authentication details, and response fields needed to inspect links programmatically. This avoids having to learn the API by trial and error.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to submit URLs, retrieve scan results, inspect redirects and contacted domains or IPs, and obtain page metadata or screenshots.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/liberty91ltd/cti-skills/urlscan-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Liberty91LTD/cti-skills --skill urlscan-api
Clone the repo
git clone --depth 1 https://github.com/Liberty91LTD/cti-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for urlscan-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/liberty91ltd/cti-skills/urlscan-api/github.svg)](https://agentmods.dev/skills/liberty91ltd/cti-skills/urlscan-api)
Your own site
<a href="https://agentmods.dev/skills/liberty91ltd/cti-skills/urlscan-api"><img src="https://agentmods.dev/badge/skills/liberty91ltd/cti-skills/urlscan-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for urlscan-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/liberty91ltd/cti-skills/urlscan-api"><img src="https://agentmods.dev/badge/skills/liberty91ltd/cti-skills/urlscan-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 601 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00601
Opus 5.5 $0.00008 $0.00240
Sonnet 5.5 $0.00004 $0.00120
Haiku 4.5 $0.00002 $0.00060

Measured 2mo ago against content hash 7d35dae7ca1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

urlscan-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST "https://urlscan.io/api/v1/scan/" \
skills/urlscan-api/SKILL.md · 76 lines

What it actually says

URLScan.io API

Base URL

https://urlscan.io/api/v1

Authentication

Header: API-Key: $URLSCAN_API_KEY

Rate Limits

  • Free: 100 scans/day, 100 searches/day
  • Paid: Higher limits based on plan

Key Endpoints

Submit URL for scanning

curl -s -X POST "https://urlscan.io/api/v1/scan/" \
  -H "API-Key: $URLSCAN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "visibility": "unlisted"}'

Response: {"uuid": "...", "api": "https://urlscan.io/api/v1/result/UUID/"}

Important: Scan is async. Wait ~30 seconds before retrieving results. Poll the result URL until status is not 404.

Retrieve scan results

curl -s "https://urlscan.io/api/v1/result/{uuid}/" \
  -H "API-Key: $URLSCAN_API_KEY"

Useful response fields:

  • verdicts.overall — malicious/benign score
  • page.url — final URL after redirects
  • page.ip — IP address resolved
  • page.country — hosting country
  • page.server — web server
  • lists.ips — all IPs contacted
  • lists.domains — all domains contacted
  • lists.urls — all URLs loaded
  • stats.tlsPercentage — TLS usage
  • task.screenshotURL — screenshot of page

Search existing scans

curl -s "https://urlscan.io/api/v1/search/?q=domain:example.com" \
  -H "API-Key: $URLSCAN_API_KEY"

Search operators: domain:, ip:, server:, filename:, hash:, page.url:

Scan Flow

  1. Submit URL → get UUID
  2. Wait 30 seconds
  3. Poll result endpoint (retry on 404, max 5 attempts with 10s delay)
  4. Extract and return key findings

Response Summary Format

url: <scanned URL>
final_url: <after redirects>
verdict: malicious|suspicious|benign|unknown
ip: <resolved IP>
country: <hosting country>
technologies: [<detected technologies>]
domains_contacted: [<list>]
ips_contacted: [<list>]
screenshot: <URL>
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 76 lines · 19 tokens per session scan A 7d35dae7ca1d

Subscribe to this mod's changes

urlscan-api is a skill published in the GitHub repository Liberty91LTD/cti-skills (36 stars, last pushed 4d ago), licensed MIT. It adds 19 tokens to every session and 601 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

cache-deception

Web cache deception — trick CDN/proxy into caching authenticated responses under unauthenticated URLs, exposing PII to any visitor.

PurpleAILAB/Decepticon · 29 tokens

xs-leaks

XS-Leaks — cross-site information leaks via timing, frame counting, navigation, error oracles. Side-channel attacks against same-origin authenticated state.

PurpleAILAB/Decepticon · 33 tokens

analyzing-campaign-attribution-evidence

Systematically evaluate cyber-campaign evidence to attribute an operation to a threat actor, using the Diamond Model and Analysis of Competing Hypotheses (ACH) to weigh infrastructure overlaps, TTP consistency, malware code similarity, and timing/language artifacts into confidence-weighted attribution assessments. Use…

mukul975/Anthropic-Cybersecurity-Skills · 79 tokens

analyzing-malicious-url-with-urlscan

URLScan.io is a free service for scanning and analyzing suspicious URLs. It captures screenshots, DOM content, HTTP transactions, JavaScript behavior, and network connections of web pages in an isolat.

mukul975/Anthropic-Cybersecurity-Skills · 48 tokens

xss

Cross-Site Scripting (XSS) — reflected, stored, DOM-based XSS exploitation. Covers filter bypass, CSP evasion, bot-triggered cookie exfiltration, admin page scraping, and headless browser flag extraction. Use for any challenge involving client-side JavaScript injection, Cross payloads, cookie theft, or browser-based…

PurpleAILAB/Decepticon · 73 tokens

stealth-infra

Anti-bot evasion, proxy rotation, credential retrieval from password managers, and stealth HTTP tooling for covert web operations.

PurpleAILAB/Decepticon · 29 tokens