Skip to content

hx-w/hltv-api-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HLTV-API

Deploy to Netlify Button

Endpoint

https://{custom}.netlify.app/.netlify/functions

API

API preview note
/news {Endpoint}/news 近期新闻
/results {Endpoint}/results 近期结束的比赛数据
/matches {Endpoint}/matches 即将开始的比赛信息
/stats/?matchId={int} {Endpoint}/stats/?matchId=2353841 一场比赛的详细数据
/players {Endpoint}/players 热门选手数据
/player/?playerId={int} {Endpoint}/player/?playerId=11893 一位选手的详细数据
/teams {Endpoint}/teams 热门队伍数据
/team/?teamId={int} {Endpoint}/team/?teamId=4608 一支队伍的详细数据

Notice

HLTV的反爬虫策略比较完善,自建api是比较好的选择,不建议高频请求。