Skip to main content

Bet365 Scraper SDK

Python SDK for request-based Bet365 web scraping with advanced anti-bot protection and TLS fingerprinting

Key Features

Anti-Bot Protection

Bypass advanced anti-bot detection systems with sophisticated TLS fingerprinting

Android API Integration

Seamless integration with Bet365’s Android app API for reliable data access

Message Parsing

Parse Bet365’s proprietary message format to extract sports, matches, and odds data

Proxy Support

Built-in proxy support for distributed and resilient scraping operations

Quick Start

Get up and running in minutes with our simple installation process.
1

Install Dependencies

Install the required Python packages using pip:
pip install curl_cffi tls_client prettytable
2

Configure Your Session

Set up your API credentials and proxy configuration:
from bet365 import Bet365AndroidSession

session = Bet365AndroidSession(
    api_url="your-api-url",
    api_key="your-api-key",
    proxy="http://proxy:port",  # optional
    host="www.bet365.com"
)
3

Start Scraping

Extract sports data and odds information:
# Navigate to homepage
session.go_homepage()

# Get available sports
sports = session.extract_available_sports()

# Fetch specific sport data
soccer = next(filter(lambda m: m.name == "Soccer", sports))
session.get_sport_homepage(soccer)

Use Cases

Odds Monitoring

Track odds changes in real-time for betting analysis

Surebet Detection

Identify arbitrage opportunities across markets

Automated Betting

Integrate with automated betting systems

Documentation

Introduction

Learn about the SDK’s capabilities and architecture

Quickstart Guide

Follow our step-by-step guide to get started quickly

API Reference

Explore the complete API documentation

Examples

View practical examples and code snippets

Important Notice

This SDK is designed to help developers handle bot-detection challenges and maintain stable access when interacting with Bet365 under legitimate and authorized use cases. It provides a controlled environment for managing request patterns and mitigating false positives from automated protection systems.Please note that this SDK does not return pre-scraped data. Ensure you comply with Bet365’s terms of service and applicable laws when using this SDK.

Community and Support

GitHub Repository

View the source code and contribute to the project

Discord Community

Join our Discord server for support and discussions

Build docs developers (and LLMs) love