Agent API

Agent API Overview

Verdict exposes a programmatic, machine-to-machine growth audit endpoint designed for autonomous AI agents, screening bots, venture due-diligence pipelines, and developer tooling.

Endpoint Specifications

Endpoint
POST /api/v2/audit
Canonical URL
https://tryverdict.xyz/api/v2/audit
Price
$0.50 USDC
Production Network
Base (eip155:8453)
Protocol
x402 V2 Exact EVM Scheme
Response Format
JSON

The Programmatic Request Lifecycle

The Agent API eliminates SaaS credit cards and subscription API keys in favor of the open x402 V2 payment protocol:

  1. 1

    Agent sends initial HTTP POST

    The agent sends a request with the target URL in the JSON body. No API key is required.

  2. 2

    Verdict returns HTTP 402 challenge

    The server responds with HTTP 402 and the PAYMENT-REQUIRED header specifying $0.50 USDC on Base.

  3. 3

    Agent signs payment authorization

    The agent's standard x402 client automatically signs the EVM authorization using its secure wallet key.

  4. 4

    Agent retries request with payment proof

    The request is retried with the signed PAYMENT-SIGNATURE header attached.

  5. 5

    Verdict verifies payment and executes audit

    Payment is verified on-chain ahead of execution. Verdict runs the investigation and settles fulfillment.

  6. 6

    Structured JSON return

    The agent receives structured JSON containing the overall score, bottleneck, evidence metrics, and priority matrix.