SE
Security · x402 · early usage

Compare a fixed list of ten security-relevant response headers across two releases and…

Compare a fixed list of ten security-relevant response headers across two releases and name the specific reverts. Reports a header removed, added or changed, and separately a reduced Strict-Transport-Security max-age, dropped includeSubDomains, a newly permit…

by api.zfinia.com · discovered, not yet claimed by its owner · updated 2026-10-04

30d calls1
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Compare a fixed list of ten security-relevant response headers across two releases and name the specific reverts. Reports a header removed, added or changed, and separately a reduced Strict-Transport-Security max-age, dropped includeSubDomains, a newly permitted unsafe-inline or unsafe-eval, and a Content-Security-Policy that moved from enforcing to report-only so it no longer blocks anything. Observable differences only, not an assessment of whether either configuration is adequate.

Tags: http headers · release gate · regression detection · web platform · developer tooling · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-04
Input example from Bazaar metadata
{
  "after": {
    "Content-Security-Policy-Report-Only": "default-src 'self'; script-src 'self' 'unsafe-inline'",
    "Referrer-Policy": "no-referrer",
    "Strict-Transport-Security": "max-age=600",
    "X-Frame-Options": "SAMEORIGIN"
  },
  "after_name": "release-42",
  "before": {
    "Content-Security-Policy": "default-src 'self'; script-src 'self'",
    "Referrer-Policy": "no-referrer",
    "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
    "X-Content-Type-Options": "nosniff",
    "X-Frame-Options": "DENY"
  },
  "before_name": "release-41"
}
Output example
{
  "after_name": "release-42",
  "after_present_count": 4,
  "assumptions": [
    "The set of headers compared is fixed and declared, so a header outside it is not silently ignored: it is simply not part of this product.",
    "A reduced HSTS max-age, dropped subdomains, a newly permitted unsafe source and a policy moving to report-only are each named specifically, because those are the changes that revert a deliberate harde...",
    "Findings describe the headers supplied. This is not a security assessment and carries no judgement about whether a configuration is adequate."
  ],
  "before_name": "release-41",
  "before_present_count": 5,
  "changed_count": 5,
  "complete": true,
  "finding_count": 8,
  "findings": [
    {
      "code": "SECURITY_HEADER_CHANGED",
      "detail": "strict-transport-security changed from \"max-age=31536000; includeSubDomains\" to \"max-age=600\".",
      "header": "strict-transport-security"
    },
    {
      "code": "HSTS_MAX_AGE_REDUCED",
      "detail": "Strict-Transport-Security max-age fell from 31536000 to 600.",
      "header": "strict-transport-security"
    },
    {
      "code": "HSTS_SUBDOMAINS_DROPPED",
      "detail": "Strict-Transport-Security no longer includes subdomains.",
      "header": "strict-transport-security"
    }
  ],
  "findings_by_code": {
    "CSP_MOVED_TO_REPORT_ONLY": 1,
    "HSTS_MAX_AGE_REDUCED": 1,
    "HSTS_SUBDOMAINS_DROPPED": 1,
    "SECURITY_HEADER_ADDED": 1,
    "SECURITY_HEADER_CHANGED": 2,
    "SECURITY_HEADER_REMOVED": 2
  },
  "headers": [
    {
      "after": "max-age=600",
      "before": "max-age=31536000; includeSubDomains",
      "changed": true,
      "header": "strict-transport-security"
    },
    {
      "after": null,
      "before": "default-src 'self'; script-src 'self'",
      "changed": true,
      "header": "content-security-policy"
    },
    {
      "after": "default-src 'self'; script-src 'self' 'unsafe-inline'",
      "before": null,
      "changed": true,
      "header": "content-security-policy-report-only"
    }
  ],
  "limitations": [
    "Difference between the two header sets supplied. Whether either is appropriate for the site is not assessed.",
    "unchanged is true only when every compared header was identical."
  ],
  "limits": {
    "maxCookies": 100,
    "maxFindings": 500,
    "maxHeaders": 200,
    "maxHtmlBytes": 262144,
    "maxListed": 200,
    "maxPages": 50,
    "maxSitemapBytes": 1048576,
    "maxSitemapUrls": 10000
  },
  "not_examined": [],
  "observed_at": "2026-10-02T00:00:00.000Z",
  "passed": false,
  "request_id": "example-request",
  "service_id": "security_header_diff",
  "service_version": "1.0.0",
  "unchanged": false
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/34024.json for the price and payment options.
  3. Pay. Call GET https://api.zfinia.com/x402/v1/security-header-diff. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.11 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
1 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.110x25e8245f07d5e4873987293dad666afbe56a960860s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "110000",
    "amountUsd": 0.11,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl -X POST 'https://api.zfinia.com/x402/v1/security-header-diff' -H 'Content-Type: application/json' --data '{"after":{"Content-Security-Policy-Report-Only":"default-src '\''self'\''; script-src '\''self'\'' '\''unsafe-inline'\''","Referrer-Policy":"no-referrer","Strict-Transport-Security":"max-age=600","X-Frame-Options":"SAMEORIGIN"},"after_name":"release-42","before":{"Content-Security-Policy":"default-src '\''self'\''; script-src '\''self'\''","Referrer-Policy":"no-referrer","Strict-Transport-Security":"max-age=31536000; includeSubDomains","X-Content-Type-Options":"nosniff","X-Frame-Options":"DENY"},"before_name":"release-41"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://api.zfinia.com/x402/v1/security-header-diff", {
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\"after\":{\"Content-Security-Policy-Report-Only\":\"default-src 'self'; script-src 'self' 'unsafe-inline'\",\"Referrer-Policy\":\"no-referrer\",\"Strict-Transport-Security\":\"max-age=600\",\"X-Frame-Options\":\"SAMEORIGIN\"},\"after_name\":\"release-42\",\"before\":{\"Content-Security-Policy\":\"default-src 'self'; script-src 'self'\",\"Referrer-Policy\":\"no-referrer\",\"Strict-Transport-Security\":\"max-age=31536000; includeSubDomains\",\"X-Content-Type-Options\":\"nosniff\",\"X-Frame-Options\":\"DENY\"},\"before_name\":\"release-41\"}"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
import json
res = httpx.request("POST", "https://api.zfinia.com/x402/v1/security-header-diff", json=json.loads("{\"after\":{\"Content-Security-Policy-Report-Only\":\"default-src 'self'; script-src 'self' 'unsafe-inline'\",\"Referrer-Policy\":\"no-referrer\",\"Strict-Transport-Security\":\"max-age=600\",\"X-Frame-Options\":\"SAMEORIGIN\"},\"after_name\":\"release-42\",\"before\":{\"Content-Security-Policy\":\"default-src 'self'; script-src 'self'\",\"Referrer-Policy\":\"no-referrer\",\"Strict-Transport-Security\":\"max-age=31536000; includeSubDomains\",\"X-Content-Type-Options\":\"nosniff\",\"X-Frame-Options\":\"DENY\"},\"before_name\":\"release-41\"}"))
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.zfinia.com
Endpoint
https://api.zfinia.com/x402/v1/security-header-diff
Machine-readable
/resources/34024.json