UPUnlockPressure

Buy one token unlock risk summary with x402

A short agent-facing path for paying $0.25 USDC on Base for the existing Phase 1 token-level 90-day unlock risk summary.

Phase 1Cloudflare Worker API with free scanner routes and paid x402 risk routes.
First wallet-paid test GET /v1/unlocks/upcoming?days=90&minRisk=70 Price: $0.02. Bodyless route. Use it first to prove the wallet can pay and retry before buying the larger token summary.
Flagship paid report POST /v1/token/risk-summary Price: $0.25. Input: a token symbol and optional 90-day window. Output: source-backed top unlock events, max risk score, confidence, evidence links, and next unlock pressure.
Install npm install @x402/fetch @x402/evm viem Use a Base USDC-funded EVM wallet. The x402 fetch wrapper reads PAYMENT-REQUIRED and retries with PAYMENT-SIGNATURE automatically.
Discovery /.well-known/x402.json Agents can inspect pricing, Base USDC payment requirements, Bazaar metadata, OpenAPI schemas, MCP metadata, catalog status, and llms.txt before buying.
Execution page /x402/run-token-summary Use the current event-led copy-paste page when a wallet-enabled buyer wants the shortest path to the $0.25 paid call.
import { wrapFetchWithPayment, x402HTTPClient } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY);
const client = new x402Client();
client.register("eip155:*", new ExactEvmScheme(signer));

const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const httpClient = new x402HTTPClient(client);

const pingResponse = await fetchWithPayment("https://unlockpressure.pricepilot402-arya.workers.dev/v1/unlocks/upcoming?days=90&minRisk=70");
const ping = await httpClient.processResponse(pingResponse);
console.log(ping.body);
import { wrapFetchWithPayment, x402HTTPClient } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY);
const client = new x402Client();
client.register("eip155:*", new ExactEvmScheme(signer));

const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const httpClient = new x402HTTPClient(client);

const response = await fetchWithPayment("https://unlockpressure.pricepilot402-arya.workers.dev/v1/token/risk-summary", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ token: "SXT", lookbackDays: 90 })
});

const paid = await httpClient.processResponse(response);
console.log(paid.body);
curl -i "https://unlockpressure.pricepilot402-arya.workers.dev/v1/token/risk-summary" \
  -H "content-type: application/json" \
  --data '{"token":"SXT","lookbackDays":90}'

# Then create an x402 proof from PAYMENT-REQUIRED and retry:
curl -i "https://unlockpressure.pricepilot402-arya.workers.dev/v1/token/risk-summary" \
  -H "content-type: application/json" \
  -H "PAYMENT-SIGNATURE: <x402-proof>" \
  -H "Idempotency-Key: SXT-90-day-risk-summary" \
      --data '{"token":"SXT","lookbackDays":90}'