{"uid":"cap_6PF1AqW-KjSNek4IqlGSQ","slug":"writerslogic-score-state-verifier-5130a952","name":"WritersLogic Score State Verifier","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/score-state?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"golf":{"type":"object","properties":{"claim":{"type":"object","properties":{"handicapIndex":{"type":"number","description":"Claimed Handicap Index."},"scoreDifferential":{"type":"number","description":"Claimed Score Differential."}},"additionalProperties":false},"round":{"type":"object","required":["courseRating","slopeRating"],"properties":{"pcc":{"type":"number","maximum":3,"minimum":-1,"description":"Playing Conditions Calculation adjustment, -1.0 to +3.0 (Rule 5.1a). Default 0."},"holes":{"type":"array","items":{"type":"object","required":["par","gross","strokes"],"properties":{"par":{"type":"integer","maximum":6,"minimum":3,"description":"Hole par."},"gross":{"type":"integer","maximum":30,"minimum":1,"description":"Gross strokes."},"strokes":{"type":"integer","maximum":4,"minimum":-2,"description":"Handicap strokes received (negative for a plus handicap)."}},"additionalProperties":false},"maxItems":18,"description":"Exactly 18 holes; each score is limited to net double bogey (par + 2 + strokes), or par + 5 before a Handicap Index exists."},"holesPlayed":{"enum":[9,18],"type":"integer","description":"Default 18. 9 returns unsupported."},"slopeRating":{"type":"integer","maximum":155,"minimum":55,"description":"Slope Rating."},"courseRating":{"type":"number","maximum":90,"minimum":20,"description":"Course Rating."},"indexEstablished":{"type":"boolean","description":"Default true. False: limit holes to par + 5 (Rule 3.1a)."},"adjustedGrossScore":{"type":"integer","maximum":300,"minimum":18,"description":"18-hole adjusted gross score. Give this or holes."}},"additionalProperties":false},"differentials":{"type":"array","items":{"type":"number","maximum":80,"minimum":-20,"description":"A Score Differential."},"maxItems":40,"minItems":1,"description":"Scoring record, oldest first; the most recent 20 are used."},"lowHandicapIndex":{"type":"number","maximum":54,"minimum":-10,"description":"Low Handicap Index (365 days), used only to detect that the soft cap would apply."}},"description":"For sport=golf: a round, a list of differentials, or both.","additionalProperties":false},"sport":{"enum":["tennis","golf","cricket"],"type":"string","description":"Selects which block below is read."},"tennis":{"type":"object","required":["points"],"properties":{"noAd":{"type":"boolean","description":"Appendix VI No-Ad: a deciding point at deuce. Default false."},"claim":{"type":"object","properties":{"games":{"type":"array","items":{"type":"integer","maximum":20,"minimum":0,"description":"games or sets"},"maxItems":2,"minItems":2,"description":"Games in the current set [a, b] (0-0 after a set ends)."},"server":{"enum":["a","b"],"type":"string","description":"Who serves the next point."},"winner":{"enum":["a","b"],"type":"string"},"setsWon":{"type":"array","items":{"type":"integer","maximum":20,"minimum":0,"description":"games or sets"},"maxItems":2,"minItems":2,"description":"Sets won [a, b]."}},"description":"Optional claims to verify against the replay.","additionalProperties":false},"bestOf":{"enum":[3,5],"type":"integer","description":"Default 3."},"points":{"type":"string","maxLength":2000,"minLength":1,"description":"Point winners from the first point of the match, one character each: \"a\" or \"b\" (players, not server/receiver). Up to 2000."},"finalSet":{"enum":["tiebreak","advantage","super-tiebreak-10"],"type":"string","description":"tiebreak (default): 7-point tie-break at 6-6 in every set. advantage: no tie-break in the final set. super-tiebreak-10: a 10-point tie-break replaces the final set (Appendix VI)."},"firstServer":{"enum":["a","b"],"type":"string","description":"Who serves the first game. Default a."}},"description":"For sport=tennis.","additionalProperties":false},"cricket":{"type":"object","required":["events"],"properties":{"claim":{"type":"object","properties":{"runs":{"type":"integer","minimum":0,"description":"Claimed total runs."},"overs":{"type":"string","maxLength":8,"description":"Claimed overs.balls, for example \"3.4\"."},"maidens":{"type":"integer","maximum":200,"minimum":0,"description":"Claimed maiden overs."},"wickets":{"type":"integer","maximum":10,"minimum":0,"description":"Claimed wickets."},"validBalls":{"type":"integer","maximum":1200,"minimum":0,"description":"Claimed valid balls bowled."},"inningsOver":{"type":"boolean","description":"Claimed that the innings has ended (needs maxOvers or all wickets down)."}},"additionalProperties":false},"events":{"type":"array","items":{"type":"object","required":["type"],"properties":{"runs":{"type":"integer","maximum":12,"minimum":0,"description":"ball: runs scored. wide/noball: runs in addition to the 1-run penalty. Default 0."},"type":{"enum":["ball","wide","noball","dead"],"type":"string","description":"ball: a valid delivery. wide / noball: delivery that does not count (Laws 21, 22). dead: called dead before the striker could play it (Law 17.3.2.1)."},"wicket":{"type":"boolean","description":"A batter was dismissed on this delivery."},"runsKind":{"enum":["bat","bye","legbye"],"type":"string","description":"Whose runs: default bat. Not for wides."}},"additionalProperties":false},"maxItems":1000,"minItems":1,"description":"Deliveries in order."},"maxOvers":{"type":"integer","maximum":200,"minimum":1,"description":"Innings limit in overs, if any."},"maxWickets":{"type":"integer","maximum":10,"minimum":1,"description":"Wickets that end the innings. Default 10."}},"description":"For sport=cricket: one innings, ball by ball.","additionalProperties":false}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GWdr-2AD0qnmUvjLiPpad","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Replays and verifies tennis point sequences, golf score differentials/handicap indexes (WHS), or cricket innings tallies ball by ball, and optionally checks claimed scores for legality","exampleAgentPrompt":"Can you verify this golf round for me? Course Rating 71.4, Slope Rating 128, PCC 0, 18 holes played, Low Handicap Index is 12.5, here are the 20 differentials in my scoring record: [14.2, 13.8, 15.1, 12.9, 13.5, 14.0, 12.1, 13.3, 15.5, 14.7, 13.0, 12.8, 14.4, 13.6, 12.5, 15.0, 13.2, 14.1, 12.3, 13.9] — the player claims a Score Differential of 11.2 and a Handicap Index of 12.1, check if those are correct.","exampleUseCases":[{"title":"Verify claimed tennis match score","prompt":"I have a point-by-point sequence for a best-of-3 tennis match and the player claims the final score was 6-4, 7-6 — can you replay the sequence using ITF rules with no-ad scoring in the first set, standard deuce in the second, and check if that result is correct and who was serving at each game?"},{"title":"Compute golf handicap from scoring record","prompt":"Compute the WHS Handicap Index for a golfer whose 20 most recent Score Differentials (oldest first) are 15.2, 14.8, 16.0, 13.9, 15.5, 14.1, 13.5, 16.2, 14.3, 15.0, 13.8, 14.6, 15.9, 13.2, 14.5, 16.1, 13.7, 15.3, 14.0, 13.4 — their Low Handicap Index over the past 365 days is 13.0, and they claim their new Handicap Index is 13.8."},{"title":"Tally cricket innings ball by ball","prompt":"Tally this cricket innings for me ball by ball — I have the full delivery sequence including wides, no-balls, and wickets, and I want to know the final overs count in overs.balls format, total runs, maiden overs, and wickets fallen; the batting side claims they scored 187 runs for 6 wickets in 38.4 overs, please verify that."}],"resultDescription":"Returns the verified final score or state (game score, serve, Handicap Index, Score Differential, innings totals), ball/point by ball/point tally, and if a claim was submitted, identifies whether it is correct or names the first illegal point or delivery. Returns 'unsupported' or 'unknown' for features outside scope such as WHS caps, 9-hole scores, cricket penalty runs, or non-standard tennis variants.","failureModes":["Missing required fields (courseRating, slopeRating) return a validation error","Hole arrays not containing exactly 18 entries cause an error","Score differentials outside the -20 to 80 range are rejected","Requesting 9-hole handicap calculations returns unsupported","Tennis variants beyond No-Ad and final-set options return unsupported","Cricket penalty runs return unsupported","WHS soft/hard cap or exceptional-score reductions return unknown","Malformed point or delivery sequence causes replay failure"],"whenToPreferThis":"Use this endpoint when an AI agent needs to independently verify or replay a reported sports score rather than simply accept it at face value. It is the right choice for tennis score verification with ITF rules, WHS-compliant golf handicap and Score Differential computation, or cricket innings tallying with over/wide/no-ball/wicket tracking. Prefer it over general-purpose LLM reasoning when deterministic, rule-based correctness is required. Not suitable for sports outside tennis, golf, and cricket, or for WHS features like soft/hard caps, exceptional-score reductions, or 9-hole expected scores.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T00:32:56.995Z","isFirstParty":false,"canonicalSlug":"writerslogic-score-state-verifier-5130a952"}