CodeSec API v1

Build Security Scanning Into Your Workflow

Integrate CodeSec into CI/CD pipelines, applications, and security workflows with our API.

Create your first scan
curl -X POST https://api.codesec.me/v1/scans \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target":"https://example.com"}'

Explore the platform

Quickstart

Authenticate with your API key and launch a scan in a few lines.

import { CodeSec } from class="tok-str">"@codesec/sdk";

const client = new CodeSec({
  apiKey: process.env.CODESEC_API_KEY,
});

const scan = await client.scan({
  target: class="tok-str">"https://example.com",
  scanType: class="tok-str">"full",
});

console.log(scan.id, scan.status);

Plan limits

Quotas reset monthly. Need more? Compare plans.

PlanScans / monthRequests / minConcurrent scans
Free10301
ProPopular5001205
Business5,00060020
EnterpriseCustomCustomCustom