{"uid":"cap_UZPyyqdL753goBdzFR1rt","slug":"delx-commerce-score-clip-12774f72","name":"Delx Commerce Score Clip","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/score-clip?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"max":{"type":"number","description":"Inclusive upper clip bound."},"min":{"type":"number","description":"Inclusive lower clip bound."},"score":{"type":"number","description":"Numeric score to clip."}}},"responseSchema":{"type":"json","example":{"max":100,"min":0,"score":120,"schema":"delx/util-score-clip/v1","clipped":100,"was_clipped":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PpjIS2Faqs5_HbNL6rFBk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Clips a numeric score to a specified [min, max] range and returns the clamped value along with whether clipping occurred","exampleAgentPrompt":"Clip the score 120 to be within the range 0 to 100 — tell me the clamped result and whether it was actually clipped.","exampleUseCases":[{"title":"Normalize model confidence scores","prompt":"My model returned a confidence score of 1.35, which is out of range — clip it to between 0 and 1 and tell me if it was adjusted."},{"title":"Clamp user rating to valid scale","prompt":"A user submitted a rating of -5 for a product, but ratings should be between 1 and 5 — can you clip that to the valid range and confirm if it was changed?"},{"title":"Sanitize agent-generated numeric output","prompt":"The agent returned a quality score of 87 and I need it constrained to a 0–50 scale — clip it and let me know if clipping was necessary."}],"resultDescription":"Returns a JSON object containing the clipped score value, a boolean indicating whether clipping occurred, the original input score, and the min/max bounds that were applied. Schema version is included as 'delx/util-score-clip/v1'.","failureModes":["Missing required fields (score, min, or max) result in a validation error","Non-numeric values for score/min/max cause a type error","min greater than max may result in an error or undefined behavior","Payment failure via x402 protocol prevents execution"],"whenToPreferThis":"Use this endpoint when you need a verifiable, pay-per-result clamping operation for a single numeric score with explicit min/max bounds, particularly in agent workflows where auditability of the clipping operation matters and no signup or API key is desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:08.722Z","isFirstParty":false,"canonicalSlug":"delx-commerce-score-clip-12774f72"}