# Grey Ridge Signals x402 Endpoint Certification API

> Grey Ridge Signals x402 Endpoint Certification API is a paid API for AI agents from x402-data-api.sigrunner.workers.dev, paid per call via x402, $1/call, status unknown (last checked 2026-11-18).

Audits and certifies an x402 pay-per-call API endpoint, returning a signed certificate with grade, tier breakdown, and embeddable badge.

## Facts

- Endpoint: GET https://x402-data-api.sigrunner.workers.dev/x402/cert?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/grey-ridge-signals-x402-endpoint-certification-api-2de39f05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-0xGAxMTZarn36CRe9-ED

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability grey-ridge-signals-x402-endpoint-certification-api-2de39f05
```

Example prompt: Can you audit and certify my x402 endpoint at https://seller.example/data — the catalog advertises $0.01 per call — and give me the signed certificate with an embeddable badge?

## When to prefer this

Use this endpoint when you need a signed, verifiable trust certificate for an x402 pay-per-call API — particularly before listing it on a discovery marketplace, embedding a trust badge in documentation, or when a consuming agent needs machine-readable proof that an endpoint is live, correctly priced, and safe. It is the only endpoint in the Grey Ridge Signals ecosystem specifically designed for certifying other x402 endpoints rather than consuming data from them.

## Known failure modes

- Missing or invalid 'url' query parameter returns an error
- Endpoint under audit is unreachable — certificate not issued, live tier fails
- Advertised price does not match live 402 charge — price_accurate tier fails
- Settlement tx hash does not reconcile against payTo address — on-chain badge not awarded
- Endpoint fails injection safety checks — injection_safe tier fails
- Endpoint returns non-402 response — certificate may be downgraded or not issued
- Rate limiting or Cloudflare Worker errors returning 5xx

## How this service works

Pay-per-call market & on-chain data for Base trading agents over x402: live DeFi yields, cross-venue funding rates, token prices, Polymarket and RPC data — plus a pre-trade token-safety gate (GO/HOLD/BLOCK). No account, no API key; agents pay inline in USDC from $0.001/call.

## Output

A signed JSON certificate object containing: a unique cert_id, host/URL audited, issued_at and expires_at timestamps, a grade string (e.g. 'deep-verified'), a verdict (e.g. 'PAY'), boolean tier results for live/reliable/price_accurate/delivery_specified/injection_safe/payto_clear, depth_passed/depth_total counts, an HMAC-SHA256 signature, and a badge_embed_markdown string for README or docs embedding. Also includes a verify_url and valid_days integer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "tx": {
       "type": "string",
       "description": "optional: a real Base settlement tx hash for a paid call to this endpoint — reconciled dual-RPC against your live-advertised payTo to earn the on-chain 'settlement-proven' badge a liveness-only cert cannot"
      },
      "url": {
       "type": "string",
       "description": "your absolute https x402 endpoint URL to audit and certify"
      },
      "advertised": {
       "type": "string",
       "description": "optional: the price (USDC dollars) your catalog quoted — the audit verifies the live charge matches it"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "issued",
      "certificate",
      "badge_embed_markdown",
      "verify_url",
      "valid_days"
     ],
     "properties": {
      "issued": {
       "type": "boolean"
      },
      "valid_days": {
       "type": "integer"
      },
      "verify_url": {
       "type": "string"
      },
      "certificate": {
       "type": "object",
       "required": [
        "cert_id",
        "host",
        "url",
        "issued_at",
        "expires_at",
        "verdict",
        "depth_passed",
        "depth_total",
        "grade",
        "tiers",
        "sig",
        "issuer"
       ],
       "properties": {
        "sig": {
         "type": "string"
        },
        "url": {
         "type": "string"
        },
        "host": {
         "type": "string"
        },
        "grade": {
         "type": "string"
        },
        "tiers": {
         "type": "object",
         "required": [
          "live",
          "reliable",
          "price_accurate",
          "delivery_specified",
          "injection_safe",
          "payto_clear"
         ],
         "properties": {
          "live": {
           "type": "boolean"
          },
          "reliable"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "issued": true,
  "valid_days": 30,
  "verify_url": "https://api.greyridgesignals.ai/x402/cert/verify?id=grsg-0123456789abcdef0123",
  "certificate": {
   "sig": "<hmac-sha256-hex>",
   "url": "https://seller.example/data",
   "host": "seller.example",
   "grade": "deep-verified",
   "tiers": {
    "live": true,
    "reliable": true,
    "payto_clear": true,
    "injection_safe": true,
    "price_accurate": true,
    "delivery_specified": true
   },
   "issuer": "did:web:api.greyridgesignals.ai",
   "cert_id": "grsg-0123456789abcdef0123",
   "verdict": "PAY",
   "issued_at": "2026-11-03T00:00:00.000Z",
   "expires_at": "2026-12-03T00:00:00.000Z",
   "depth_total": 6,
   "depth_passed": 6
  },
  "badge_embed_markdown": "![x402 deep-certified](https://img.shields.io/endpoint?url=...%2Fx402%2Fcert%2Fbadge%3Furl%3D...)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/grey-ridge-signals-x402-endpoint-certification-api-2de39f05/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api.sigrunner.workers.dev](https://www.zero.xyz/host/x402-data-api.sigrunner.workers.dev/llms.txt)
