#api #esports #cs-go #api-bindings


A client to fetch and parse data from HLTV.org

5 unstable releases

0.3.2 Jun 27, 2022
0.3.1 Jun 24, 2022
0.3.0 Feb 25, 2022
0.2.0 Feb 16, 2022
0.1.0 Jan 18, 2022

#1600 in #api

32 downloads per month


1.5K SLoC

HLTV client

Documentation | Crates.io | Repository

A crate for fetching and parsing esports data from HLTV.org.

This crate allows you to fetch and parse upcoming matches, results, event information, player performance. This crate uses async calls via reqwest and parses the HTML document with tl. This API mimics the way you discover information on HLTV. Summary pages like HLTV Matches contain less information in the HTML document than the detailed match-specific page.

Currently, the following API calls are supported:

  • crate::upcoming
  • crate::results
  • crate::get_match


The builders in hltv allow you to build a generic Request object with a Request::fetch method.

async fn results() -> Result<(), Box<dyn Error>> {
    let req = hltv::results()
        .team(4608) // Team Na'Vi

    let matches = req.fetch().await?; // Vec<MatchResult>

Getting more detailed information


This project is dual-licensed under the MIT and Apache 2.0 license.


~258K SLoC