StatVault
StatVault API

The grounded sports API

Receipt-backed, refusal-aware ratings across 5 sports and 65,778 players (1876–2026) — facts your app or AI agent can actually cite. Metered in StatVault Credits: pay only for what you call.

No credit card required for the free plan.

Where the weekly story lives

The API mirrors the site: what moved this week, the evidence behind it, and the game built on it. These three pages show the shape of the data before you call it.

Public feature registry

Why KC Moved

Weekly command center for movers, evidence, operator demand, and next actions.

Beat the Vault

Make weekly KC calls, frame rivalries, and track whether your conviction was right.

Ask Knox

Natural-language query surface for current player and product questions.

Vantage Query

Fast, reusable Knox answer surface for common weekly questions.

Knox Cases

Durable evidence reviews captured from Ask Knox and Vantage Verify.

Start free — then buy credits, no subscription

Every account gets a free monthly credit grant. Need more? Buy a pack or turn on auto-refill below — you pay only for the calls you make.

Developer
$0 forever
1,000 credits / month
  • ✓ 1,000 credits / month, free — no card to start
  • ✓ Every endpoint: rankings, valuation, grounded rating & AI answer
  • ✓ Receipt-backed responses — every answer is verifiable
  • ✓ Then buy packs or enable auto-refill — pay only for what you call
Get a free key

Priced in Credits — the same currency as every plan

A raw read is 1 credit; a grounded, receipt-backed AI answer is 40. Beyond your plan's monthly grant, top up with pay-as-you-go packs — the more you buy, the less each credit costs.

Call typeCredits
Rankings / search / leaderboardsraw reads1
Player valuation / comps / career-shapederived analytics2
Grounded rating (receipt-backed, refusal-aware)citable, no LLM5
Evidence ledger / receipt retrievalprovenance5
Grounded AI answer (LLM synthesis)the premium unit40
Bulk snapshot / export slicedata licensing500

Credit packs

  • 10,000 credits

    $1.00 / 1k

    $10
  • 50,000 credits

    $0.80 / 1k

    $40
  • 250,000 credits

    $0.60 / 1k

    $150

Overage beyond a plan is billed per credit — never a hard cutoff.

Quick Start

Grounded ratingPythoncURL
Grounded rating
// A receipt-backed cross-sport rating your agent can cite.
const res = await fetch(
  'https://statvault.org/api/v1/grounded/rating?sport=nfl&slug=barry-sanders',
  { headers: { 'X-API-Key': 'sv_live_YOUR_KEY' } }
);
const data = await res.json();
console.log(data.claim);        // "barry sanders's best season (1990) ranks #… "
console.log(data.provenance);   // method + artifact + attribution
// credits: res.headers.get('X-StatVault-Credits-Remaining')
Python
import httpx

r = httpx.get(
    "https://statvault.org/api/v1/grounded/rating",
    params={"sport": "nba", "slug": "lebron-james"},
    headers={"X-API-Key": "sv_live_YOUR_KEY"},
)
data = r.json()
print(data["claim"])            # grounded, or {"grounded": false} on a refusal
print(r.headers["X-StatVault-Credit-Cost"])  # 5
cURL
curl -s \
  -H "X-API-Key: sv_live_YOUR_KEY" \
  "https://statvault.org/api/v1/grounded/rating?sport=mlb&slug=babe-ruth" \
  | jq '{claim, provenance, creditsRemaining}'

Endpoints Reference

MethodEndpoint
POST/api/mcp
GET/api/v1/grounded/rating
GET/api/v1/rankings/:sport
GET/api/v1/players/search
GET/api/v1/vantage/value
GET/api/v1/vantage/clone/:player_id
POST/api/v1/vantage/query
GET/api/v1/knox-evidence
GET/api/v1/knox-brief

Embed Tools

Knox Current Embed WidgetFree

Drop a live KC badge onto any website or CMS with a single script tag. An API key is optional — add one for higher limits.

View embed docs →
Embed Theme Builder

Customize widget colors, typography, and border radius. Copy a pre-configured script tag with your brand settings encoded inline.

Open Theme Builder →

More developer resources

Connect an AI agent over MCP

StatVault runs a live Model Context Protocol server. Point any MCP host at POST /api/mcp and call statvault_grounded_rating or statvault_career_standing. Every result carries provenance, and a tool that cannot verify an answer returns isError:true with a reason instead of guessing — which is the whole point of citing us. Tool shapes for OpenAI function-calling live at /api/v1/tools.