Drop-in in one line
The API speaks the OpenAI chat-completions schema. Change base_url and keep your code.
1 · Get a key
Create a key in the console. Keys look like zd_live_… and are shown once.
50K tokens free, no card.
2 · Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
base_url="https://api.zerodayapi.com/v1",
api_key=os.environ["ZERODAY_KEY"],
)
result = client.chat.completions.create(
model="zeroday-offensive-70b",
messages=[{"role": "user", "content": payload}],
temperature=0.1,
)cURL
curl https://api.zerodayapi.com/v1/chat/completions \
-H "Authorization: Bearer $ZERODAY_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"zeroday-offensive-70b","messages":[{"role":"user","content":"map this shellcode"}]}'Burp Suite / OWASP ZAP
Install the extender from the BApp store, paste your key, enable passive triage. Each scan result is summarised by zeroday-triage-8b and written into the issue panel.
Postman collection: download JSON.
Models
zeroday-offensive-70b— exploit analysis, pen testing, 128Kzeroday-reverse-32b— disassembly and patch diffing, 64Kzeroday-triage-8b— log correlation, IOC extraction, 32K
Errors & limits
Standard HTTP codes: 401 invalid key, 429 rate limit (1,000 RPM on Pro), 503 capacity. Responses carry { "error": { "message", "type" } }.
Stuck? The docs grow with the platform — tell us what is missing.