API Documentation
v2 Latest LiveComplete reference for the Bet365Soft Sportsbook v2 — improved response structure, enriched data fields, and faster delivery.
Overview
Bet365Soft v2 delivers enriched sports data with improved latency, structured error codes, and an expanded data schema.
What's New in v2
Key improvements over API v1.
- Pagination support on all list endpoints
- Expanded market IDs and bet types
- Player statistics in match events
- Live score push via polling improvements
- Structured error codes with detail messages
- 40% faster average response time
- Gzip compression enabled by default
- Edge caching for static sport lists
- Reduced payload size (~25% smaller)
- CDN distribution across 12 regions
| Feature | API v1 | API v2 |
|---|---|---|
| Pagination | ||
| Player Stats in Events | ||
| Structured Error Codes | ||
| Gzip Compression | ||
| Expanded Market IDs | ||
| Basic Sports Endpoints | ||
| History Endpoints | ||
| JSON Response Format |
Authentication
All requests must include your API key as a query parameter.
Pass your API key using the apikey query parameter on every request:
Base URL
All v2 API calls use the following base URL and directory paths.
Dir : /api/v2
Full: https://w7api.com/sports/api/v2/{endpoint}
Dir : /history/v2
Full: https://w7api.com/sports/history/v2/{endpoint}
Sportsbook Endpoints /api/v2
Directory: https://w7api.com/sports/api/v2
Returns a list of all sports available in the platform with their IDs and metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API authentication key |
Returns all currently live (in-play) events for a given sport, including enriched odds and scoreline data.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
sid | integer | Required | Sport ID (e.g. 1 = Football) |
limit | integer | Optional | Results per page, default 50 (v2 only) |
Returns full detail for a single live event including all markets, odds, timeline, and player stats (v2 new field).
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
id | string | Required | Event / match ID |
Returns scheduled upcoming matches filtered by sport and date range.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
sid | integer | Required | Sport ID |
fromDate | string | Required | Start date YYYY-MM-DD |
toDate | string | Required | End date YYYY-MM-DD |
limit | integer | Optional | Results per page, default 50 (v2 only) |
Returns leagues and competitions for a given sport, including country metadata and season info (v2 enriched).
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
sid | integer | Required | Sport ID |
Returns all pre-match events for a specific sport and league combination.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
sid | integer | Required | Sport ID |
lid | string | Required | League ID |
Returns full markets and odds for a single pre-match event. v2 includes expanded market groups.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
id | integer | Required | Event / match ID |
Returns editorially featured top matches — filter by live or line (pre-match).
| Parameter | Type | Required | Values |
|---|---|---|---|
apikey | string | Required | Your API key |
status | string | Required | "Live" or "Line" |
Full-text search across live and pre-match events. v2 improves fuzzy matching accuracy.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
status | string | Required | "Live" or "Line" |
text | string | Required | Search keyword (e.g. "England") |
Returns all available tournaments across sports.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
Returns outright / tournament winner markets for a specific league.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
lid | integer | Required | League ID |
Returns the final result and all settled market outcomes for a completed event.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
id | integer | Required | Event / match ID |
History Endpoints /history/v2
Directory: https://w7api.com/sports/history/v2
Returns a full match summary including timeline, score, lineups, and statistics. // Game ID required
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
id | integer | Required | Game ID |
Returns historical performance data for a team. v2 adds form guide and head-to-head stats. // Team ID required
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
id | integer | Required | Team ID |
Returns career history and recent performance stats for a player. // Player ID required
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
id | integer | Required | Player ID |
Returns tournament standings, top scorers, and season results. Requires both tournament ID and season ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
id | string | Required | Tournament ID |
seasonId | string | Required | Season ID |
Returns results and standings for a specific stage or round within a tournament. // Stage ID required
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Required | Your API key |
id | integer | Required | Stage ID |
Status Handling
Migration Guide
Migrating from API v1 to v2 is straightforward — only the directory path changes.
/api/v1 to /api/v2 and /history/v1 to /history/v2.