Lumière PayCheck

v1.10.0
io.github.Book0fEli/paycheck Checked 11 hours ago Published 21 days ago

Check x402 endpoints before your AI agent pays: grades, payment checks, refunds, receipts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_endpoint Check an x402 endpoint

Get the trust verdict for one x402 endpoint: score (0-100), grade (A-F), and verdict (proceed, caution, avoid, free, or insufficient_data), plus uptime, delivery-test status, payout-wallet incidents, and how many independent buyers stand behind the seller's buyer wallets (we count customers, not wallets). Use it when you're deciding whether an endpoint is trustworthy at all, before you have a price quote. When you already have the 402 quote (amount and payTo) and are about to pay, use check_payment instead: it runs this same check and also verifies the price and wallet. To discover good endpoi…

ParameterTypeDescription
url *stringFull URL of the x402 endpoint including path, exactly as the agent will call it, e.g. https://api.example.com/v1/price.

check_payment Check an x402 payment before paying

Decide whether a specific x402 payment should go through: returns allow true/false with reasons. Checks the endpoint's trust verdict, that the amount is within your cap and not above the monitored price, and that the payTo wallet matches the one we've observed (catches swapped or hijacked wallets). Optionally (minOrganicShare) it also requires that enough of the seller's volume comes from independent buyers. Intended for right before a payment, with the amount, payTo, and network from the endpoint's 402 quote; allow is true only when every rule passes. Use check_endpoint instead if you only wa…

ParameterTypeDescription
url *stringFull URL of the x402 endpoint you are about to pay, including path
allowCautionbooleanfalse = deny endpoints with a caution verdict too, not just avoid (default true)
amountstringAmount about to be paid, atomic units (USDC has 6 decimals: 10000 = $0.01)
hasAccessbooleantrue if you have your own account, API key or sign-in with this seller. For endpoints that need the seller's sign-in on top of x402, allowCaution/requireVerified then don't block (we couldn't confirm…
maxAmountstringYour hard cap for this payment in atomic units (USDC: 1000000 = $1). Payments above it are denied.
minOrganicSharenumberOptional, 0-1: deny sellers where less than this share of 30-day volume comes from independent buyers (e.g. 0.5). Not applied to sellers whose buyers haven't been reviewed yet.
networkstringNetwork from the quote, e.g. eip155:8453
pauseDuringRetestbooleantrue = deny while our latest paid test of this endpoint failed and its re-test (about 2 hours later) hasn't run yet (default false: allowed, with a note and a retest field)
payTostringWallet address from the endpoint's 402 quote
requireVerifiedbooleantrue = only allow endpoints that delivered on a real test payment (default false)

report_outcome Report how a paid x402 call went

After paying an x402 endpoint, report whether you got what you paid for. Free, optional, and open to every agent: send the receipt from a Lumière PayCheck allow decision (paid plans), or the endpoint url plus the payment's transaction hash (anyone; we verify the payment on-chain, Base or Solana, within 24 hours). Answer the short questions in answers: gotResponse, matchedListing (yes/partly/no), charged (as_quoted/more/twice), dataUsable (yes/unsure/no), wouldPayAgain. Reports never change a grade by themselves: confirmations from independent buyers move the endpoint up our paid-test queue, a…

ParameterTypeDescription
answersobject
httpStatusintegerHTTP status the endpoint returned after payment, e.g. 200 or 500
outcomestringOptional shortcut instead of answers: delivered = usable; problem = error, empty, wrong or overcharged
problemsarrayShort descriptions, e.g. 'missing field price', 'HTTP 500'
receiptstringThe receipt from a Lumière PayCheck 'allow' decision (paid plans). Or send url + tx instead.
txstringThe payment's transaction hash (Base 0x...) or Solana signature
urlstringThe endpoint you paid (with tx, when you have no receipt)

top_endpoints Most trustworthy x402 endpoints

List the x402 endpoints that are currently safest to pay (verdict proceed or caution, no payout-wallet incidents), best first, with score, grade, verdict, and whether a real test payment was delivered. Use it to discover reliable endpoints or pick between providers. To evaluate one specific endpoint use check_endpoint; to approve a payment use check_payment. Read-only and free; rankings update as monitoring runs (every 30 minutes).

ParameterTypeDescription
limitintegerHow many endpoints to return, 1-50 (default 10)

catalog_stats x402 catalog statistics

Get an overview of the whole monitored x402 catalog: how many endpoints are monitored, how many fall into each verdict (proceed, caution, avoid, free, insufficient_data), and when scores were last computed. Use it for context or reporting, for example to tell a user how much of the x402 ecosystem passes checks. It says nothing about any single endpoint: use check_endpoint for one endpoint, top_endpoints for a ranked list, or check_payment before paying. Read-only, free, no parameters.

list_sellers List x402 sellers by verdict

List the sellers behind the monitored x402 endpoints, grouped by domain, with each seller's endpoint count, verdict mix (proceed, caution, avoid, free, insufficient_data, bulk_listing), passing and paid-tested counts, and best grade. Use it to find which providers have trustworthy endpoints, search a provider by domain, or see who has endpoints to avoid. Open one seller's endpoints with seller_endpoints; for a single endpoint use check_endpoint. Read-only and free; the same data as lumierepaycheck.org/sellers, refreshed every few minutes.

ParameterTypeDescription
includeBulkbooleanInclude sellers listing thousands of near-identical endpoints (default true)
limitintegerSellers per page, 1-50 (default 20)
offsetintegerSkip this many sellers, for paging (default 0)
querystringPart of a seller's domain to search for, e.g. 'weather' or 'x402node.dev'
sortstringOrder: most endpoints (default), most passing, most paid-tested, most to avoid, or by name
verdictstringOnly sellers with at least one endpoint in this verdict (sorted by how many they have in it)

seller_endpoints One seller's x402 endpoints

List one seller's monitored x402 endpoints with each one's grade, score, verdict, 7-day uptime, median response time, whether a real test payment was delivered, and how many checks it's based on, plus the seller's counts per verdict and its refund record (how many of our failed paid calls it refunded in the last 30 days). Use it after list_sellers to pick the best endpoint from a provider, or to see which of a seller's endpoints to avoid. For the full reasons behind one endpoint's grade use check_endpoint. Read-only and free; 50 endpoints per page at most.

ParameterTypeDescription
host *stringThe seller's domain, e.g. api.example.com (a full URL works too)
limitintegerEndpoints per page, 1-50 (default 50)
offsetintegerSkip this many endpoints, for paging (default 0)
querystringPart of the endpoint URL to search for, e.g. a path like '/weather'
sortstringOrder: by URL (default), best score first, or worst score first
verdictstringOnly endpoints with this verdict

paid_test_receipts Signed paid-test receipts

Get the signed receipts for our real test payments to one x402 endpoint: the exact payment terms we paid and the response we got (as SHA-256 hashes), amount quoted and paid, payout wallet, HTTP status, result and time, signed with our published Ed25519 key. Use it when a user or agent wants evidence behind a grade instead of the grade alone; check_endpoint gives the grade itself. The tester wallet and transaction appear only after that test wallet is retired (until then a hash commits to them). Read-only and free; receipts exist for tests since Nov 7, 2026.

ParameterTypeDescription
url *stringFull URL of the x402 endpoint, including path
limitintegerHow many receipts, newest first, 1-50 (default 10)

reliability_report x402 reliability report

Get the live x402 reliability numbers from our own paid tests over the last 30 days: how many endpoints delivered once paid, how often payments didn't go through, how many bad calls still charged the buyer and how many were refunded, why paid calls fail, what calls cost, and the sellers that refund failed calls. Includes the same numbers from about 30 days earlier when available. Use it to answer questions about x402 reliability as a whole or which sellers refund; for one endpoint use check_endpoint, for one seller seller_endpoints. Read-only and free; recomputed every 6 hours. The same data i…

ParameterTypeDescription
refundersintegerHow many sellers that refund to list, most refunds first (default 10)

get_full_report How to get a full trust report

Get instructions for buying the detailed paid report on one x402 endpoint (score breakdown, current price quote, wallet and price history, test-payment results). Returns the report URL, price, and network; it doesn't buy the report itself. The report is an x402 endpoint that your agent pays with any x402 client. Use it only when the free check_endpoint result isn't enough and the user wants the full history. The response also lists the other paid x402 checks (wallet risk, batch grades, watch alerts), paid the same way. Endpoints we don't monitor return 404 on the report URL and are never charg…

ParameterTypeDescription
url *stringFull URL of the x402 endpoint you want the paid report for, including path