Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: NegativeEV bet checker Usage API
version: 1.4.5
summary: Grade MLB, WNBA, PGA, ATP, and NFL bets against play-by-play game simulations.
description: 'NegativeEV runs the actual game thousands of times, play by play, and compares how often a bet would have won with the probability the sportsbook''s price implies. Bets are graded through the MCP or A2A endpoint below; the two GET endpoints report whether there is a slate to grade against and how many checks the caller has left. Anonymous callers are metered per device; a Supabase access token sent as `Authorization: Bearer` raises the allowance.'
termsOfService: https://negativeev.com/terms
contact:
name: NegativeEV
url: https://negativeev.com/contact
servers:
- url: https://negativeev.com
security:
- {}
- supabaseBearer: []
- agentKey: []
tags:
- name: Usage
paths:
/usage:
get:
operationId: getUsage
summary: Checks remaining for this caller
responses:
'200':
description: The caller's allowance and what is left of it.
content:
application/json:
schema:
$ref: '#/components/schemas/Usage'
example:
authed: false
limit: 10
used: 0
remaining: 10
reset_in: 0
'500':
description: The request failed before a response could be produced. Safe to retry.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
tags:
- Usage
components:
schemas:
Usage:
type: object
title: Caller allowance
description: How many checks this caller has left in the current window. Anonymous callers are metered per device per day; a signed-in caller per hour.
required:
- authed
- limit
- used
- remaining
- reset_in
properties:
authed:
type: boolean
description: Whether the call carried a valid bearer token.
limit:
type: integer
description: Checks allowed in the window.
used:
type: integer
description: Checks spent in the window so far.
remaining:
type: integer
description: Checks still available.
reset_in:
type: integer
description: Seconds until the window resets.
Problem:
type: object
title: Problem details (RFC 9457)
description: What a wrong path or an unhandled failure answers with, in the shape RFC 9457 defines, served as application/problem+json.
required:
- type
- title
- status
- detail
properties:
type:
type: string
format: uri
description: Problem type URI. `about:blank` means the status code is the whole story.
examples:
- about:blank
title:
type: string
description: Short human-readable summary of the problem type.
examples:
- Not Found
status:
type: integer
description: The HTTP status code, repeated in the body.
examples:
- 404
detail:
type: string
description: What went wrong on this specific request.
instance:
type: string
description: The path the problem occurred on.
examples:
- /a2a/nope
securitySchemes:
supabaseBearer:
type: http
scheme: bearer
bearerFormat: JWT
description: Supabase access token. See https://negativeev.com/auth.md.
agentKey:
type: http
scheme: bearer
bearerFormat: nev_ agent key
description: An agent key minted at POST /keys by a signed-in member. Carries that account's membership and allowance. See https://negativeev.com/auth.md.
externalDocs:
description: Guide for agents
url: https://negativeev.com/AGENTS.md