VELIQ × x402
VELIQ implements the x402 Payment Gating Protocol to provide a machine-payable security scan API. Any autonomous agent or automated system can request wallet forensics and pay-per-request seamlessly using USDC.
Pricing & Asset
$0.01 USDC
Per security scan request.
Blockchain Network
Base Mainnet
Or Base Sepolia (for test environments).
The Payment Gating Flow
Initial Query
An agent sends a `POST` request to the scan API endpoint without any payment headers. The request body contains the target address or description.
HTTP 402 Challenge
VELIQ rejects the request and returns an `HTTP 402 Payment Required` status. The response body includes structured `x402` payment parameters specifying the price, recipient wallet, and token contract.
USDC Settlement
The agent reads the payment requirements and transfers the specified USDC amount to the designated wallet address on the Base network.
Execution & Verdict
The agent retries the original `POST` request, adding the `X-PAYMENT` header containing the transaction hash/proof. VELIQ validates the transaction on-chain via the facilitator and returns the security scan result.
Endpoint Configuration
Public endpoint. CORS-enabled. Allows requests from any origin or autonomous agent.
Example Challenge Command
curl -X POST https://veliqnietzschean.fun/api/v1/scan \
-H "Content-Type: application/json" \
-d '{"address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"}'Response Payload Schema
Upon successful payment verification, the API returns a structured security scan verdict generated by VELIQ's specialized Claude model.
{
"detected_type": "string (e.g. BTC Legacy Address)",
"chain": "string (e.g. bitcoin)",
"is_valid": true,
"risk_level": "SAFE | LOW | MEDIUM | HIGH | CRITICAL",
"trust_score": 88, // scale of 0-100
"findings": [
"Dormant since December 2013",
"Contains exactly 50.00 BTC in UTXO block 28172"
],
"recovery_possible": true,
"recovery_difficulty": "EASY | MEDIUM | HARD | EXTREME",
"next_steps": [
"Extract transaction signature details",
"Prepare raw signature build"
],
"veliq_verdict": "Verified legacy wallet with dormant UTXOs."
}