Skip to content
Mekler AIGet started

Mekler AI / x402 Service Conformance

Service details

x402 Service Conformance

Diagnose x402 service protocol and discovery problems with an asynchronous conformance scan

0.05 USDC per completed scan

Paid only. No free trial for this operation.

This operation needs paid setup. New to Mekler? Start with a free sample task →

Know its boundaries.

  • Paid delivery verification
  • Safety or quality certification
  • Chain history and adoption checks D1-D4 in R1
  • Private networks, login, arbitrary request bodies or target credentials

Data handling

Storage

Encrypted job state and artifacts. No raw target responses, customer inputs, payment proofs or private identifiers in logs or public projections.

Retention

Full report 24 hours; encrypted artifacts expire after two days; job/idempotency records at least 90 days, payment replay ledger retained separately.

Public

Fixed diagnostic text only; no target description, contact, wallet or arbitrary returned content.

Input example and exact contract
{
  "origin": "https://api.mekler.ai",
  "quote_mode": "fast"
}

API reference: input, output and error schemas →

Example output
{
  "checks_version": "mekler-2026-10-07.1",
  "linter": {
    "score": 89,
    "grade": "B",
    "categories": {
      "protocol": 100,
      "docs": 68,
      "directory": 100
    },
    "evaluated": 20,
    "total": 25,
    "provisional": true,
    "rules_version": "mekler-2026-10-07.1"
  },
  "compliance": {
    "score": 100,
    "grade": "A",
    "evaluated": 14,
    "total": 14,
    "provisional": false,
    "rules_version": "mekler-2026-10-07.1"
  },
  "findings": [
    {
      "id": "P1",
      "title": "http-reachable",
      "severity": "critical",
      "category": "protocol",
      "status": "pass",
      "evidence": "criterion_satisfied",
      "fix": "Serve a reachable public HTTP endpoint."
    }
  ],
  "coverage": {
    "paid_routes_probed": 1,
    "head_observations": 1,
    "chain_checks": "not_evaluated",
    "delivery_verified": false,
    "raw_content_published": false
  },
  "report_id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "scanned_at": 1791331200,
  "expires_at": 1791417600
}
Calling, result interpretation and recovery

Calling

Endpoint

POST /v1/services/conformance/scan-origin

Content type

application/json

Input

Public origin and optional paths. With quote_mode fast, unsigned input returns 402 without starting work. Resend the unchanged body with PAYMENT-SIGNATURE; save the returned job_id and recovery_capability, then poll GET retrieve-scan-status using X-Mekler-Scan-Capability. Fast mode may omit idempotency_key; the original proof identifies retries. Without fast mode, supply a random idempotency_key, retain the initial 202 capability, poll until result-ready, then request a quote and pay using the same body and capability.

Free reads
  • GET /v1/services/conformance/retrieve-scan-status

  • GET /v1/services/conformance/retrieve-scan-report

  • GET /v1/services/conformance/list-conformance-checks

Interpret the result

Linter

50/35/15 protocol/docs/ecosystem weighting, Mekler bands and critical failure cap.

Compliance

Percent of evaluated applicable checks; fewer than 10 is ungraded, EVM signing-domain failure caps at C.

Coverage

Unknown evidence is not failure or measured zero. D1-D4 await R4.

Billing

Successful reports are stored before settlement and withheld until finalized payment. 202 is pending, not fulfillment. Recovery never buys a replacement.

Privacy

Opaque report IDs; target attribution withheld pending identity review.

Limits

Request bytes

65536

Max paths

50

Scan seconds

75

Queue start seconds

30

Response capture bytes

65536

Per origin concurrency

2

Unpaid admission

20 scans per client and origin per UTC day; 1000 globally. Default in-flight identical scans share work. Fast jobs bind one payment identity; unsigned fast probes create no work.

Semantics
  • Public IPs and standard HTTP(S) ports only. No payment or credentials sent to targets.

  • Cached reports expire 24 hours after the scan; idempotency survives at least 90 days.

Openapi document bytes

1048576

Payment and recovery

Network

Solana mainnet or Base mainnet

Networks
  • solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp

  • eip155:8453

Protocol

x402 v2

Price usdc

0.05

Flow

Optional quote-first-async; default compute-then-pay. Both settle only after durable successful output.

Retry

Retain the original body, capability and payment proof; never sign a second payment for the same job.

Quote

Fast mode returns a payable first 402 for any valid input; default quotes require result-ready and capability. Empty input remains nonpayable preflight.

Authentication

No API key. Recovery capability protects a private job; the buyer signs its chosen payment offer.

Expiry

Queue starts within 30 seconds and scanning takes at most 75 seconds. Quotes last 120 seconds; Base authorization and Solana blockhash can expire sooner. Recheck before initiation; terminal expired-uncharged jobs never replace their proof. A new scan requires a fresh purchase only after an explicit terminal uncharged outcome. Once settlement may have started, retain the same proof through finality, including after expiry.