Skip to content

Integration testing access

For integration partners building a connector, workflow or product on the BreachSpider API. You register yourself, manage your own keys, and we turn on complimentary testing access for your account. There is no payment method, no charge, and nothing converts to a paid plan.

1. Register

  1. Open breachspider.com/developers/start and enter your work email.
  2. Open the sign-in link we email you, in the same browser. That verifies the address and signs you in.
  3. Tell your BreachSpider contact the email you registered with. We grant testing access to that account, read-only or read-write (read-write adds Add Asset to Environment).

2. What you get

Integration testing
Length 30 days from the grant
Device checks 5,000 (one device in a correlate call = 1 check; a change check = 0.1)
Requests 30 per minute for the whole account, every route
Devices per request 200 (split larger inventories; batch jobs are not included)
Windows hosts per request 25
New-CVE and known-exploited list requests 2,000 per day; they never use device checks
CVE lookups and product searches 1,000 per day; they never use device checks
Active keys 2, ending with the access; read-write keys only on read-write access
Stored data (read-write access) 1 environment, 200 assets, in your own account only
Lifecycle and firmware data not included
Payment none; never charged, never converted

Two triggers polling every 5 minutes (the newest CVEs, and the known-exploited list with sort=date_added, one page of 100 each) use 576 requests a day, leaving more than 1,400 a day for searches while you test. Use kev_added_at, not published_at, to spot new known-exploited entries: old CVEs are added to the catalog too.

Your usage, what is left and the end date are on breachspider.com/developers/billing.

3. Make, rotate and revoke keys

Signed in, open breachspider.com/developers/billing, API keys:

  • Create a key: name it (for example "staging"). The key is shown once; store it in a secrets manager.
  • Rotate: makes a replacement with the same name and expiry and stops the old key at once, in one step. The new key is shown once.
  • Revoke: stops the key at once.

Keys are managed only while signed in; a key can never manage keys. Send the key as Authorization: Bearer <key>. Adding assets needs both read-write access on the account and a key made with write access; read-only keys are refused.

export BREACHSPIDER_API_KEY=bs_live_...

4. Actions

Action Request Cost
Check devices POST /api/v1/assets/correlate-cves 1 device check per device
Check for changes POST /api/v1/assets/correlate-cves/check 0.1 check per device
Look up a CVE GET /api/v1/cves/{CVE id} lookup
Search CVEs GET /api/v1/cves?vendor=...&severity=...&kev=true... feed request
New CVEs (trigger) GET /api/v1/cves?date_from=YYYY-MM-DD&sort_by=date feed request
Known-exploited CVEs (list, trigger) GET /api/v1/cves/kev?sort=date_added&per_page=100 feed request
Search products GET /api/v1/catalog/vendors?q=..., then GET /api/v1/catalog/products?vendor_id=...&q=... lookup
Check Windows hosts POST /api/v2/assets/check-windows (25 hosts) 1 device check per host
List environments GET /api/v1/environments (your own account only) none
Add asset to environment (read-write) POST /api/v1/environments, POST /api/v1/environments/{id}/assets/manual none

Other routes return 403 INTEGRATION_SCOPE. Never send IP addresses, host names, MAC addresses or serial numbers: device requests refuse them in asset_id and product fields (422 forbidden_value), and Add Asset refuses ip_address, serial_number and a host-name asset_name (422 FORBIDDEN_FIELD). Use a neutral id such as PLC-01.

5. Examples

Check devices (vendor, product and version as your inventory has them):

curl -X POST https://breachspider.com/api/v1/assets/correlate-cves \
  -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"assets": [{"asset_id": "SW-01", "vendor": "Moxa", "product": "EDS-518A", "version": "V3.5"}]}'

Python (pip install breachspider):

import os
import breachspider

bs = breachspider.Client(os.environ["BREACHSPIDER_API_KEY"])
result = bs.correlate.correlate([{"asset_id": "SW-01", "vendor": "Moxa", "product": "EDS-518A", "version": "V3.5"}])

Node or any HTTP client:

const r = await fetch("https://breachspider.com/api/v1/assets/correlate-cves", {
  method: "POST",
  headers: { "Authorization": `Bearer ${process.env.BREACHSPIDER_API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ assets: [{ asset_id: "SW-01", vendor: "Moxa", product: "EDS-518A", version: "V3.5" }] })
});
if (r.status === 429) { /* wait error.retry_after_seconds, then retry */ }

Repeat checks with result_hash (a tenth of the cost): API quick start. Checking the same device and firmware version again within 24 hours costs nothing: the check is refunded once it has run, so a request still needs enough checks left to cover every device in it.

Every field: Correlate CVEs. Low-code platforms can call the same endpoint with an HTTP request step and a Bearer header.

Add an asset (read-write access):

curl -X POST https://breachspider.com/api/v1/environments \
  -H "Authorization: Bearer $BREACHSPIDER_API_KEY" -H "Content-Type: application/json" \
  -d '{"name": "Integration test"}'
curl -X POST https://breachspider.com/api/v1/environments/ENV_ID/assets/manual \
  -H "Authorization: Bearer $BREACHSPIDER_API_KEY" -H "Content-Type: application/json" \
  -d '{"asset_type": "Switch", "asset_name": "SW-01", "vendor_name": "Moxa", "model": "EDS-518A", "version": "V3.5"}'

6. Responses your integration should handle

Status Code Meaning Do
401 Invalid API key (also a revoked or rotated-out key) / API key expired The key no longer works Make or rotate a key
403 INTEGRATION_ACCESS_ENDED The testing access ended Contact us to extend it
403 INTEGRATION_SCOPE Route not included, or a write with read-only access Use the actions above
403 cap_exceeded A second environment, or more than 200 assets (read-write access) Reuse your environment
413 PLAN_REQUEST_LIMIT / too_many_assets More than 200 devices (25 Windows hosts) in one request Split the request
422 forbidden_value / FORBIDDEN_FIELD An IP address, host name or serial number was sent Send a neutral id
429 RATE_LIMITED More than 30 requests in a minute Wait retry_after_seconds
429 CREDITS_EXHAUSTED Not enough device checks left; nothing was processed Contact us
429 LOOKUP_LIMIT / FEED_LIMIT Daily lookup or feed limit reached Retry after 00:00 UTC

A refused request is never partly processed and never charged. Full list: Errors and retry guidance.

Input handling worth knowing

  • Check Devices with an empty assets list returns an empty result (no charge). Unknown top-level body fields are ignored, so check spelling: a misspelt options is ignored, not refused.
  • Search CVEs: an unknown sort_by value falls back to the default order; an unknown query parameter is refused (400). A date that isn't YYYY-MM-DD is refused (422).
  • Paging: follow _links.next; it keeps your filters and sort.
  • Unknown query parameters on the known-exploited list are refused, and sort accepts only cvss or date_added.

Load the API into your tool or agent

Two files describe every action an integration uses. Both are built from the running API, and the test suite checks live responses against them:

  • OpenAPI 3.1 spec: breachspider-integration-openapi.json (12 operations with names, parameters, request bodies, response schemas, examples, errors, access and cost).
    • Postman / Insomnia / Bruno: Import → paste the link → set the bearerAuth token to your key.
    • Integration platforms, SOAR and code generators: point the OpenAPI importer at the link.
    • AI agents and function calling: each operationId maps to one tool; descriptions say when to use it.
  • Plain-text reference for agents: breachspider-integration-api-for-agents.txt One file with the rules, every operation, its parameters, request schema and an example response. Load it into an agent's context or knowledge base.
https://breachspider.com/docs/integrations/breachspider-integration-openapi.json
https://breachspider.com/docs/integrations/breachspider-integration-api-for-agents.txt

For MCP clients (Claude, Cursor and others) the BreachSpider MCP server offers the same device and CVE actions as tools.

Going live

Two ways to run an integration in production; both are available and you can offer either:

  • Each customer uses their own BreachSpider key. Your users connect with a key from their own BreachSpider account (web-app plans: Integrations, API keys; API plans: developers/billing). Their plan's limits and terms apply, and their data stays in their account. Free trial keys run Check Devices, Check Devices for Changes and Get CVE only.
  • A partner licence. BreachSpider issues keys to you under a partner agreement, with limits agreed for your product. Contact us to scope it.

Integration testing access never converts into either; it simply ends.

Security

Your account and keys are yours alone: other accounts cannot see your data, and we store only a hash of each key. Never put keys in source code or send them by email or chat.