Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: Openproof Io Scan API
version: 1.0.0
description: 'Operations tagged scan across 2 of this provider''s published API definitions: openapi.json, openproof-io-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Scan
paths:
/scan:
post:
tags:
- Scan
summary: Scan Url
description: 'Public URL scan. Rate-limited tighter than any other public
endpoint in this app (10/hour, vs 20-60/hour elsewhere) since each
call now costs real compute (headless browser render + up to two more
HTTP fetches + one Haiku call), not just a database read.
Results are cached for FINDINGS_CACHE_MINUTES per URL -- this is the
primary defense against someone deliberately flooding one target with
repeated scans (from one IP or many): after the first real scan,
every subsequent request for the same URL within the window is an
instant, free cache hit, not additional render/SSL/AI cost.'
operationId: scan_url_scan_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ScanRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/scan/monitor:
get:
tags:
- Scan
summary: Get Monitored Url
description: 'Current monitoring status plus the most recent scan for the
business''s monitored URL, if any has run yet.'
operationId: get_monitored_url_scan_monitor_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
post:
tags:
- Scan
summary: Set Monitored Url
description: 'Enable/update scheduled scanning for the business''s own site
(scheduled scans, 23 Sep 2026). Validated the same way a manual
scan''s URL is -- must resolve to a public IP, no localhost/private/
link-local targets -- since this URL gets scanned automatically,
unattended, on a recurring schedule from here on.'
operationId: set_monitored_url_scan_monitor_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MonitorUrlRequest'
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: []
delete:
tags:
- Scan
summary: Delete Monitored Url
description: 'Disables scheduled scanning. Deliberately does NOT delete past
ScanLog history for this business -- just stops future scans from
being scheduled (monitored_url back to NULL, same enable/disable
convention as trust_page_token elsewhere).'
operationId: delete_monitored_url_scan_monitor_delete
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/scan-optout:
post:
tags:
- Scan
summary: Request Opt Out
description: Public. Takes effect immediately; nothing for a person to review.
operationId: request_opt_out_scan_optout_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OptOutRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/scan-optout/list:
get:
tags:
- Scan
summary: List Opt Outs
description: 'Internal: the research batch runner reads this. Same shared-secret pattern as
the scanner service (X-Scanner-Secret); fails closed if the secret is unset.'
operationId: list_opt_outs_scan_optout_list_get
parameters:
- name: x-scanner-secret
in: header
required: false
schema:
type: string
default: ''
title: X-Scanner-Secret
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
OptOutRequest:
properties:
domain:
type: string
title: Domain
type: object
required:
- domain
title: OptOutRequest
ScanRequest:
properties:
url:
type: string
maxLength: 2083
minLength: 1
format: uri
title: Url
type: object
required:
- url
title: ScanRequest
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
MonitorUrlRequest:
properties:
url:
type: string
maxLength: 2083
minLength: 1
format: uri
title: Url
type: object
required:
- url
title: MonitorUrlRequest
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- openapi.json
- openproof-io-openapi.json
x-provenance:
method: harvested
publisher: OpenProof
source: https://api.openproof.io/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)