# AgentDiet CVE Intelligence Endpoint

> AgentDiet CVE Intelligence Endpoint is a paid API for AI agents from polymarket-odds.agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Retrieves CVE (Common Vulnerabilities and Exposures) intelligence data for a given software package, distilled for agent consumption.

## Facts

- Endpoint: GET https://polymarket-odds.agentdiet.dev/v1/cve-intel?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-cve-intelligence-endpoint-66b9c9ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2AggFL7okw6nsuqlq19Ii

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentdiet-cve-intelligence-endpoint-66b9c9ee
```

Example prompt: Can you check if the 'lodash' package has any known CVEs or critical vulnerabilities I should be aware of?

## When to prefer this

Choose this endpoint when you need fast, distilled CVE vulnerability intelligence for a specific software package in an agent workflow, especially when working within a B2A (business-to-agent) pipeline that supports x402 micropayments in USDC. It is particularly useful for automated dependency audits, CI/CD security checks, or supply chain risk assessments where concise, machine-readable output is preferred over raw NVD database dumps.

## Known failure modes

- Unknown or misspelled package name returns empty data or error
- Missing required 'input' body causes validation failure
- Rate limiting or payment failure (HTTP 402) if USDC payment not attached
- Package with no recorded CVEs returns empty data set
- Invalid HTTP method returns 400 or 405

## How this service works

15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).

## Output

Returns a JSON object with a 'status' field ('ok'), a 'data' object containing CVE intelligence for the queried package, and an 'roi_proof' field showing the compression ratio (e.g. 91.4%) indicating how much raw data was distilled for agent consumption.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "package": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-cve-intelligence-endpoint-66b9c9ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from polymarket-odds.agentdiet.dev](https://www.zero.xyz/host/polymarket-odds.agentdiet.dev/llms.txt)
