x402 Validate vs Discovery Checker

A resource can pass Coinbase CDP validate=true and still be absent from Bazaar discovery until the first real settlement, and it is unclear whether a USDC-on-Base payment also needs ETH for gas. $0.002 per call, USDC via x402 or MPP. Calls the official CDP validate endpoint and the discovery lookup for an exact resource URL, reports whether a first settlement is still required, and states that the payer signs EIP-3009 while the facilitator submits and pays gas. An empty call uses a documented public demo resource.

No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.

Routes

RoutePriceWhat you get
POST /v1/x402/status$0.002x402 Validate vs Discovery Checker
A resource can pass Coinbase CDP validate=true and still be absent from Bazaar discovery until the first real settlement, and it is unclear whether a USDC-on-Base payment also needs ETH for gas. $0.002 per call, USDC via x402 or MPP. Calls the official CDP validate endpoint and the discovery lookup for an exact resource URL, reports whether a first settlement is still required, and states that the payer signs EIP-3009 while the facilitator submits and pays gas. An empty call uses a documented public demo resource.

Copy-paste examples

These call POST /v1/x402/status ($0.002) — x402 Validate vs Discovery Checker. Swap the path for any other route in the table.

mppx CLI

npx mppx https://x402-validate-vs-discovery.fmf-x402.workers.dev/v1/x402/status -X POST -H 'content-type: application/json' -d '{"resource":"https://www.x402.org/","network":"eip155:8453"}'

The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.

curl (unpaid — shows the 402, not charged)

curl -i -X POST https://x402-validate-vs-discovery.fmf-x402.workers.dev/v1/x402/status -H 'content-type: application/json' -d '{"resource":"https://www.x402.org/","network":"eip155:8453"}'

TypeScript SDK (mppx)

import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

Mppx.create({
  methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})

// Global fetch now pays the 402 automatically.
const res = await fetch('https://x402-validate-vs-discovery.fmf-x402.workers.dev/v1/x402/status', {
  method: 'POST',  headers: {
    'content-type': 'application/json',
  },
  body: JSON.stringify({"resource":"https://www.x402.org/","network":"eip155:8453"}),
})
console.log(await res.json())

Python SDK (pympp)

# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo

account = TempoAccount.from_key("0x...")

async def main():
    async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
        response = await mpp.fetch("https://x402-validate-vs-discovery.fmf-x402.workers.dev/v1/x402/status", method="POST", json={"resource":"https://www.x402.org/","network":"eip155:8453"})
        print(await response.json())

asyncio.run(main())

MCP config (Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "fmf-mpp-x402-validate-vs-discovery": {
      "url": "https://x402-validate-vs-discovery.fmf-x402.workers.dev/mcp"
    }
  }
}

Transport is Streamable HTTP at https://x402-validate-vs-discovery.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.

Sources and licences

Operated by FMF Tools (fmf-tools@agentmail.to). Pay-per-call only; no API key and no account. Invalid input or an upstream failure returns 402 and is not charged.

Sister services