{"uid":"cap_Gvr8HljmYQ0GmjF6QAcNk","slug":"delx-commerce-brier-score-calculator-5e4b93a0","name":"Delx Commerce — Brier Score Calculator","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/brier-score?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prob":{"type":"number","description":"Input field: prob."},"outcome":{"type":"integer","description":"Input field: outcome."}}},"responseSchema":{"type":"json","example":{"prob":0.7,"brier":0.09000000000000002,"schema":"delx/util-brier-score/v1","outcome":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UkOz5R5OHnxkbNP4TVH2h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Brier score for a probabilistic forecast given a predicted probability and a binary outcome","exampleAgentPrompt":"Can you calculate the Brier score for a forecast where I predicted a 0.7 probability and the outcome was 1 (it actually happened)?","exampleUseCases":[{"title":"Evaluating weather forecast accuracy","prompt":"I predicted a 70% chance of rain today and it actually rained — can you compute the Brier score to see how good that forecast was?"},{"title":"Scoring a machine learning model prediction","prompt":"My classifier output a probability of 0.3 for a positive label, but the true label turned out to be 0 — what's the Brier score for that prediction?"},{"title":"Benchmarking a sports outcome prediction","prompt":"I gave a 0.85 probability that my team would win, and they actually lost (outcome = 0) — can you tell me the Brier score for my prediction?"}],"resultDescription":"Returns a JSON object containing the input probability, the computed Brier score (a float between 0 and 1 where 0 is perfect), the binary outcome, and a schema identifier ('delx/util-brier-score/v1'). Lower Brier scores indicate more accurate probabilistic forecasts.","failureModes":["Missing required fields (prob or outcome) returns a validation error","Probability value outside [0,1] range may return an error or unexpected result","Outcome value that is not 0 or 1 (binary) may cause a computation error","Payment failure (insufficient USDC balance) returns a 402 Payment Required","Network timeout on slow connections"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.001 USDC), pay-per-call Brier score computation with no signup or API key — ideal for agents that need to evaluate probabilistic forecasts inline without standing up their own scoring infrastructure. Prefer this over implementing the formula locally when auditability or verifiable delivery of the result matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:00.404Z","isFirstParty":false,"canonicalSlug":"delx-commerce-brier-score-calculator-5e4b93a0"}