# MioDio Meridian x402 Preflight

> MioDio Meridian x402 Preflight is a paid API for AI agents from meridian.miodiollc.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-12-02).

Inspects an unpaid x402-gated HTTPS URL to retrieve its payment requirements, accepted tokens, and compliance flags before an agent signs or pays anything.

## Facts

- Endpoint: GET https://meridian.miodiollc.com/v1/x402-preflight?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/miodio-meridian-x402-preflight-59cae4f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OzHrLKKPWYr_1KJkjU8YU

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 miodio-meridian-x402-preflight-59cae4f9
```

Example prompt: Before my agent pays anything, can you run a Meridian x402 preflight on https://api.example.com/premium-data to check what tokens it accepts, whether it's a valid x402 resource, and if there are any OFAC flags?

## When to prefer this

Use this endpoint when an AI agent needs to safely inspect an x402-gated resource before committing to payment or signing a transaction. It is the right choice when you want to discover accepted tokens, validate x402 header compliance, screen counterparty addresses against OFAC SDN, or detect HTTP anomalies (redirects, errors) on the target — all without spending funds on the target resource itself. Prefer it over blind payment attempts whenever the agent lacks prior knowledge of the endpoint's payment parameters or trustworthiness.

## Known failure modes

- 400 invalid_url: malformed or non-HTTPS URL submitted; charged after payment but no settlement
- 402 unpaid: request made without valid x402 payment; no validation performed
- 503 upstream_unavailable: target URL unreachable due to DNS failure, timeout, connection refused, or TLS error; not charged
- Partial result (status: partial): target returned an unexpected HTTP response (200 without 402 headers, 404, 500, oversized body); charged but analysis may be incomplete
- OFAC SDN data may be stale if list_updated_at is old

## How this service works

Pre-sign check: agents call Meridian before they sign. MioDio Meridian x402 seller preflight (~$0.005 USDC Exact on Base). Informational, not advice. 400 invalid_url after pay (no settle); 402 unpaid before validation. Unreachable (DNS, timeout, connection refused, TLS failure): 503 upstream_unavailable, not charged. Any HTTP response from the target (500, 404, 302, 200 with no 402, oversize body) is a charged 200 with status partial or parsed result. Terms: https://meridian.miodiollc.com/terms

## Output

A structured preflight card (status: ok or partial) containing: x402 validity and version, accepted payment assets with OFAC SDN match results per address, HTTP status code and any redirect location, a bazaar listing lookup if available, and an array of warning/error flags. If the target is unreachable (DNS, timeout, TLS failure) a 503 is returned and no charge is applied. If the URL is malformed a 400 is returned after payment. Any reachable HTTP response (including 200, 404, 500, or non-x402) results in a charged 200 with a partial or full parsed result.

## 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": {
      "url": {
       "type": "string",
       "description": "Absolute https URL (port 443) of the unpaid x402 resource to inspect, ≤ 2048 characters. Fetched once; never paid. Unpaid probes without url still 402."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "product",
      "card",
      "version",
      "status",
      "as_of",
      "url",
      "disclaimer",
      "http",
      "x402",
      "accepts",
      "bazaar",
      "flags"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "card": {
       "type": "string",
       "const": "x402_preflight"
      },
      "http": {
       "type": "object",
       "properties": {
        "status": {
         "type": [
          "integer",
          "null"
         ]
        },
        "location": {
         "type": [
          "object",
          "null"
         ],
         "properties": {
          "untrusted_url": {
           "type": "string"
          }
         }
        },
        "redirected": {
         "type": "boolean"
        }
       }
      },
      "x402": {
       "type": "object",
       "properties": {
        "valid": {
         "type": "boolean"
        },
        "version": {
         "enum": [
          1,
          2,
          null
         ],
         "type": [
          "integer",
          "null"
         ]
        },
        "resource": {
         "type": [
          "object",
          "null"
         ],
         "properties": {
          "url": {
           "type": "string"
          }
         }
        }
       }
      },
      "as_of": {
       "type": "string"
      },
      "flags": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "bazaar": {
       "type": "object",
       "properties": {
        "note": {
         "type"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/miodio-meridian-x402-preflight-59cae4f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from meridian.miodiollc.com](https://www.zero.xyz/host/meridian.miodiollc.com/llms.txt)
