{"uid":"cap_l3SppyvF91Vw1DfCQCZDw","slug":"token-quote-vs-received-amount-threshold-classification-56caff92","name":"Token Quote vs Received Amount – Threshold Classification","description":"Token quote versus received amount — Threshold classification: Threshold classification for Token quote versus received amount. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded threshold classification report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-quote-shortfall-threshold?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["quoted_tokens","received_tokens"],"properties":{"quoted_tokens":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"received_tokens":{"type":"number","default":980,"maximum":10000000000000000,"minimum":0}},"additionalProperties":false},"default":[{"quoted_tokens":1000,"received_tokens":980},{"quoted_tokens":1100,"received_tokens":1078},{"quoted_tokens":1000,"received_tokens":980},{"quoted_tokens":1100,"received_tokens":1078}],"maxItems":200,"minItems":2},"lower":{"type":"number","default":0,"maximum":1000000000000000000,"minimum":-1000000000000000000},"upper":{"type":"number","default":100,"maximum":1000000000000000000,"minimum":-1000000000000000000}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jt_tJlbrbpCSuwpbT3zyv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies whether the shortfall between quoted and received token amounts falls within or outside a caller-defined threshold range, using deterministic calculation.","exampleAgentPrompt":"I have 4 token swap observations — quoted 1000 received 980, quoted 1100 received 1078, quoted 1000 received 980, quoted 1100 received 1078 — can you classify whether the shortfalls fall within a threshold range of 0 to 100 tokens?","exampleUseCases":[{"title":"DEX slippage compliance check","prompt":"I ran a batch of token swaps today and want to know which ones had a shortfall outside my acceptable range. Here are the pairs: quoted 5000 received 4900, quoted 2000 received 1950, quoted 800 received 760. Classify each against a lower bound of 0 and upper bound of 50 tokens."},{"title":"Automated trade quality audit","prompt":"Can you check these 5 token trade results against a threshold range of 0 to 200 — I quoted 10000 and received 9850, quoted 3000 and received 2940, quoted 500 and received 488, quoted 7500 and received 7200, quoted 1200 and received 1180 — and tell me which fall outside the acceptable bounds?"},{"title":"Threshold tuning for swap monitoring","prompt":"I want to see how my swap results classify when I tighten the threshold to between 0 and 30 tokens. Check these observations: quoted 1000 received 975, quoted 2000 received 1960, quoted 1500 received 1510."}],"resultDescription":"A bounded threshold classification report indicating whether the shortfall (quoted minus received tokens) for each observation row falls within or outside the caller-specified lower and upper threshold bounds, computed deterministically from the supplied token pairs.","failureModes":["Fewer than 2 rows supplied returns a validation error","quoted_tokens value of 0 or negative is rejected (exclusiveMinimum)","More than 200 rows supplied exceeds maxItems limit","Lower threshold greater than upper threshold may produce unexpected classification results","Non-numeric token values cause schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, per-row classification of token quote-versus-received shortfalls against a defined numeric range — without requiring live market data, safety analysis, or trade recommendations. Ideal for batch auditing swap results, compliance checks, or automated monitoring pipelines where the threshold logic is caller-defined and consistent.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:46.349Z","isFirstParty":false,"canonicalSlug":"token-quote-vs-received-amount-threshold-classification-56caff92"}