"info": {
"name": "Data Sport API - Soccer Prediction & Livescore",
"description": "Full Postman collection for Data Sport API (Laravel-based Soccer Prediction System). Includes Prediction, Live, Odds, Statistics, Public APIs, Assets, etc.\n\nBase URL: Replace with your actual domain (e.g. https://db.bongdalu.co.com/)",
"_postman_id": "data-sport-api-collection-v1",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"variable": [
{
"key": "base_url",
"value": "https://db.bongdalu.co.com",
"type": "string"
},
{
"key": "match_id",
"value": "1234567",
"type": "string"
},
{
"key": "sclass_id",
"value": "100",
"type": "string"
},
{
"key": "schedule_id",
"value": "2964750",
"type": "string"
},
{
"key": "company_id",
"value": "1",
"type": "string"
},
{
"key": "lang",
"value": "vi",
"type": "string"
}
],
"item": [
{
"name": "01. Prediction APIs",
"item": [
{
"name": "Calculate All Scores (Poisson Prediction)",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/calculate-all-scores?id={{match_id}}",
"host": ["{{base_url}}"],
"path": ["calculate-all-scores"],
"query": [{ "key": "id", "value": "{{match_id}}" }]
},
"description": "Dự đoán tỷ số full-time & half-time sử dụng mô hình Poisson (10 trận gần nhất)"
}
},
{
"name": "Calculate Live Prediction",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/calculate-live?id={{match_id}}",
"host": ["{{base_url}}"],
"path": ["calculate-live"],
"query": [{ "key": "id", "value": "{{match_id}}" }]
},
"description": "Dự đoán tỷ số theo thời gian thực (cập nhật từ all-scores + live events)"
}
},
{
"name": "Calculate Hot Matches",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/calculate-hot",
"host": ["{{base_url}}"],
"path": ["calculate-hot"]
},
"description": "Trả về kèo hot nhất (win % cao) với nhận định AI"
}
},
{
"name": "Predict Log (Dashboard)",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/predict-log",
"host": ["{{base_url}}"],
"path": ["predict-log"]
},
"description": "Log kiểm tra dự đoán (có filter date, league, team...)"
}
},
{
"name": "Get Predict Match",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/get-predict-match?scheduleID={{schedule_id}}&lang={{lang}}",
"host": ["{{base_url}}"],
"path": ["api", "get-predict-match"],
"query": [
{ "key": "scheduleID", "value": "{{schedule_id}}" },
{ "key": "lang", "value": "{{lang}}" }
]
},
"description": "Chi tiết phân tích trận đấu (phong độ, đội hình, cầu thủ...)"
}
}
]
},
{
"name": "02. Public APIs",
"item": [
{
"name": "Get Match Today",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/get-match",
"host": ["{{base_url}}"],
"path": ["api", "get-match"]
},
"description": "Lấy danh sách trận đấu trong ngày (từ -4h đến +22h)"
}
},
{
"name": "Get League Rank",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/get-league-rank?sclassId={{sclass_id}}",
"host": ["{{base_url}}"],
"path": ["api", "get-league-rank"],
"query": [{ "key": "sclassId", "value": "{{sclass_id}}" }]
},
"description": "Bảng xếp hạng của 1 giải đấu"
}
},
{
"name": "Get Leagues Rank (Multiple)",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/get-leagues-rank?ids=1,2,3&limit=5",
"host": ["{{base_url}}"],
"path": ["api", "get-leagues-rank"],
"query": [
{ "key": "ids", "value": "1,2,3" },
{ "key": "limit", "value": "5" }
]
},
"description": "Bảng xếp hạng nhiều giải"
}
}
]
},
{
"name": "03. AI APIs",
"item": [
{
"name": "AI Check",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/ai-check?date=2026-04-06&type=api",
"host": ["{{base_url}}"],
"path": ["api", "ai-check"],
"query": [
{ "key": "date", "value": "2026-04-06" },
{ "key": "type", "value": "api" }
]
}
}
},
{
"name": "AI Update",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/ai-update",
"host": ["{{base_url}}"],
"path": ["api", "ai-update"]
},
"description": "Cập nhật dự đoán AI và đối chiếu kết quả thật"
}
}
]
},
{
"name": "04. Live Data & Ajax",
"item": [
{
"name": "Match Live Detail (JS)",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/match/live?id={{match_id}}&lang={{lang}}",
"host": ["{{base_url}}"],
"path": ["ajax", "match", "live"],
"query": [
{ "key": "id", "value": "{{match_id}}" },
{ "key": "lang", "value": "{{lang}}" }
]
}
}
},
{
"name": "Match Score (JS)",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/match/match-score?id={{match_id}}&lang={{lang}}",
"host": ["{{base_url}}"],
"path": ["ajax", "match", "match-score"],
"query": [
{ "key": "id", "value": "{{match_id}}" },
{ "key": "lang", "value": "{{lang}}" }
]
}
}
},
{
"name": "Get Hot Matches",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-hot-matches",
"host": ["{{base_url}}"],
"path": ["ajax", "get-hot-matches"]
}
}
},
{
"name": "Get Match Core Main",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-match-core-main?companyID={{company_id}}&date=2026-04-06&lang={{lang}}",
"host": ["{{base_url}}"],
"path": ["ajax", "get-match-core-main"],
"query": [
{ "key": "companyID", "value": "{{company_id}}" },
{ "key": "date", "value": "2026-04-06" },
{ "key": "lang", "value": "{{lang}}" }
]
}
}
}
]
},
{
"name": "05. Odds APIs",
"item": [
{
"name": "Get Odds Core Main",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-odds-core-main?companyID={{company_id}}&date=2026-04-06&lang={{lang}}",
"host": ["{{base_url}}"],
"path": ["ajax", "get-odds-core-main"],
"query": [
{ "key": "companyID", "value": "{{company_id}}" },
{ "key": "date", "value": "2026-04-06" },
{ "key": "lang", "value": "{{lang}}" }
]
}
}
},
{
"name": "Get Odds Live",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-odds-live",
"host": ["{{base_url}}"],
"path": ["ajax", "get-odds-live"]
}
}
},
{
"name": "Get Odds Result",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-odds-result?date=2026-04-06&isHot=1",
"host": ["{{base_url}}"],
"path": ["ajax", "get-odds-result"],
"query": [
{ "key": "date", "value": "2026-04-06" },
{ "key": "isHot", "value": "1" }
]
}
}
},
{
"name": "Get Odds Fixture",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-odds-fixture?date=2026-04-06",
"host": ["{{base_url}}"],
"path": ["ajax", "get-odds-fixture"],
"query": [{ "key": "date", "value": "2026-04-06" }]
}
}
},
{
"name": "Get Odd Detail History",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-odd-detail-history?scheduleID={{schedule_id}}&companyID=1,2,3&type=1",
"host": ["{{base_url}}"],
"path": ["ajax", "get-odd-detail-history"],
"query": [
{ "key": "scheduleID", "value": "{{schedule_id}}" },
{ "key": "companyID", "value": "1,2,3" },
{ "key": "type", "value": "1" }
]
},
"description": "Lịch sử biến động odds (type: 1=HDP, 2=OU, 3=1X2)"
}
}
]
},
{
"name": "06. Statistics APIs",
"item": [
{
"name": "Statistics Team",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-statistics-team?sclassID={{sclass_id}}&season=2025&lang={{lang}}",
"host": ["{{base_url}}"],
"path": ["ajax", "get-statistics-team"],
"query": [
{ "key": "sclassID", "value": "{{sclass_id}}" },
{ "key": "season", "value": "2025" },
{ "key": "lang", "value": "{{lang}}" }
]
}
}
},
{
"name": "Statistics Player",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-statistics-player?sclassID={{sclass_id}}&season=2025&lang={{lang}}",
"host": ["{{base_url}}"],
"path": ["ajax", "get-statistics-player"],
"query": [
{ "key": "sclassID", "value": "{{sclass_id}}" },
{ "key": "season", "value": "2025" },
{ "key": "lang", "value": "{{lang}}" }
]
}
}
},
{
"name": "Statistics Score Schedule (Head-to-Head Matrix)",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-statistics-score-schedule?sclassID={{sclass_id}}&season=2025",
"host": ["{{base_url}}"],
"path": ["ajax", "get-statistics-score-schedule"],
"query": [
{ "key": "sclassID", "value": "{{sclass_id}}" },
{ "key": "season", "value": "2025" }
]
}
}
},
{
"name": "Attack vs Defense Stats",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-attack-defense?sclassID={{sclass_id}}&season=2025",
"host": ["{{base_url}}"],
"path": ["ajax", "get-attack-defense"],
"query": [
{ "key": "sclassID", "value": "{{sclass_id}}" },
{ "key": "season", "value": "2025" }
]
}
}
},
{
"name": "First Goal Win/Loss Stats",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-first-goal-win-loss?sclassID={{sclass_id}}&season=2025",
"host": ["{{base_url}}"],
"path": ["ajax", "get-first-goal-win-loss"],
"query": [
{ "key": "sclassID", "value": "{{sclass_id}}" },
{ "key": "season", "value": "2025" }
]
}
}
},
{
"name": "League Detail Rank Stats",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/ajax/get-statistics-detail-rank?sclassID={{sclass_id}}&season=2025",
"host": ["{{base_url}}"],
"path": ["ajax", "get-statistics-detail-rank"],
"query": [
{ "key": "sclassID", "value": "{{sclass_id}}" },
{ "key": "season", "value": "2025" }
]
}
}
}
]
},
{
"name": "07. Assets & Images",
"item": [
{
"name": "Country Image",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/assets/upload/fbcountry/vn.png",
"host": ["{{base_url}}"],
"path": ["assets", "upload", "fbcountry", "vn.png"]
}
}
},
{
"name": "League Image",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/assets/upload/football/league_match/images/premier-league.png",
"host": ["{{base_url}}"],
"path": ["assets", "upload", "football", "league_match", "images", "premier-league.png"]
}
}
},
{
"name": "Team Image",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/assets/upload/football/team/images/manutd.png",
"host": ["{{base_url}}"],
"path": ["assets", "upload", "football", "team", "images", "manutd.png"]
}
}
}
]
},
{
"name": "08. Others",
"item": [
{
"name": "Update Soccer Survey",
"request": {
"method": "POST",
"header": [{ "key": "Content-Type", "value": "application/x-www-form-urlencoded" }],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"url": {
"raw": "{{base_url}}/ajax/updatesoccersurvey",
"host": ["{{base_url}}"],
"path": ["ajax", "updatesoccersurvey"]
}
}
},
{
"name": "Flash Live Iframe",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/soccer/flashlive?id=12345",
"host": ["{{base_url}}"],
"path": ["soccer", "flashlive"],
"query": [{ "key": "id", "value": "12345" }]
}
}
}
]
}
]
}`
```