81trust / 100

Sports Schedule

by sports-schedule in Productivity & SaaS

x402 APIPassing, checked 2 h ago

Upcoming fixtures and the game schedule for a major sports league, normalized to one cited JSON. Give a league such as mlb, nhl, nfl, nba or epl and an optional date, and get each scheduled game with both teams, start time and venue. A cheap way for an agent to plan around the sports calendar.

GET https://api.agentstools.dev/sports/schedule

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
26 ms typical, 26 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/sports/schedule?date=2025-10-08&league=nhl"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.agentstools.dev%2Fsports%2Fschedule
const res = await pay("https://api.agentstools.dev/sports/schedule?date=2025-10-08&league=nhl");
console.log(await res.json());

Example input

{
  "date": "2025-10-08",
  "league": "nhl"
}

Example output

{
  "attribution": [
    "Data via NHL Web API (nhle.com)"
  ],
  "count": 1,
  "date": "2025-10-08",
  "disclaimer": "Sports facts; not affiliated with any league. No odds.",
  "league": "nhl",
  "league_name": "NHL",
  "provenance": {
    "schedule": "nhl"
  },
  "schedule": [
    {
      "away": {
        "abbr": "FLA",
        "name": "Florida Panthers",
        "score": null
      },
      "game_id": "2025020001",
      "home": {
        "abbr": "CHI",
        "name": "Chicago Blackhawks",
        "score": null
      },
      "source": "nhl",
      "start_ts": "2025-10-08T23:00:00Z",
      "state": "pre",
      "status": "Scheduled"
    }
  ],
  "sources": {
    "errors": [],
    "partial": false,
    "used": [
      "nhl"
    ]
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40226 ms$0.004