{"uid":"cap_xCjKREa1eqBfcjPlTpCfw","slug":"pre-trade-cost-commitment-verification-standard-4c8f3563","name":"Pre-Trade Cost Commitment Verification Standard","description":"Deterministic procedure for agents that buy financial analysis or quotes over x402 v2 payments before the analysis may influence a trade decision. Covers: offered-versus-charged price conformance, token and network checks against the quote, quote freshness limits, and settlement-evidence binding to the exact purchase. Outputs a pass, a conditional pass with evidence, or a refusal with the failing check named. Run before paying, not after.","url":"https://k2so.wrong.systems/api/services/pre-trade-cost-commitment-verification-for-marke?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Pre-trade cost commitment verification standard paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"pre-trade-cost-commitment-verification-for-marke","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"pre-trade-cost-commitment-verification-for-marke","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-xOXuJu92E39aWNYckcO5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deterministically verifies that a financial analysis or quote purchase via x402 v2 payments is price-conformant, token/network-valid, fresh, and settlement-bound before influencing any trade decision.","exampleAgentPrompt":"Before we act on this market analysis I just bought over x402, run the pre-trade cost commitment verification — check that the price charged matches the quote, the token and network are correct, the quote is still fresh, and the settlement is bound to this exact purchase. Give me a pass, conditional pass, or refusal with the specific failing check named.","exampleUseCases":[{"title":"Pre-trade quote price conformance check","prompt":"I just paid for a stock quote via x402 and I want to confirm the amount charged exactly matches what was offered before I use it to make a trade decision — can you run the pre-trade cost commitment verification and tell me if it passes?"},{"title":"Settlement evidence binding audit","prompt":"Before my agent acts on this paid financial analysis, verify that the settlement evidence is properly bound to this exact purchase and that the quote hasn't expired — give me a verdict with the failing check named if anything's wrong."},{"title":"Token and network validity before trade execution","prompt":"Check that the token and network in the x402 payment for this market analysis match what was quoted, and tell me whether it's safe to proceed with the trade or if I should refuse based on a specific failed check."}],"resultDescription":"Returns a JSON object with a boolean 'ok' field, a 'paid' flag, and a 'result' object containing: a boolean success indicator, a 'brief' string with decision procedure prose for agents, the service slug, the topic, generation source (llm/reasoning/deterministic), and an ISO-8601 timestamp. On failure, the specific failing check is named. The verdict is one of: pass, conditional pass with evidence, or refusal.","failureModes":["Price mismatch between offered and charged amount — returns refusal with 'price-conformance' check named","Token or network in payment does not match the quote — returns refusal with 'token-network' check named","Quote has exceeded freshness limits — returns refusal with 'quote-freshness' check named","Settlement evidence not bound to the exact purchase — returns refusal with 'settlement-binding' check named","Payment not detected or unpaid — returns 402 response requiring payment before verification proceeds","Malformed input parameters — returns validation error"],"whenToPreferThis":"Use this endpoint when an AI agent is about to act on financial analysis or a market quote that was purchased via x402 v2 payments, and you need a deterministic, auditable gate — not a probabilistic heuristic — before the purchased content influences any trade decision. Prefer this over generic payment validators when you specifically need offered-vs-charged price conformance, token/network validation against the quote, quote freshness enforcement, and settlement-evidence binding all checked atomically in one call, and you need a named failing check for auditability rather than just a boolean result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T07:28:18.535Z","isFirstParty":false,"canonicalSlug":"pre-trade-cost-commitment-verification-standard-4c8f3563"}