Agent commerce
Paid link intelligence for agents.
CLYK exposes link, route, analytics, and destination-safety data as machine-readable paid resources. Agents can pay per request with Link-backed Stripe shared payment tokens over HTTP 402. High volume teams can use a Business API key instead.
How payment works
Unpaid requests receive a 402 challenge. The agent asks Link for an approved payment credential, retries the same request, and receives data with a payment receipt. Business keys can skip per-call payment by sending Authorization.
curl https://clyk.app/api/agent/v1/quotecurl https://clyk.app/api/agent/v1/links/launch-26?include=analytics,route_intelligence
# 402 Payment Required
# WWW-Authenticate: Payment ...
# Then retry with an MPP-capable client such as link-cli mpp pay.Endpoints
The OpenAPI spec is published at /api/agent/v1/openapi.json.
curl -X POST https://clyk.app/api/agent/v1/links/resolve \
-H "Content-Type: application/json" \
-d '{"codes":["launch-26","pricing"],"include":["route_intelligence"]}'curl -X POST https://clyk.app/api/agent/v1/validate \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/checkout"}'| Resource | Price | Description |
|---|---|---|
link.resolve | $0.05 | Resolve and inspect one CLYK link. |
links.batch_resolve | $0.25 | Batch resolve up to 25 CLYK links. |
link.analytics | $0.25 | Fetch paid click analytics for one CLYK link. |
link.route_intelligence | $0.10 | Fetch route rules, UTM details, and destination context. |
url.validate | $0.10 | Validate one destination URL with CLYK safety checks. |
Safety rules
Password-protected links never expose destinations through paid data. Expired or inactive links return state without leaking the target URL. CLYK stores payment telemetry and receipts, never raw cards, Link credentials, SPT values, or authorization headers.
For MCP clients, start with the CLYK MCP server. For direct HTTP clients, use the OpenAPI spec and the quote endpoint. For checkout subscriptions, CLYK uses Stripe Checkout with Link-eligible payment methods.