81trust / 100

Sports Standings

by sports-standings in Other

x402 APIPassing, checked 9 min ago

League table and standings for a major sports league, normalized to one cited JSON. Give a league such as mlb, nhl, nfl, nba or epl and get each team with wins, losses, win percentage or points, games behind, streak and its division or conference group. Sourced from official league APIs and ESPN.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
24 ms typical, 24 ms slowest 5%
Last check
9 min ago
Next check
in 21 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/sports/standings?league=mlb"
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.agentstools.dev%2Fsports%2Fstandings
const res = await pay("https://api.agentstools.dev/sports/standings?league=mlb");
console.log(await res.json());

Example input

{
  "league": "mlb"
}

Example output

{
  "attribution": [
    "Data via MLB Stats API (statsapi.mlb.com)"
  ],
  "count": 1,
  "disclaimer": "Sports facts; not affiliated with any league. No odds.",
  "league": "mlb",
  "league_name": "MLB",
  "provenance": {
    "standings": "mlb"
  },
  "season": "2025",
  "sources": {
    "errors": [],
    "partial": false,
    "used": [
      "mlb"
    ]
  },
  "standings": [
    {
      "games_back": "-",
      "games_played": 162,
      "group": "AL East",
      "losses": 68,
      "pct": ".580",
      "rank": 1,
      "source": "mlb",
      "streak": "W4",
      "team": "Toronto Blue Jays",
      "wins": 94
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
9 min agoPassed40224 ms$0.005
5 h agoPassed40248 ms$0.005