81trust / 100
Sports Scores
by sports-scores in Other
x402 APIPassing, checked 53 min ago
Live and recent game scores for a major sports league, normalized to one cited JSON. Give a league such as mlb, nhl, nfl, nba or epl and get each game with both teams, the score, the game state, the period or inning and the start time. Sourced from official league APIs and ESPN, each record tagged with its source.
GET https://api.agentstools.dev/sports/scores
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 27 ms typical, 27 ms slowest 5%
- Last check
- 53 min 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/scores?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%2Fscores
const res = await pay("https://api.agentstools.dev/sports/scores?league=mlb");
console.log(await res.json());Example input
{
"league": "mlb"
}Example output
{
"attribution": [
"Data via MLB Stats API (statsapi.mlb.com)"
],
"count": 1,
"date": null,
"disclaimer": "Sports facts; not affiliated with any league. No odds.",
"league": "mlb",
"league_name": "MLB",
"provenance": {
"scores": "mlb"
},
"scores": [
{
"away": {
"abbr": "CIN",
"name": "Cincinnati Reds",
"score": 3
},
"game_id": "776543",
"home": {
"abbr": "PIT",
"name": "Pittsburgh Pirates",
"score": 7
},
"period": 9,
"source": "mlb",
"start_ts": "2025-10-01T23:05:00Z",
"state": "post",
"status": "Final"
}
],
"sources": {
"errors": [],
"partial": false,
"used": [
"mlb"
]
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 53 min ago | Passed | 402 | 28 ms | $0.005 |
| 6 h ago | Passed | 402 | 27 ms | $0.005 |