2s

2s Sports API

The sports API from 2s — 11 operation(s) for sports.

Operations 11

GET /api/sports/mlb-schedule MLB games for a date (and optionally one team), via the #
GET /api/sports/mlb-standings MLB regular-season standings for a season (official MLB #
GET /api/sports/nba-games NBA games from balldontlie - schedule and scores in one feed #
GET /api/sports/nba-players NBA players from balldontlie - search by name and page #
GET /api/sports/nba-teams NBA teams from balldontlie - all 30 franchises with id #
GET /api/sports/nfl-games NFL games from balldontlie - schedule and scores in one feed #
GET /api/sports/nfl-players NFL players from balldontlie - search by name and page #
GET /api/sports/nfl-teams NFL teams from balldontlie - all 32 franchises with id #
GET /api/sports/nhl-schedule Upcoming NHL game schedule for the week anchored on a date #
GET /api/sports/nhl-scores NHL scores and games for a date (official NHL api-web #
GET /api/sports/nhl-standings Current NHL standings (official NHL api-web, free/keyless) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/2s-io:2s-io-sports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

2s-io-sports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 2s — the (most) everything Sports API
  version: '1'
  summary: The (most) everything API.
  description: 'The (most) everything API for AI agents: 575+ pay-per-call endpoints on one origin.'
  contact:
    name: 2s
    url: https://2s.io
    email: alley@2s.io
  x-logo:
    url: https://2s.io/icon-512.png
    altText: 2s
  x-guidance: 'Pay-per-call REST API for AI agents — hundreds of endpoints returning ground-truth data (US public records, company & legal identifiers, finance/SEC, crypto/web3, security & CVEs, medical codes, weather & geocoding, agriculture, energy, maritime, music, and more). Every endpoint is paid per call in USDC via x402 (Base or Solana) — no API key, no signup. Call any endpoint with no auth to get a 402 PaymentRequirements envelope, sign it (EIP-3009 on Base, partial SPL transfer on Solana), and retry with the PAYMENT-SIGNATURE header. Add ?trial=1 for one free real call per endpoint per hour to test before paying. To discover the right endpoint: GET https://2s.io/api/directory for the full catalog, or GET https://2s.io/api/search/endpoints?q=<natural-language task> for a ranked match. Per-call price is on each operation as x-payment-info (from $0.001). Batch up to 50 calls behind one payment via POST https://2s.io/api/batch/run.'
servers:
- url: https://2s.io
tags:


# --- truncated at 32 KB (54 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/2s-io/refs/heads/main/openapi/2s-io-sports-api-openapi.yml