Performance profile
Measure website response latency, payload size, compression, caching, and performance signals for a public URL.
$0.025 USDCBasex402 v2POST
Endpoint
https://apiacre.com/v1/web/performance-profileSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Input example
{
"url": "https://example.com"
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "web.performance-profile",
"version": "1",
"data": {
"url": "https://example.com",
"status": 1,
"elapsedMs": 1,
"bytes": 1,
"compression": {},
"cacheControl": "example",
"serverTiming": "example"
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/web/performance-profile' \
-H 'content-type: application/json' \
--data '{"url":"https://example.com"}'