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: 'Lazaretto: skill & tool verification Lockfile API'
version: 2026.11.13a
summary: 'Deterministic verification of agent skills/tools: known-bad matching + behavioral signals.'
contact:
name: Lazaretto
email: contact@lazaretto.dev
url: https://lazaretto.dev
license:
name: Proprietary
servers:
- url: https://lazaretto.dev
tags:
- name: Lockfile
paths:
/v1/lockfile:
post:
security: []
summary: 'Free: check every pinned version in a lockfile against the malicious-package…'
description: 'No auth, IP rate-limited. Send a package-lock.json, yarn.lock (v1/Berry), or pnpm-lock.yaml (v5/v6/v9), raw or as {"lockfile":""}, or an explicit {"packages":[{"name","version"}]} list. Only EXACT versions are checked: a range has no definitive answer, because a compromised release usually sits between clean ones. Fail-closed: anything that could not be checked is listed in `unverified`, so an empty `malicious` list is only an all-clear when `unverified` is empty too. `skipped` counts entries with no registry identity (file:/link:/workspace:/git), which are reported rather than silently dropped.'
responses:
'200':
description: Malicious pinned versions, plus whatever could not be checked.
'400':
description: Unrecognized lockfile, or no exactly-pinned versions in it.
'429':
description: Rate limited.
'503':
description: The feed could not be consulted. Not an all-clear.
tags:
- Lockfile
operationId: postV1Lockfile
x-operation-id-source: derived
/v1/lockfile/diff:
post:
security: []
summary: 'Free: the exact package versions a lockfile change adds'
description: 'No auth, IP rate-limited. Body {"base": , "head": }, each the raw contents of a package-lock.json, yarn.lock or pnpm-lock.yaml. Returns `added` (the name@version pairs present in head and absent from base, which is the list to scan), `upgraded`, `removed`, an `unchanged` count, and per-side `checked` and `truncated`. A truncated side makes the diff partial, and `note` says so. This compares identities only and checks nothing for malware: send `added` to POST /v1/scan/batch for that.'
responses:
'200':
description: What the head lockfile adds, upgrades and removes relative to base.
'400':
description: A side is missing, or could not be read as a lockfile. An unreadable lockfile is not a statement that nothing changed.
'429':
description: Rate limited.
tags:
- Lockfile
operationId: postV1LockfileDiff
x-operation-id-source: derived
components:
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-API-Key
x402:
type: http
scheme: x402
description: Pay-per-call via the x402 protocol (USDC on Base).
watchToken:
type: apiKey
in: header
name: x-watch-token
description: The watch token returned once by POST /v1/watch.