Saltar al contenido

Developers

The MVP Capping API

The same GraphQL API that powers this site, available read-only to Edge subscribers. Query upcoming events and odds, every published model pick with its graded outcome and , and the verified per-model records, for your own analysis and internal tools under our Acceptable Use Policy.

Authentication

Create a personal key on Account → API access and send it as a Bearer token on POST /graphql. Keys can be rotated or revoked at any time; the full secret is shown only once at creation.

curl https://mvpcapping.com/graphql \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ health { status } }"}'

Rate limits

Edge keys get 300 requests/minute and 100,000 requests/day across all your keys. When a bucket is exhausted the API returns 429 — back off and retry after the minute/day rolls over. Need more? Talk to us.

Tiers & API quotas

API access is included with Edge and Quant plans:

TierAPI AccessQuota
Free—No API access
Pro—No API access
Edge300/min, 100k/day
Quant1,000/min, 1M/day + priority pick delivery

Pagination

The events query uses cursor-based Relay pagination. To iterate through results, use the after parameter with the endCursor from the previous response:

# Fetch first 20 upcoming events
query {
  events(first: 20, league: NBA, status: SCHEDULED) {
    edges { node { id league homeTeam awayTeam } }
    pageInfo { hasNextPage endCursor }
  }
}

# Next 20, starting after the last cursor
query {
  events(first: 20, after: "...", league: NBA, status: SCHEDULED) {
    edges { node { id league homeTeam awayTeam } }
    pageInfo { hasNextPage endCursor }
  }
}

Events are sorted by commence_time ascending (soonest first), so pagination naturally walks through upcoming games chronologically.

Errors

The API follows standard GraphQL error conventions. Common errors:

  • 429 (Rate limit) — You've exceeded your tier's quota. Retry after the minute or day resets. The error includes the retry-after header.
  • Production error masking — In production, internal errors return a generic message ("Request failed") instead of stack traces. This is intentional.
  • Query depth exceeded — Queries must not exceed 7 nesting levels. Exceeding this limit returns a specific validation error.

Today's board — picks with outcomes and CLV

Published picks return side, market, line, price, , the producing model, and — once graded — the result, , and . Graded picks are permanent public record.

{
  picks(first: 25, league: MLB, minConfidence: 60) {
    side
    marketType
    line
    price
    confidence
    publishedAt
    canonicalEvent { league homeTeam awayTeam commenceTime }
    prediction { edge predictedProbability modelVersion { model { slug name } } }
    outcome { result profitUnits clv }
  }
}

Events and odds

De-duplicated events across MLB, NBA, NHL, NCAAB, NFL, NCAAF, WNBA, MLS, EPL, UFC, Boxing, Tennis, and Esports with current/opening odds, , and . Cursor-paginated, soonest first.

{
  events(first: 20, league: NBA, status: SCHEDULED) {
    edges {
      node { id league homeTeam awayTeam commenceTime status }
    }
    pageInfo { hasNextPage endCursor }
  }
}

Get started in 3 steps

  1. Upgrade to Edge and create a personal API key from Account → API access.
  2. Send the key as a Bearer token on POST /graphql.
  3. Start with events, picks, and modelRecords to build your first dashboard.

Verified model records

Per-model, per-league, per-market lifetime records — the same numbers behind the public leaderboards, auto-graded against the .

{
  modelRecords {
    modelSlug
    modelName
    league
    marketType
    picks wins losses pushes
    winRate
    profitUnits
    averageClv
  }
}

From JavaScript

const res = await fetch('https://mvpcapping.com/graphql', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.MVP_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    query: '{ modelRecords { modelName profitUnits winRate } }',
  }),
})
const { data } = await res.json()

Any GraphQL client works (Apollo, urql, graphql-request) — point it at https://mvpcapping.com/graphql with the Authorization header.

Field & enum reference

Leagues

MLB, NBA, NHL, NCAAB, NFL, NCAAF, WNBA, MLS, EPL, UFC, BOXING, TENNIS, ESPORTS, F1, NASCAR, PGA, HORSE_RACING

Market types

moneyline, spread, total, team_total

Game statuses

SCHEDULED, IN_PROGRESS, FINAL, POSTPONED, CANCELLED

Notes & fair use

  • The API is read-only; mutations are not exposed. No webhooks — this is a polling read API.
  • Introspection is disabled in production — the examples above cover the main types.
  • Query depth is limited to 7 levels.
  • Redistribution of the data feed requires a commercial license — contact us.

Ready to build?

API access is included with the Edge plan.

¿Construye sobre la API? Hable con quien la construyó. Reservar una llamada de 20 minutos (en inglés)