Turbometrics Scans API
Start scans, read results, share and keep them.
Start scans, read results, share and keep them.
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/turbometrics-io:turbometrics-io-scans-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: turbometrics Scans API
version: 1.0.0
description: REST API for programmatic access to scans, domains, alerts, live data (RUM) and changes. Authentication works via bearer tokens, which you manage under Account → API & apps. The API always responds with JSON.
contact:
name: turbometrics
url: https://turbometrics.io
servers:
- url: https://turbometrics.io/api/v1
security:
- bearerAuth: []
tags:
- name: Scans
description: Start scans, read results, share and keep them.
x-key: scans
paths:
/scans:
get:
operationId: listScans
summary: List scans
description: Returns a paginated list of your scans.
tags:
- Scans
x-rate-limit: Counts toward the daily request limit of your plan.
parameters:
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/page'
- name: domain
in: query
description: Filters by URL content.
schema:
type: string
- name: status
in: query
description: '`queued`, `running`, `finished`, `failed`.'
schema:
type: string
enum:
- queued
- running
- finished
- failed
responses:
'200':
description: List of scans with page information.
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/ScanListItem'
meta:
$ref: '#/components/schemas/PaginationMeta'
example:
data:
- public_id: 01KN3X...
report_url: https://turbometrics.io/scan/01KN3X...
status: finished
submitted_url: https://example.com/
region: de-fsn1
auth_type: null
requested_at: '2026-03-31T00:29:00+02:00'
finished_at: '2026-03-31T00:29:45+02:00'
result:
scores:
overall: 87
speed: 100
images: 93
caching: 89
wordpress: 100
technical: 70
meta:
current_page: 1
per_page: 10
total: 143
last_page: 15
'401':
$ref: '#/components/responses/E401'
'403':
$ref: '#/components/responses/E403'
'429':
$ref: '#/components/responses/E429'
post:
operationId: createScan
summary: Start a scan
description: 'Starts a new scan. The scan is processed asynchronously; call `GET /scans/{id}` to check the status.
Without `force: true`, an existing result for the same URL is returned if it is less than 24 hours old. The response then contains `"cached": true` and HTTP `200` instead of `202`.
Scans with `auth` require the Pro plan, are always private, and credentials are never returned (`auth_type` only indicates the kind).'
tags:
- Scans
x-rate-limit: Counts toward the daily request limit of your plan.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- url
properties:
url:
type: string
maxLength: 2048
description: The URL to scan.
region:
type: string
description: Scan location (e.g. `de-fsn1`, `de-nbg1`), from the locations of your plan.
public:
type: boolean
default: false
description: 'Publicly visible (default: false).'
force:
type: boolean
default: false
description: 'Force a fresh scan even if a recent result exists (default: false).'
keep:
type: boolean
default: false
description: 'Keep the scan permanently: it is not deleted when your history period ends, and shared links stay valid. Counts against your plan''s quota (default: false).'
auth:
type: object
description: Authentication for protected pages (Pro plan and above).
required:
- type
properties:
type:
type: string
enum:
- basic
- header
description: '`basic` or `header`.'
username:
type: string
description: 'User name (only with `type: basic`).'
password:
type: string
description: 'Password (only with `type: basic`).'
header_name:
type: string
description: 'Name of the HTTP header (only with `type: header`).'
header_value:
type: string
description: 'Value of the HTTP header (only with `type: header`).'
example:
url: https://example.com
force: true
responses:
'200':
description: 'Existing result from the last 24 hours (`cached: true`).'
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/ScanCreated'
example:
data:
id: 01KN3X...
status: finished
url: https://example.com/
cached: true
auth_type: null
keep_forever: false
'202':
description: New scan queued.
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/ScanCreated'
example:
data:
id: 01KN3X...
status: queued
url: https://example.com/
cached: false
auth_type: null
keep_forever: false
'401':
$ref: '#/components/responses/E401'
'403':
$ref: '#/components/responses/E403'
'422':
$ref: '#/components/responses/E422'
'429':
$ref: '#/components/responses/E429'
/scans/{id}:
get:
operationId: getScan
summary: Get a scan
description: 'Returns the details of a single scan.
`report_url` points to the report in the web interface; for private scans it only works for the signed-in owner. To pass a report on, use `share_url`.
While a scan is queued or running, `progress` shows its stage (`queued`, `preflight`, `html`, `runtime_desktop`, `runtime_mobile`, `assets` or `null`). It is `null` once the scan has finished or failed. Poll every few seconds and do not rely on a fixed order of the stages.
`result.google_fonts.status` is `direct`, `embed_only`, `none` or `unknown`; it is `null` for scans created before the field existed. `result.preflight.page_cache_status` is `hit` or `miss` (scans before 18 Nov 2026 do not have the field).'
tags:
- Scans
x-rate-limit: Counts toward the daily request limit of your plan.
parameters:
- $ref: '#/components/parameters/scanId'
- $ref: '#/components/parameters/locale'
responses:
'200':
description: The scan, with `result` once it has finished.
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/Scan'
locale:
type: string
enum:
- de
- en
example:
data:
public_id: 01KN3X...
report_url: https://turbometrics.io/scan/01KN3X...
status: finished
is_public: false
submitted_url: https://example.com/
region: de-fsn1
auth_type: null
progress: null
share_enabled: false
share_url: null
requested_at: '2026-03-31T00:29:00+02:00'
finished_at: '2026-03-31T00:29:45+02:00'
result:
final_url: https://example.com/
final_host: example.com
http_status: 200
scores:
overall: 87
speed: 100
images: 93
caching: 89
wordpress: 100
technical: 70
summary_short: The page loads quickly, but has room for improvement in technical metrics.
metrics:
ttfb_ms: 182
desktop:
fcp_ms: 412
lcp_ms: 830
cls: 0.02
tbt_ms: 0
request_count: 34
total_bytes: 512000
mobile:
fcp_ms: 980
lcp_ms: 2100
cls: 0.04
tbt_ms: 120
request_count: 34
total_bytes: 512000
findings:
- category: images
code: unoptimized_images
severity: warning
title: Images not optimised
message: 3 images could be smaller.
recommendation: Use WebP and compress images before upload.
google_fonts:
status: none
fonts: []
'401':
$ref: '#/components/responses/E401'
'403':
$ref: '#/components/responses/E403'
'404':
$ref: '#/components/responses/E404'
'429':
$ref: '#/components/responses/E429'
/scans/{id}/share/enable:
post:
operationId: enableScanShare
summary: Enable share link
description: 'Enables the share link for a scan and returns the public share URL. Requires at least the Starter plan. The token stays stable: enabling it again after disabling it uses the same URL.'
tags:
- Scans
x-rate-limit: Counts toward the daily request limit of your plan.
parameters:
- $ref: '#/components/parameters/scanId'
responses:
'200':
description: Share link enabled.
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/ShareState'
example:
data:
share_enabled: true
share_url: https://turbometrics.io/s/abc123xyz012
'401':
$ref: '#/components/responses/E401'
'403':
$ref: '#/components/responses/E403'
'404':
$ref: '#/components/responses/E404'
'429':
$ref: '#/components/responses/E429'
/scans/{id}/share/disable:
post:
operationId: disableScanShare
summary: Disable share link
description: Disables the share link. The token is kept internally, so reactivating it later delivers the same URL.
tags:
- Scans
x-rate-limit: Counts toward the daily request limit of your plan.
parameters:
- $ref: '#/components/parameters/scanId'
responses:
'200':
description: Share link disabled.
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/ShareState'
example:
data:
share_enabled: false
'401':
$ref: '#/components/responses/E401'
'403':
$ref: '#/components/responses/E403'
'404':
$ref: '#/components/responses/E404'
'429':
$ref: '#/components/responses/E429'
/scans/{id}/keep/enable:
post:
operationId: enableScanKeep
summary: Keep a scan permanently
description: 'Marks a scan as kept permanently: it is no longer deleted when your plan''s history period ends, and an enabled share link stays valid. Quota by plan: Free 0, Starter 3, Pro 10, Agency 50. If the quota is used up, the API answers `403` with an explanation. Enabling a scan that is already marked returns `200` (idempotent).'
tags:
- Scans
x-rate-limit: Counts toward the daily request limit of your plan.
parameters:
- $ref: '#/components/parameters/scanId'
- $ref: '#/components/parameters/locale'
responses:
'200':
description: Scan is kept permanently.
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/KeepState'
example:
data:
keep_forever: true
'401':
$ref: '#/components/responses/E401'
'403':
$ref: '#/components/responses/E403'
'404':
$ref: '#/components/responses/E404'
'429':
$ref: '#/components/responses/E429'
/scans/{id}/keep/disable:
post:
operationId: disableScanKeep
summary: Stop keeping a scan
description: Removes the mark. The scan is subject to your plan's history period again, and its slot in the quota is freed.
tags:
- Scans
x-rate-limit: Counts toward the daily request limit of your plan.
parameters:
- $ref: '#/components/parameters/scanId'
responses:
'200':
description: Mark removed.
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/KeepState'
example:
data:
keep_forever: false
'401':
$ref: '#/components/responses/E401'
'403':
$ref: '#/components/responses/E403'
'404':
$ref: '#/components/responses/E404'
'429':
$ref: '#/components/responses/E429'
components:
schemas:
ScanCreated:
type: object
properties:
id:
type: string
status:
type: string
url:
type: string
cached:
type: boolean
auth_type:
type:
- string
- 'null'
enum:
- basic
- header
- null
keep_forever:
type: boolean
KeepState:
type: object
properties:
keep_forever:
type: boolean
required:
- keep_forever
ThrottleError:
type: object
properties:
message:
type: string
required:
- message
PaginationMeta:
type: object
properties:
current_page:
type: integer
per_page:
type: integer
total:
type: integer
last_page:
type: integer
description: Page information of a paginated list.
LimitError:
type: object
properties:
error:
type: string
limit:
type: integer
reset_at:
type:
- string
- 'null'
format: date-time
retry_after:
type: integer
required:
- error
ValidationError:
type: object
properties:
message:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
required:
- message
- errors
ScanListItem:
type: object
properties:
public_id:
type: string
report_url:
type: string
status:
type: string
enum:
- queued
- running
- finished
- failed
submitted_url:
type: string
region:
type:
- string
- 'null'
auth_type:
type:
- string
- 'null'
requested_at:
type:
- string
- 'null'
format: date-time
finished_at:
type:
- string
- 'null'
format: date-time
result:
type:
- object
- 'null'
properties:
scores:
type: object
properties:
overall:
type:
- integer
- 'null'
speed:
type:
- integer
- 'null'
images:
type:
- integer
- 'null'
caching:
type:
- integer
- 'null'
wordpress:
type:
- integer
- 'null'
technical:
type:
- integer
- 'null'
Scan:
type: object
properties:
public_id:
type: string
report_url:
type: string
status:
type: string
enum:
- queued
- running
- finished
- failed
is_public:
type: boolean
submitted_url:
type: string
region:
type:
- string
- 'null'
auth_type:
type:
- string
- 'null'
share_enabled:
type: boolean
share_url:
type:
- string
- 'null'
requested_at:
type:
- string
- 'null'
format: date-time
finished_at:
type:
- string
- 'null'
format: date-time
progress:
type:
- object
- 'null'
properties:
stage:
type:
- string
- 'null'
enum:
- queued
- preflight
- html
- runtime_desktop
- runtime_mobile
- assets
- null
stage_started_at:
type:
- string
- 'null'
format: date-time
result:
type:
- object
- 'null'
properties:
final_url:
type:
- string
- 'null'
final_host:
type:
- string
- 'null'
http_status:
type:
- integer
- 'null'
scores:
type: object
properties:
overall:
type:
- integer
- 'null'
speed:
type:
- integer
- 'null'
images:
type:
- integer
- 'null'
caching:
type:
- integer
- 'null'
wordpress:
type:
- integer
- 'null'
technical:
type:
- integer
- 'null'
summary_short:
type:
- string
- 'null'
summary_long:
type:
- string
- 'null'
preflight:
type:
- object
- 'null'
properties:
https:
type: boolean
redirect_count:
type: integer
content_type:
type: string
content_encoding:
type: string
has_browser_caching:
type: boolean
has_page_cache:
type: boolean
page_cache_status:
type: string
enum:
- hit
- miss
has_cdn:
type: boolean
cdn:
type:
- string
- 'null'
cache_control:
type: string
server:
type: string
http2:
type: boolean
http3:
type: boolean
metrics:
type:
- object
- array
properties:
ttfb_ms:
type:
- number
- 'null'
desktop:
type:
- object
- array
properties:
fcp_ms:
type:
- number
- 'null'
lcp_ms:
type:
- number
- 'null'
cls:
type:
- number
- 'null'
tbt_ms:
type:
- number
- 'null'
long_task_count:
type:
- integer
- 'null'
request_count:
type:
- integer
- 'null'
total_bytes:
type:
- integer
- 'null'
navigation_timing:
type:
- object
- 'null'
mobile:
type:
- object
- array
properties:
fcp_ms:
type:
- number
- 'null'
lcp_ms:
type:
- number
- 'null'
cls:
type:
- number
- 'null'
tbt_ms:
type:
- number
- 'null'
long_task_count:
type:
- integer
- 'null'
request_count:
type:
- integer
- 'null'
total_bytes:
type:
- integer
- 'null'
navigation_timing:
type:
- object
- 'null'
page_structure:
type:
- object
- 'null'
asset_weights:
type:
- object
- 'null'
screenshots:
type:
- object
- array
- 'null'
findings:
type: array
items:
type: object
properties:
category:
type: string
code:
type: string
severity:
type: string
title:
type: string
message:
type: string
recommendation:
type:
- string
- 'null'
google_fonts:
type:
- object
- 'null'
properties:
status:
type: string
enum:
- direct
- embed_only
- none
- unknown
fonts:
type: array
maxItems: 20
items:
type: object
properties:
family:
type: string
name:
type: string
embed:
type: boolean
source:
type: object
properties:
kind:
type: string
enum:
- plugin
- theme
- page
- external
- unknown
name:
type:
- string
- 'null'
url:
type:
- string
- 'null'
Error:
type: object
properties:
error:
type: string
description: Error message in the API language.
required:
- error
ShareState:
type: object
properties:
share_enabled:
type: boolean
share_url:
type: string
required:
- share_enabled
parameters:
locale:
name: locale
in: query
description: Language of texts in the response (`de` or `en`), otherwise your account's language setting.
schema:
type: string
enum:
- de
- en
limit:
name: limit
in: query
description: 'Results per page, max. 50 (default: 20).'
schema:
type: integer
minimum: 1
maximum: 50
default: 20
scanId:
name: id
in: path
required: true
description: The scan's `public_id` (e.g. `01KN3X...`).
schema:
type: string
page:
name: page
in: query
description: Page number.
schema:
type: integer
minimum: 1
responses:
E422:
description: Validation error, e.g. an invalid URL.
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/ValidationError'
- $ref: '#/components/schemas/Error'
example:
message: The url field is required.
errors:
url:
- The url field is required.
E403:
description: Your plan does not include this (the API needs Starter or higher; scans with authentication need Pro).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: Your current plan does not support API access. Available from Starter.
E401:
description: No token or an invalid one.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: Unauthenticated
E429:
description: 'Limit exceeded: daily API limit, hourly scan limit or report limit.'
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/LimitError'
- $ref: '#/components/schemas/ThrottleError'
example:
error: Daily API limit reached
limit: 1000
reset_at: '2026-04-01T23:59:59+02:00'
E404:
description: Resource not found or not yours.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: Not found.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Personal API token from Account → API & apps, sent as `Authorization: Bearer {token}`. Without a valid token the API answers `401`.'
externalDocs:
url: https://turbometrics.io/docs/api