ScanMalware Screenshot API
The screenshot API from ScanMalware — 3 operation(s) for screenshot.
The screenshot API from ScanMalware — 3 operation(s) for screenshot.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/scanmalware-com:scanmalware-com-screenshot-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ScanMalware Screenshot API
description: URL Security Scanner API
version: 1.0.0
tags:
- name: screenshot
paths:
/api/v1/screenshot/duplicates:
get:
tags:
- screenshot
summary: Find Duplicate Screenshots
description: 'Find groups of similar screenshots (potential duplicates) with pagination.
Only exact matches (max_distance=0) are grouped: comparing every screenshot with every
other one would be too slow.
Use /api/v1/search/screenshot/phash/{hash} for fuzzy matching of a specific hash.'
operationId: find_duplicate_screenshots_api_v1_screenshot_duplicates_get
parameters:
- name: hash_type
in: query
required: false
schema:
type: string
pattern: ^(phash|ahash|dhash|whash|crop_resistant)$
default: phash
title: Hash Type
- name: max_distance
in: query
required: false
schema:
type: integer
maximum: 0
minimum: 0
description: Exact matches only — 0 is the only accepted value. Grouping the whole corpus by approximate hash is an O(n^2) comparison across 500K+ screenshots and is not implemented. To find screenshots SIMILAR to one specific hash, use GET /api/v1/search/screenshot/{hash_type}/{hash} with its `similarity_threshold` parameter (0-64 bits), which is a linear scan and takes ~1.4s. The bound used to advertise 0-5 while the handler rejected everything above 0, so a spec-generated client emitted requests that could never succeed.
default: 0
title: Max Distance
description: Exact matches only — 0 is the only accepted value. Grouping the whole corpus by approximate hash is an O(n^2) comparison across 500K+ screenshots and is not implemented. To find screenshots SIMILAR to one specific hash, use GET /api/v1/search/screenshot/{hash_type}/{hash} with its `similarity_threshold` parameter (0-64 bits), which is a linear scan and takes ~1.4s. The bound used to advertise 0-5 while the handler rejected everything above 0, so a spec-generated client emitted requests that could never succeed.
- name: min_group_size
in: query
required: false
schema:
type: integer
maximum: 10
minimum: 2
default: 2
title: Min Group Size
- name: max_group_members
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Maximum scans returned per duplicate group. Groups of exact screenshot matches are routinely in the thousands (the largest on record holds ~9,000 identical hosting placeholder pages), so this is capped independently of `limit`, which counts GROUPS. Each member carries the group's true size in `group_size`.
default: 10
title: Max Group Members
description: Maximum scans returned per duplicate group. Groups of exact screenshot matches are routinely in the thousands (the largest on record holds ~9,000 identical hosting placeholder pages), so this is capped independently of `limit`, which counts GROUPS. Each member carries the group's true size in `group_size`.
- name: page
in: query
required: false
schema:
type: integer
maximum: 10000
minimum: 1
description: Page number
default: 1
title: Page
description: Page number
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Number of GROUPS per page
default: 20
title: Limit
description: Number of GROUPS per page
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/screenshot/stats:
get:
tags:
- screenshot
summary: Get Screenshot Stats
description: Get statistics about screenshot hashes in the database
operationId: get_screenshot_stats_api_v1_screenshot_stats_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/screenshot/{scan_id}:
get:
tags:
- screenshot
summary: Get Screenshot
description: Get scan screenshot with optional resizing and format conversion
operationId: get_screenshot_api_v1_screenshot__scan_id__get
parameters:
- name: scan_id
in: path
required: true
schema:
type: string
title: Scan Id
- name: width
in: query
required: false
schema:
anyOf:
- type: integer
maximum: 2000
minimum: 50
- type: 'null'
description: Resize width (maintains aspect ratio)
title: Width
description: Resize width (maintains aspect ratio)
- name: height
in: query
required: false
schema:
anyOf:
- type: integer
maximum: 2000
minimum: 50
- type: 'null'
description: Resize height (maintains aspect ratio)
title: Height
description: Resize height (maintains aspect ratio)
- name: format
in: query
required: false
schema:
type: string
pattern: ^(png|webp)$
description: 'Output format: png or webp'
default: png
title: Format
description: 'Output format: png or webp'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
head:
tags:
- screenshot
summary: Get Screenshot
description: Get scan screenshot with optional resizing and format conversion
operationId: get_screenshot_api_v1_screenshot__scan_id__head
parameters:
- name: scan_id
in: path
required: true
schema:
type: string
title: Scan Id
- name: width
in: query
required: false
schema:
anyOf:
- type: integer
maximum: 2000
minimum: 50
- type: 'null'
description: Resize width (maintains aspect ratio)
title: Width
description: Resize width (maintains aspect ratio)
- name: height
in: query
required: false
schema:
anyOf:
- type: integer
maximum: 2000
minimum: 50
- type: 'null'
description: Resize height (maintains aspect ratio)
title: Height
description: Resize height (maintains aspect ratio)
- name: format
in: query
required: false
schema:
type: string
pattern: ^(png|webp)$
description: 'Output format: png or webp'
default: png
title: Format
description: 'Output format: png or webp'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
OptionalHTTPBearer:
type: http
scheme: bearer
HTTPBearer:
type: http
scheme: bearer