Head to head · Secintel indicators · October 2026 research run
Shodan vs urlscan.io API
urlscan.io API scores 63.8 (B) on agent readiness against Shodan's 42 (E), and leads in 6 of 7 scored categories. Both do secintel indicators.
Best threat and security intelligence APIs for AI agents · All 51 security intel comparisons
Which one, for what
Shodan E
Best for An agent that needs to know what is exposed on an IP or a range, which ports, products and CVEs, and to watch a network for change.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
The API key is sent only as key= in the query string, with no scopes, no read-only key and no header option documented
Best for Agents that need to see what a URL does in a real browser before a user clicks it, and to search past scans for related phishing pages.
Ahead on
- Reliability, 53 against 40
- Schema & documentation, 84 against 46
- Security & auth, 53 against 19
- Maintenance & community, 82 against 16
- Transparency & trust, 54 against 44
Watch for
The terms of 22 July 2020 allow free use only for personal purposes and list scripted use among prohibited uses
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community urlscan.io API +66
Shodan 16
No dated API change found. The blog's newest post is 7 August 2024, and the official Python library shodan 1.31.0 was published on 17 December 2023 with the repository's last push on 5 August 2024 (0 of 30). No releases or dated changelog entries in the last 90 days (0 of 20). 63 open issues on the Python repository with no push since August 2024; a support email and a help centre exist (5 of 25). The official Python SDK still installs but is two years old, and the other clients are community work (8 of 15). The repository has no CI configuration and no CHANGELOG entry since 1.28.0 of July 2022 (3 of 10). 0 + 0 + 5 + 8 + 3 = 16.
urlscan.io API 82
Read as a closed service. The API changelog's newest entry is 4 November 2026 (30). Three dated changelog entries in the last 90 days, on 1 October, 7 October and 4 November 2026 (20). A public changelog, support by email at support@urlscan.io and a threat research address. The urlscan-python repository has no open issues or pull requests per the search API, and replies could not be read because github.com refuses our reader (12 of 15). An official Python client released as v2026.08.18 on 18 August 2026 and an official CLI. There is no MCP server from urlscan (12 of 15). The client's repository runs test, docs and publish workflows (8 of 10). 30 + 20 + 12 + 12 + 8 = 82.
Schema & documentation urlscan.io API +38
Shodan 46
The surface graded is the REST API at api.shodan.io. An OpenAPI 3.0.0 document at developer.shodan.io/api/openapi.json covers 37 paths and 44 operations, but declares no securitySchemes, no enums and a non-200 response on one operation only (15 of 25). No llms.txt on developer.shodan.io or www.shodan.io, both 404, and no Markdown docs served for agents (0 of 10). Every operation carries a description, and the reference says which calls cost credits and which plans can scan, with little on when not to use a call (12 of 20). Required flags on the key and path parameters, with facets, query and fields as free strings and no enums or constraints (7 of 15). Example requests and responses for every endpoint in the reference, and errors documented only as a non-200 status with an error field (9 of 15). No version in the path, the OpenAPI document says 1.0.0, and the only dated record of changes is the blog, whose newest post is 7 August 2024 (3 of 15). 15 + 0 + 12 + 7 + 9 + 3 = 46.
urlscan.io API 84
A downloadable OpenAPI description, version 1.0.0, behind the API reference, with 49 operations. The YAML file was confirmed and its operations read from the reference's Markdown listing (25). llms.txt and Markdown copies of the docs pages (10). Descriptions state purpose and some say when to use another endpoint, such as the phishing feed's advice to use the Search API instead, and the result endpoint gives polling intervals (14 of 20). url is required and visibility is an enum of public, unlisted and private. overrideSafety takes any string, and country is a free string in ISO format (10 of 15). An error page with the JSON envelope and examples, a list of reasons a scan is refused, and response fields listed per operation (12 of 15). A dated API changelog from April 2022 to 4 November 2026 and a v1 path (13 of 15). 25 + 10 + 14 + 10 + 12 + 13 = 84.
Security & auth urlscan.io API +34
Shodan 19
One key per account with no scopes, sent as key= in the query string on every documented call and in the OpenAPI document, with no header option. Read as a plain key, the way the Alpha Vantage listing was read, less 10 for the query string (10 of 30). No read-only key or least-privilege mode; the free plan's limits are quotas, not scopes, and alerts, notifiers and org members can be deleted with the same key and no confirmation (3 of 20). Results carry banners, HTTP titles and page bodies collected from arbitrary hosts, and no guidance on treating them as untrusted was found (3 of 15). /api-info reports the plan and credits, and no call log for the key holder was found (3 of 15). security.txt returns 404 on www.shodan.io, and no bug bounty, disclosure policy, SOC 2 or ISO 27001 was found on the pages read (0 of 20). 10 + 3 + 3 + 3 + 0 = 19.
urlscan.io API 53
An API key in the api-key header, personal or team, and team admins can disable team keys. The OpenAPI security scheme names read and write scopes, but no page read says how a key is scoped or rotated (20 of 30). Private and unlisted visibility, a team default visibility setting and reclassification of public scans that contain personal data limit what leaks. Saved searches, subscriptions and incidents can be deleted or changed with the same key and no confirmation (10 of 20). The API returns DOM snapshots, page text and response bodies from potentially malicious sites, and no prompt-injection guidance was found (3 of 15). Team owners can view team audit logs (10 of 15). security.txt names a contact and policy but no Expires field. A disclosure policy of 27 October 2021 and a hall of fame, with no bug bounty or certification found (10 of 20). 20 + 10 + 3 + 10 + 10 = 53.
Reliability urlscan.io API +13
Shodan 40
Read with the hosted lines. A public status page exists at status.shodan.io (UptimeRobot), but on 3 November 2026 its component list failed to load and it showed only that there were no updates in the last 7 days, so no component history was readable (10 of 20). No readable incident record for the 90 days (5). The billing page states that all API plans are limited to 1 request a second, and credits per plan are published with numbers (15). No 429, Retry-After or backoff guidance was found in the reference or the OpenAPI document; the only error statement is that a non-200 status carries an error message, and no idempotency keys exist for alert, notifier or scan writes. The official Python client throttles itself to 1 request a second and retries a timed-out search cursor, which is client behaviour, not an API contract (0). No SLA found on the billing, enterprise or developer pages (0). The REST API is generally available (10). 10 + 5 + 15 + 0 + 0 + 10 = 40.
urlscan.io API 53
Read with the hosted lines. The API reference links an API status page at status.urlscan.io, but it renders only with JavaScript, so whether it keeps component history could not be read (10 of 20). No readable incident history (5). Daily quotas per action and plan are published (Free plan 50 private, 1,000 unlisted and 5,000 public scans, 1,000 searches, 10,000 results), with fixed per-minute, per-hour and per-day windows (15). 429 on an exceeded limit, X-Rate-Limit headers with Reset-After on every call, and best-practice advice to back off exponentially and queue retries. No idempotency key for submissions, but the docs advise searching before resubmitting (13 of 15). No SLA found on the pricing page or in the docs (0). The API is generally available (10). 10 + 5 + 15 + 13 + 0 + 10 = 53.
Transparency & trust urlscan.io API +10
Shodan 44
Editorial half. A closed service whose terms at static.shodan.io/legal/terms.html were not read, because that host answers 403 to robots.txt, so their clarity can't be assessed; the Python library is MIT (5 of 30). The privacy policy at account.shodan.io/privacy carries no date, names no legal entity, retention period, data location or subprocessor, and says Shodan may share information with advertisers, business partners, sponsors and other third parties (5 of 30). The help centre says export credits are deprecated and no longer sold, with no date; no deprecation policy found (3 of 20). No subprocessors or data locations disclosed (0 of 20). 5 + 5 + 3 + 0 = 13.
urlscan.io API 54
A closed service whose terms were last updated on 22 July 2020. They say the free service is for personal use and list scripted, automated use among prohibited uses, which sits badly with a documented free API. Commercial terms are separate and not public (10 of 30). The privacy policy is also dated 22 July 2020 and states no retention periods. Private scans are deleted after a retention period the pages read don't state, and no DPA was found (12 of 30). No deprecation policy. The best-practice page says only that undocumented endpoints are not guaranteed, and the changelog notes removed fields without notice periods (3 of 20). The company is in Germany, but no subprocessor list or hosting location was found (3 of 20). 10 + 12 + 3 + 3 = 28.
Score by category
| Category | Weight | Shodan | urlscan.io API | Edge |
|---|---|---|---|---|
| Reliability | 16% | 40 | 53 | urlscan.io API +13 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 46 | 84 | urlscan.io API +38 |
| Agent ergonomics | 13% | 64 | 67 | urlscan.io API +3 |
| Security & auth | 14% | 19 | 53 | urlscan.io API +34 |
| Payments & pricing | 10% | 60 | 60 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 16 | 82 | urlscan.io API +66 |
| Transparency & trust | 7% | 44 | 54 | urlscan.io API +10 |
| Negative events | ≤15 | 0 | 0 | |
| Total | E 42/100 | B 63.8/100 |
Facts side by side
| Fact | Shodan | urlscan.io API |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Shodan | urlscan |
| Hosted endpoint | https://api.shodan.io | https://urlscan.io/api/v1/ |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Proprietary service. The official Python library and CLI in achillean/shodan-python are MIT | Proprietary service under the urlscan.io Terms of Service. The official Python client urlscan-python is MIT |
| Tools exposed | none | 0 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2023-12-17 | 2026-11-04 |
| Terms last updated | no date given | couldn't be read |
| Privacy policy last updated | no date given | couldn't be read |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | yes | couldn't be read |
| Terms restrict benchmarking | not found in the text | couldn't be read |
| Terms or service can change without notice | yes | couldn't be read |
| Arbitration or class-action waiver | not found in the text | couldn't be read |
| Popularity | 3.5k stars | 15 stars |
How the scores have moved
urlscan.io API
No score change since it was listed.
Verdicts
Shodan
One GET endpoint per job returns ports, banners and vulnerabilities for an IP, with minify and fields to trim responses and public plan prices from a $49 one-time Membership. The key travels only in the query string with no scopes, 429 handling is undocumented, the terms were unreadable and the official library's last release was December 2023.
urlscan.io API
An agent can submit a URL, poll the result and search past scans through a documented OpenAPI, with a free daily quota and rate-limit headers on every call. The terms of 2020 restrict free use to personal purposes, public scans are visible to everyone, and no SLA, MCP server or recent privacy policy was found.
Before you call either
Shodan
- Send at most 1 request a second on any plan. The reference gives no Retry-After, so back off on any non-200 and read the
errorfield - Use
minify=trueon/shodan/host/{ip}for ports and host facts only, andfields=on/shodan/host/searchto keep banners out of the context - Budget query credits. Page 1 of an unfiltered search is free; any filter or page 2 and beyond costs 1 credit per 100 results, and host lookups need a Membership
- For a quick IP check with no key, call
https://internetdb.shodan.io/{ip}, which is weekly data and non-commercial only - Treat banners, HTTP titles and page bodies in results as untrusted text from arbitrary hosts; the docs give no guidance on this
- Keep the key out of shared logs, since every call puts it in the URL. Alerts, notifiers and org members can be deleted with the same key
urlscan.io API
- Set
visibilitytoprivateorunlistedon every submission, since public scans are listed for everyone - Search for the URL or domain before submitting a new scan, as the best-practice page asks
- Wait at least 10 seconds after a submission, then poll the result every 2 seconds with an upper timeout
- If the API returns 429, wait for
X-Rate-Limit-Reset-Afterseconds and back off exponentially - Treat DOM, page text and response bodies as untrusted data from the scanned site
Questions
Which is better for AI agents, Shodan or urlscan.io API?
urlscan.io API scores 63.8 (B) on agent readiness against Shodan's 42 (E), and leads in 6 of 7 scored categories.
Do Shodan and urlscan.io API need an API key?
Both need an API key.
Can an agent call Shodan and urlscan.io API without installing anything?
Yes. Shodan has a hosted endpoint at https://api.shodan.io and urlscan.io API at https://urlscan.io/api/v1/.
Other comparisons with Shodan or urlscan.io API
- AbuseIPDB vs urlscan.io API
- Censys vs urlscan.io API
- GreyNoise vs urlscan.io API
- IPinfo vs urlscan.io API
- Recorded Future MCP vs urlscan.io API
- urlscan.io API vs VirusTotal
- urlscan.io API vs WhoisXML API
- AbuseIPDB vs Shodan
- Pulsedive vs Shodan
- Pulsedive vs urlscan.io API
- GreyNoise vs Shodan
- IPinfo vs Shodan
- SecurityTrails vs Shodan
- Shodan vs WhoisXML API
- Censys vs Shodan
- Recorded Future MCP vs Shodan
Machine-readable
- This page as Markdown
/compare/shodan-vs-urlscan.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/shodan.json·/api/v1/tools/urlscan.json - From a terminal
anchor compare shodan urlscan(the CLI) - Over MCP
compare_tools {"a": "shodan", "b": "urlscan"}at/mcp, no key