Basic Performance Audit

Measures TTFB, transfer size, resource counts by type, compression and cache headers, and blocking resource count.

POST /v1/web/performance-basic $0.02 per call

Limitations. Server-side measurement without a browser. Not Core Web Vitals.

Specification

Endpoint
POST /v1/web/performance-basic
Price
$0.02 per call · tier advanced_analysis
Payment
x402 on X Layer (chain 196) · settled in USDG or USDT0 · scheme exact
Data source
Live fetch of the caller-supplied public URL, SSRF-guarded
Timeout
30 seconds
Max request
256 KB
Version
1.0.0

Calling it

The first call returns a 402 with the payment challenge. Retry with a signed authorisation in the X-PAYMENT header — see the payment guide for the exact shape.

curl -i -X POST "https://api.dana-edu.pp.ua/v1/web/performance-basic" \
  -H "content-type: application/json" \
  -d '{ ... }'

Response

No fixed example. This service returns live data from an upstream source. A stored example would be a snapshot presented as a current figure, so none is published.

Every response is wrapped in the same envelope: data plus warnings, sources, confidence, informational_only and a measured processing_ms. See the envelope reference.

Related endpoints