API QUICKSTART

Integrate in five minutes.

Create a key, query a CVE, filter KEV, add a webhook and verify its signature.
Four steps

A secure path to production

Keep credentials server-side and verify signed data before it enters your workflow.
  1. 1

    Create a server-side key

    Create a credential and store its one-time value in IQS_API_KEY. Never put it in browser code.

    Open key manager
  2. 2

    Make your first call

    Request verified KEV records from REST v1 using Bearer authentication.

    Explore the API
  3. 3

    Verify webhook deliveries

    Save the one-time signing secret and verify X-IQS-Signature against the exact raw body before parsing.

    Create a webhook
  4. 4

    Add a safe browser embed

    Generate an origin-bound token, then copy the web component, iframe, or React snippet.

    Build an embed
Copy and adapt

One flow, four languages

Until registry publication, install these packages from GitHub as shown on the SDK page.
# First call
curl "https://iqscve.com/api/v1/cves?kev=true&limit=5" \
  -H "Authorization: Bearer $IQS_API_KEY"

# Verify a saved raw delivery with the source CLI
iqs verify-signature --secret "$IQS_WEBHOOK_SECRET" \
  --body payload.json --header "$IQS_SIGNATURE"

# Generate an origin-bound embed token at:
# https://iqscve.com/developers/embed
import { IqsCveClient, verifyWebhookSignature } from "@iqs-group/iqscve";

const iqs = new IqsCveClient({ apiKey: process.env.IQS_API_KEY });
const page = await iqs.cves.list({ kev: true, limit: 5 });

const body = await request.text(); // exact, unmodified body
const valid = await verifyWebhookSignature(
  request.headers.get("X-IQS-Signature") ?? "", body, process.env.IQS_WEBHOOK_SECRET!,
);

// Embed with the origin-bound token from /developers/embed:
// <script src="https://iqscve.com/embed.js" async></script>
// <iqs-cyber-alerts token="YOUR_EMBED_TOKEN"></iqs-cyber-alerts>
import os
from iqscve import Client
from iqscve.webhooks import verify_signature

client = Client(os.environ["IQS_API_KEY"])
page = client.cves(kev=True, limit=5)

# Verify exact request bytes before decoding JSON.
valid = verify_signature(
    request.headers["X-IQS-Signature"], request.body,
    os.environ["IQS_WEBHOOK_SECRET"],
)

# Generate an origin-bound embed token at /developers/embed.
client := iqscve.NewClient(os.Getenv("IQS_API_KEY"))
page, err := client.ListCVEs(ctx, iqscve.CVEFilter{KEV: boolPtr(true), Limit: 5})
if err != nil { log.Fatal(err) }

// Verify the bytes before JSON decoding.
body, err := io.ReadAll(r.Body)
if err != nil { http.Error(w, "bad request", 400); return }
if err := iqscve.VerifySignature(r.Header.Get("X-IQS-Signature"), body, os.Getenv("IQS_WEBHOOK_SECRET")); err != nil {
    http.Error(w, "invalid signature", 401); return
}

// Generate an origin-bound embed token at /developers/embed.

Only confirmed intelligence is public: a Tier-1 source or at least two independent Tier-2 sources must support it.