{"uid":"cap_vgAJgg-oWcHf7nA7yf313","slug":"delx-brier-score-361e332a","name":"Delx Brier Score","description":"Brier score for a probabilistic forecast vs binary outcome. Call when scoring prediction calibration on resolved markets. Returns brier score in [0,1] as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/brier-score","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_XqjxRlPbFsJKqmwVZcVsy","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":"Calculate the Brier score for a forecast where I predicted a 70% probability and the outcome was 1 (it happened).","exampleUseCases":[{"title":"Evaluating weather model calibration","prompt":"I predicted a 0.8 probability of rain today and it actually rained — what's the Brier score for that forecast?"},{"title":"Scoring ML classifier predictions","prompt":"My binary classifier output a probability of 0.3 for this sample but the true label was 1. Can you compute the Brier score to see how bad that prediction was?"},{"title":"Benchmarking prediction market accuracy","prompt":"I made a forecast with 0.55 probability that an event would happen, and it didn't. Give me the Brier score so I can track my prediction accuracy over time."}],"resultDescription":"Returns a JSON object containing the input probability, the binary outcome, and the computed Brier score (a float between 0 and 1 where lower is better), along with a schema identifier string.","failureModes":["Missing required 'prob' field returns a validation error","'prob' value outside [0,1] range may produce mathematically invalid results","'outcome' must be 0 or 1; other integer values may cause unexpected scoring","Malformed request body returns a 400 or 422 error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call Brier score computation without setting up local statistical libraries. Ideal for agents that periodically evaluate forecast quality inline, score individual predictions in real time, or need a stateless, dependency-free scoring step in a larger pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:50.440Z","isFirstParty":false}