ScanMalware Account API
The account API from ScanMalware — 22 operation(s) for account.
The account API from ScanMalware — 22 operation(s) for account.
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-account-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 Account API
description: URL Security Scanner API
version: 1.0.0
tags:
- name: Account
paths:
/api/v1/account/preferences:
get:
tags:
- Account
summary: Get Account Preferences
description: 'The account''s time zone: the zone times are shown in on the website and in the emails we send you
(''auto'' = your device''s own zone). Every time in an API answer is UTC whatever this says. The first call of a
sign-in session also notes the kind of browser it uses (such as "Chrome on macOS"), for the sign-in emails.'
operationId: get_account_preferences_api_v1_account_preferences_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
put:
tags:
- Account
summary: Put Account Preferences
description: 'Set the time zone (''auto'' or a zone name such as ''Europe/Stockholm''), the zone your browser reports, and/or the
language (''en'', ''sv'', ''es'', ''zh-CN'', ''pt-BR'', ''de'', ''fr'', ''it'' or ''ja''); a field left out stays as it is. Answers
400 for a name that is not a time zone or a language the sign-in pages do not have. The chosen zone is used on the
website in every browser you sign in from, and for the times in the emails we send you; the language is the one
the sign-in pages'' own emails are written in.'
operationId: put_account_preferences_api_v1_account_preferences_put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PreferencesUpdate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/account/overview:
get:
tags:
- Account
summary: Account Overview
description: Headline stats for the account dashboard.
operationId: account_overview_api_v1_account_overview_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/v1/account/scans:
get:
tags:
- Account
summary: Account Scans
description: The authenticated user's submitted scans, newest first.
operationId: account_scans_api_v1_account_scans_get
security:
- HTTPBearer: []
parameters:
- name: page
in: query
required: false
schema:
type: integer
maximum: 10000
minimum: 1
default: 1
title: Page
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/account/logins:
get:
tags:
- Account
summary: Account Logins
description: 'Sign-ins and failed sign-in attempts of the authenticated user, newest first and paged (kept for 180 days):
the time, the IP address with its country and network, the application, the sign-in method, why a failed attempt
failed, and whether the sign-in came from a new place. Page loads that only restore an existing session are left
out. Until the history has rows for the account, the last 30 days are read without the method, network and
new-place fields, and `pagination` is null.'
operationId: account_logins_api_v1_account_logins_get
security:
- HTTPBearer: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Limit
- name: page
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
default: 1
title: Page
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/account/activity:
get:
tags:
- Account
summary: Account Activity
description: 'Recent changes to how the account signs in, newest first (kept for 30 days): sign-in methods
added, changed or removed, email and profile changes, password reset emails, sign-outs and
lockouts. `credential_type` names the method for credential events.'
operationId: account_activity_api_v1_account_activity_get
security:
- HTTPBearer: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 30
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/account/security:
get:
tags:
- Account
summary: Account Security
description: 'Sign-in methods on the account: password, passkeys and two-factor authentication,
each with the action that sets it up or changes it and whether it can be removed.'
operationId: account_security_api_v1_account_security_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/v1/account/sessions:
get:
tags:
- Account
summary: Account Sessions
description: 'Where the account is signed in: one entry per session, the current one flagged.'
operationId: account_sessions_api_v1_account_sessions_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/v1/account/sessions/others:
delete:
tags:
- Account
summary: Sign Out Other Sessions
description: Sign out every session of the account except the one making this request.
operationId: sign_out_other_sessions_api_v1_account_sessions_others_delete
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/v1/account/sessions/{session_id}:
delete:
tags:
- Account
summary: Sign Out Session
description: Sign out one session of the account.
operationId: sign_out_session_api_v1_account_sessions__session_id__delete
security:
- HTTPBearer: []
parameters:
- name: session_id
in: path
required: true
schema:
type: string
minLength: 8
maxLength: 128
title: Session Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/account/linked-accounts:
get:
tags:
- Account
summary: Account Linked Accounts
description: 'The sign-in providers on offer (Google, GitHub, Microsoft) and which of them are linked to the account. A link
is added from the account page, which sends you to the provider to sign in; removing a link is the DELETE below.'
operationId: account_linked_accounts_api_v1_account_linked_accounts_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/v1/account/linked-accounts/{alias}:
delete:
tags:
- Account
summary: Unlink Account
description: Remove the link to one sign-in provider. A link that is the account's only way to sign in cannot be removed.
operationId: unlink_account_api_v1_account_linked_accounts__alias__delete
security:
- HTTPBearer: []
parameters:
- name: alias
in: path
required: true
schema:
type: string
minLength: 1
maxLength: 64
title: Alias
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/account/api-keys:
get:
tags:
- Account
summary: List Api Keys
description: 'List the authenticated user''s non-revoked API keys (expired ones are
flagged so users can review and clean them up).'
operationId: list_api_keys_api_v1_account_api_keys_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
post:
tags:
- Account
summary: Create Api Key
description: 'Create a new personal access token. The full token is returned ONCE in
this response; only the SHA-256 hash of its secret part is stored.
A notice is emailed to the account''s verified address. Answers 401, and creates
nothing, when the sign-in session behind the token has already ended.'
operationId: create_api_key_api_v1_account_api_keys_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyCreate'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/account/api-keys/revoke-all:
post:
tags:
- Account
summary: Revoke All Api Keys
description: Emergency revocation of ALL of the authenticated user's API keys.
operationId: revoke_all_api_keys_api_v1_account_api_keys_revoke_all_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/v1/account/api-keys/remove-expired:
post:
tags:
- Account
summary: Remove Expired Api Keys
description: Remove the authenticated user's expired API keys from the list (they already do not work).
operationId: remove_expired_api_keys_api_v1_account_api_keys_remove_expired_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/v1/account/api-keys/audit:
get:
tags:
- Account
summary: Api Key Audit Trail
description: The authenticated user's API key audit trail (newest first).
operationId: api_key_audit_trail_api_v1_account_api_keys_audit_get
security:
- HTTPBearer: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
default: 50
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/account/api-keys/{key_id}:
patch:
tags:
- Account
summary: Rename Api Key
description: Rename one of the authenticated user's API keys. The token does not change.
operationId: rename_api_key_api_v1_account_api_keys__key_id__patch
security:
- HTTPBearer: []
parameters:
- name: key_id
in: path
required: true
schema:
type: string
format: uuid
title: Key Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyRename'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Account
summary: Revoke Api Key
description: Revoke (soft-delete) one of the authenticated user's API keys.
operationId: revoke_api_key_api_v1_account_api_keys__key_id__delete
security:
- HTTPBearer: []
parameters:
- name: key_id
in: path
required: true
schema:
type: string
format: uuid
title: Key Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/account/api-keys/{key_id}/rotate:
post:
tags:
- Account
summary: Rotate Api Key
description: 'Give one of the authenticated user''s API keys a new token and a new expiry date; the name
and permissions stay. The old token stops working at once, and the new one is returned ONCE.
An expired key can be rotated too. A notice is emailed to the account''s verified address.
Answers 401, and changes nothing, when the sign-in session behind the token has already ended.'
operationId: rotate_api_key_api_v1_account_api_keys__key_id__rotate_post
security:
- HTTPBearer: []
parameters:
- name: key_id
in: path
required: true
schema:
type: string
format: uuid
title: Key Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyRotate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/account/emails:
get:
tags:
- Account
summary: Email Settings
description: 'Which emails this account gets. Requires a Bearer token. `onboarding` is null for an account that is not
enrolled (created before the getting-started emails started, or not confirmed yet). `lists` (Product Updates, Blog
Updates; email_lists.py) is [{"list", "subscribed"}], or null for an account that is not on them (it signed up
before they started).'
operationId: email_settings_api_v1_account_emails_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/v1/account/emails/onboarding:
put:
tags:
- Account
summary: Set Onboarding
description: Stop, or start again, the getting-started emails for the signed-in account. 404 if it is not enrolled.
operationId: set_onboarding_api_v1_account_emails_onboarding_put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OnboardingChoice'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/account/emails/unsubscribe/{token}:
get:
tags:
- Account
summary: Unsubscribe Info
description: 'Whether this unsubscribe link is valid and already used. Changes nothing. `kind` says which emails it stops:
"onboarding" (the getting-started emails) or a list (product_updates, blog_updates; email_lists.py), whose
tokens share this URL and the /unsubscribe page.'
operationId: unsubscribe_info_api_v1_account_emails_unsubscribe__token__get
parameters:
- name: token
in: path
required: true
schema:
type: string
description: the id from the email's unsubscribe link
title: Token
description: the id from the email's unsubscribe link
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Account
summary: Unsubscribe
description: 'Stop the getting-started emails for this account, or, for a list email''s token, take it off that list.
Idempotent; also the one-click target (RFC 8058).'
operationId: unsubscribe_api_v1_account_emails_unsubscribe__token__post
parameters:
- name: token
in: path
required: true
schema:
type: string
description: the id from the email's unsubscribe link
title: Token
description: the id from the email's unsubscribe link
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/onboarding/example-result:
get:
tags:
- Account
summary: Example Result
description: 'A recent public result a newcomer can open to see what a scan shows: {"scan_id": ""} or
{"scan_id": null}. Picked by properties (see pick_example_scan), the same answer all day.'
operationId: example_result_api_v1_onboarding_example_result_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/account/emails/lists/{list_name}:
put:
tags:
- Account
summary: Set List
description: 'Subscribe the signed-in account to one list, or take it off. Any account may subscribe (owner 2026-11-22), once
its address is confirmed: 409 otherwise.'
operationId: set_list_api_v1_account_emails_lists__list_name__put
security:
- HTTPBearer: []
parameters:
- name: list_name
in: path
required: true
schema:
type: string
description: product_updates or blog_updates
title: List Name
description: product_updates or blog_updates
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ListChoice'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ApiKeyRename:
properties:
name:
type: string
maxLength: 100
minLength: 1
title: Name
type: object
required:
- name
title: ApiKeyRename
PreferencesUpdate:
properties:
time_zone:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Time Zone
language:
anyOf:
- type: string
maxLength: 8
- type: 'null'
title: Language
device_time_zone:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Device Time Zone
type: object
title: PreferencesUpdate
ApiKeyRotate:
properties:
expires_in_days:
anyOf:
- type: integer
maximum: 365.0
minimum: 1.0
- type: 'null'
title: Expires In Days
default: 90
type: object
title: ApiKeyRotate
ApiKeyCreate:
properties:
name:
type: string
maxLength: 100
minLength: 1
title: Name
scopes:
items:
type: string
type: array
title: Scopes
expires_in_days:
anyOf:
- type: integer
maximum: 365.0
minimum: 1.0
- type: 'null'
title: Expires In Days
default: 90
type: object
required:
- name
title: ApiKeyCreate
OnboardingChoice:
properties:
subscribed:
type: boolean
title: Subscribed
type: object
required:
- subscribed
title: OnboardingChoice
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
ListChoice:
properties:
subscribed:
type: boolean
title: Subscribed
type: object
required:
- subscribed
title: ListChoice
securitySchemes:
OptionalHTTPBearer:
type: http
scheme: bearer
HTTPBearer:
type: http
scheme: bearer