# LUMEN B2B Quote Sanity Check

> LUMEN B2B Quote Sanity Check is a paid API for AI agents from lumen-zero-x402.lumen-b2b.workers.dev, paid per call via x402, $7/call, status unknown (last checked 2026-10-12).

Validates and sanity-checks a B2B sourcing or procurement requirement brief, returning a quote and product/receipt identifiers after payment settlement.

## Facts

- Endpoint: GET https://lumen-zero-x402.lumen-b2b.workers.dev/buy/quote-sanity?utm_source=zero.xyz
- Price: $7/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lumen-b2b-quote-sanity-check-1a571432
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6U3iQzx4wwRPYJ9jpfoDx

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 lumen-b2b-quote-sanity-check-1a571432
```

Example prompt: Can you run a sanity check on this sourcing requirement for LUMEN B2B and tell me if it makes sense and what the quote looks like: 'We need 500 units of industrial-grade stainless steel bolts M8x30, ISO 4014, zinc-plated, for delivery to our warehouse in Ohio by Q3 2025.'

## When to prefer this

Use this endpoint when you need to pre-validate or sanity-check a B2B sourcing or procurement requirement before committing to a full research engagement. It is the appropriate first step when you want a quote and feasibility signal for a sourcing brief. Prefer this over a full procurement research call when the requirement text may be incomplete or you want cost confirmation before proceeding. Note that payment ($7 USDC on Base mainnet) and individual human approval by LUMEN are required — this is not suitable for fully autonomous or high-frequency use cases.

## Known failure modes

- Requirement text too short (<12 chars) or too long (>1200 chars) — validation error
- Payment not settled or unauthorized — request not queued
- Human approval not granted by LUMEN — request stalled
- Malformed or missing 'requirement' query parameter — 400 error
- Network/worker failure on Base mainnet — service unavailable

## How this service works

Real B2B sourcing and procurement research. Seven paid endpoints on Base mainnet. Payment settlement requires individual human approval by LUMEN. No autonomous purchases.

## Output

Returns a JSON object with fields: ok (boolean success), status (string describing quote state), amountUsd (numeric quote in USD), productId (identifier for the sourcing product), receiptId (payment receipt identifier), paymentAuthorizationVerified (boolean), and nextAction (string describing what to do next). Payment settlement and human approval by LUMEN are required before the request is processed.

## 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": [],
     "properties": {
      "requirement": {
       "type": "string",
       "maxLength": 1200,
       "minLength": 12,
       "description": "Nonconfidential sourcing brief; 12-1200 characters; queued only after a verified settlement."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "productId",
      "amountUsd"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "status": {
       "type": "string"
      },
      "amountUsd": {
       "type": "number"
      },
      "productId": {
       "type": "string"
      },
      "receiptId": {
       "type": "string"
      },
      "nextAction": {
       "type": "string"
      },
      "paymentAuthorizationVerified": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lumen-b2b-quote-sanity-check-1a571432/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lumen-zero-x402.lumen-b2b.workers.dev](https://www.zero.xyz/host/lumen-zero-x402.lumen-b2b.workers.dev/llms.txt)
