AsianScore Developers
Self-Serve Open REST API · No API Key Required

AsianScore Public Sports Data & xG Ledger REST API

Free, keyless, HTTPS and CORS-enabled JSON endpoints providing real-time Football & NBA scores, Dixon-Coles expected goals (xG) scoreline probabilities, and pre-kickoff SHA-256 verifiable prediction ledger snapshots.

Base URL: https://asianscore.com Auth: None (Keyless) HTTPS: TLS 1.3 / HTTP/2 CORS: Access-Control-Allow-Origin: * Format: application/json; charset=utf-8
Authentication
No API Key / No Signup
CORS Support
Enabled (*) for Browser Apps
Coverage
30+ Football Leagues & NBA
Data Verification
Pre-Kickoff SHA-256 + Brier

Endpoints Summary

MethodEndpointPurposeCache / Notes
GET/api/widget/summaryCompact live/upcoming Football & NBA scoreboard plus aggregate ledger calibration metricsmax-age=30, CORS *
GET/api/ledgerFull SHA-256 verifiable prediction ledger: overall accuracy, league breakdown, settled & upcoming locksGET only, CORS *
GET/api/scoresLive & upcoming match list across 30+ football leagues and NBA with market odds & predicted scoresReal-time JSON, CORS *
GET/api/articlesLatest match previews, tactical columns, and post-match xG recapsReal-time JSON, CORS *
GET/embed.jsZero-dependency Shadow DOM embeddable live scoreboard & ledger widget scripttext/javascript
GET/api/widget/summary

Returns a compact payload designed for dashboards, widgets, and lightweight CLI clients: aggregate prediction ledger accuracy metrics plus active/upcoming matches with model top picks.

Response Fields

FieldTypeDescription
brandstringPlatform brand string
ledger.totalLockedintegerTotal pre-kickoff predictions locked with SHA-256 fingerprints
ledger.settledintegerSettled matches evaluated against official final scores
ledger.hitsintegerNumber of top-outcome hits among settled matches
ledger.hitRatePctnumberSettled top-outcome hit rate percentage
ledger.avgBriernumberAverage multi-class Brier calibration score (lower is better)
matches[]arrayArray of matches containing id, league, homeTeam, awayTeam, homeScore, awayScore, kickoff, state, topLabel, topProbPct, url

Example Request & Response

curl -s https://asianscore.com/api/widget/summary
{
  "brand": "亚分体育 AsianScore",
  "ledger": {
    "avgBrier": 0.1783,
    "hitRatePct": 56.92,
    "hits": 144,
    "settled": 253,
    "totalLocked": 394
  },
  "matches": [
    {
      "id": "espn-eng.1-401878755",
      "league": "英超",
      "homeTeam": "利物浦",
      "awayTeam": "曼联",
      "homeScore": 0,
      "awayScore": 0,
      "kickoff": "2026-11-23 00:30",
      "state": "pre",
      "topLabel": "利物浦 胜",
      "topProbPct": 60,
      "url": "https://asianscore.com/match/espn-eng.1-401878755.html"
    }
  ]
}
GET/api/ledger

Returns the complete pre-kickoff SHA-256 verifiable prediction audit ledger. Predictions are frozen 8–10 minutes prior to kickoff and settled strictly against official final scores via multi-class Brier score.

Response Fields

FieldTypeDescription
schemaVersionstringLedger JSON schema identifier
generatedAtstring (ISO-8601)Snapshot generation timestamp
lockRulestringPre-kickoff freeze and hashing rule description
accuracyobjectaverageBrierScore, hitRate, hitRatePct, correct, sampleSize, totalLocked, pendingCount, eligibleUpcoming
byLeaguearray/objectCalibration breakdown grouped by competition
recentSettledarrayRecently settled fixtures with pre-kickoff probabilities, final score, and Brier score
upcomingLockedarrayUpcoming fixtures already frozen before kickoff with SHA-256 hashes
curl -s https://asianscore.com/api/ledger | jq '.accuracy'
GET/api/scores

Returns live and upcoming Football (Premier League, La Liga, Serie A, Bundesliga, Ligue 1, UEFA Champions League, J1, K1, MLS, etc.) and NBA fixtures including market odds and Dixon-Coles predicted scorelines.

Response Fields

Top-level keys: updatedAt, leagues[], and matches[]. Each match object provides id, sourceEventId, leagueCode, kickoffAt, league, home, away, homeZh, awayZh, venue, status, liveMin, sport, oddsHome, oddsDraw, oddsAway, oddsProvider, predictedScore, predH, predA.

curl -s https://asianscore.com/api/scores | jq '{updatedAt, leagues: (.leagues|length), matches: (.matches|length), sample: .matches[0]}'
GET/api/articles

Returns published tactical match previews, lineup intelligence, and post-match xG analytical columns (also available as XML RSS at /rss.xml).

curl -s https://asianscore.com/api/articles | jq '.articles[:3] | map({id, sport, league, title})'
GET/embed.js
Open Widget Builder

Drop a live Football & NBA scoreboard and verifiable xG ledger card into any static HTML page with one script tag. Styles are isolated via Shadow DOM.

<script async src="https://asianscore.com/embed.js" data-theme="dark" data-limit="6"></script>

Quickstart Code Examples

Python (Standard Library or asianscore-quant)

import json, urllib.request

with urllib.request.urlopen("https://asianscore.com/api/ledger", timeout=15) as r:
    ledger = json.loads(r.read().decode("utf-8"))

acc = ledger["accuracy"]
print(f"Locked={acc['totalLocked']} Settled={acc['sampleSize']} AvgBrier={acc['averageBrierScore']}")

JavaScript / Browser (CORS Enabled)

const res = await fetch("https://asianscore.com/api/widget/summary");
const { ledger, matches } = await res.json();
console.log(`Avg Brier: ${ledger.avgBrier}, Upcoming/Live: ${matches.length}`);

Go (github.com/AIYIXIU/asianscore-go)

summary, err := asianscore.FetchSummary(context.Background(), nil)
fair, _ := asianscore.DevigPower([]float64{1.95, 3.50, 4.10})
probs := asianscore.DixonColes(1.65, 1.05, -0.05)

Ruby (asianscore_quant)

require "asianscore_quant"
summary = AsianScoreQuant.fetch_summary
probs = AsianScoreQuant.dixon_coles(1.65, 1.05, rho: -0.05)

Official Open-Source SDKs, Interactive Tools & Archival Datasets

Python · PyPI
pip install asianscore-quant Read the Docs · GitHub
Go · pkg.go.dev
go get github.com/AIYIXIU/[email protected] Docs · GitHub
Ruby · RubyGems
gem install asianscore_quant Docs · GitHub
Web Component · npm
npm install asianscore-widget Live Demo · jsDelivr
Open Dataset · CC BY 4.0
10.5281/zenodo.24441036 Hugging Face · Kaggle
Interactive App · Hugging Face
Dixon-Coles · De-Vig · Kelly AsianScore Quant Lab

Fair Use, Rate Limits & Caching

All documented read-only GET endpoints are free for non-commercial, research, educational, and open-source use without an API key. Please respect Cache-Control headers and keep automated polling to at most 1 request every 30 seconds per IP. Attribution back to AsianScore is appreciated.

For LLM and AI agent ingestion, a structured site index is published at https://asianscore.com/llms.txt.