## Beach Soccer API Overview
The Beach Soccer API provides schedules and results for top leagues. Data is collected via Sportradar operators and is available post-match.
The Beach Soccer API is consistent in structure, format and behavior with other General Sport APIs. Primary feeds will return tournaments, schedules, and results.
Additional feeds provide complimentary stats, including:
Standings
League leaders
Match win probabilities
Historical results
Head-to-Head statistics
API
API Version
Beach Soccer
v1
Note: Authentication is required for all API calls.
## Beach Soccer API Map
To best utilize the Beach Soccer API, you will need several parameters to create your API calls. The map below illustrates how you can obtain the parameters you need.
>
Examples:
>To find the home team win probability for a game:
>
Call the Daily Schedule and find the match id for the game in question
Call the Sport Event Probabilties using the match id
Find the outcome element with the probability attribute
>The home team win probability is displayed.
>
>To find the standings for a specific tournament:
>
Call the Daily Results, or Daily Schedule and find tournament id the tournament you want
Call the Tournament Standings using the tournament id
Find the Team Standings element
>The standings are displayed.
The primary feeds provide match, tournament, and competitor ids for the event, tournament, and competitor feeds. Player and Venue ids can be found from match specific feeds.
## Competitor Profile
Provides top-level information for a given team.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/competitors/sr:competitor:103191/profile.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/competitors/sr:competitor:103191/profile.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/competitors/sr:competitor:103191/profile.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Competitor Profile feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/competitors/`{competitor_id}`/profile.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `competitor_id` | Id of a given competitor. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Competitor Profile use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_profile.xsd
Return to top
## Competitor Results
Provides match info and scoring for the past 10 matches for a given team.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name Season Start Date
Season Year Tournament Id Tournament Name
Tournament Round Group Tournament Round Number Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name Competitor Qualifier
Sport Event Info Data Points:
Period Away Score Period Home Score Period Score Number Period Score Type
Sport Event Id Sport Event Scheduled Date/Time Sport Event Status
Sport Event Status Away Score Sport Event Status Home Score Sport Event Status Winner Id
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/competitors/sr:competitor:103191/results.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/competitors/sr:competitor:103191/results.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/competitors/sr:competitor:103191/results.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Competitor Results feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/competitors/`{competitor_id}`/results.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `competitor_id` | Id of a given competitor. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Competitor Results use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_results.xsd
Return to top
## Competitor Schedule
Provides a list of scheduled matches for a given team.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name Season Start Date
Season Year Tournament Id Tournament Name
Tournament Round Group Tournament Round Number Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name Competitor Qualifier
Sport Event Info Data Points:
Sport Event Id
Sport Event Scheduled Date/Time
Sport Event Status
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/competitors/sr:competitor:106447/schedule.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/competitors/sr:competitor:106447/schedule.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/competitors/sr:competitor:106447/schedule.xml?api_key={your_api_key}"
```
Access the Competitor Schedule feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/competitors/`{competitor_id}`/schedule.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `competitor_id` | Id of a given competitor. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Competitor Schedule use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_schedule.xsd
Return to top
## Daily Results
Provides all match results for a given date.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name Season Start Date
Season Year Tournament Id Tournament Name
Tournament Round Group Tournament Round Number Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name Competitor Qualifier
Sport Event Info Data Points:
Period Away Score Period Home Score Period Score Number Period Score Type
Sport Event Id Sport Event Scheduled Date/Time Sport Event Status
Sport Event Status Away Score Sport Event Status Home Score Sport Event Status Winner Id
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/schedules/2016-06-24/results.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/schedules/2016-06-24/results.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/schedules/2016-06-24/results.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Daily Results feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/schedules/`{year}`-`{month}`-`{day}`/results.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `year` | Year in 4 digit format (YYYY). |
| `month` | Month in 2 digit format (MM). |
| `day` | Day in 2 digit format (DD). |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Daily Results use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/results.xsd
Return to top
## Daily Schedule
Provides a list of all scheduled matches for a given date.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name Season Start Date
Season Year Tournament Id Tournament Name
Tournament Round Group Tournament Round Number Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name Competitor Qualifier
Sport Event Info Data Points:
Sport Event Id
Sport Event Scheduled Date/Time
Sport Event Status
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/schedules/2016-06-24/schedule.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/schedules/2016-06-24/schedule.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/schedules/2016-06-24/schedule.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Daily Schedule feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/schedules/`{year}`-`{month}`-`{day}`/schedule.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `year` | Year in 4 digit format (YYYY). |
| `month` | Month in 2 digit format (MM). |
| `day` | Day in 2 digit format (DD). |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Daily Schedule use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/schedule.xsd
Return to top
## Head To Head
Provides previous and upcoming matches between two teams, including match results.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name Season Start Date
Season Year Tournament Id Tournament Name
Tournament Round Group Tournament Round Number Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name Competitor Qualifier
Sport Event Info Data Points:
Period Away Score Period Home Score Period Score Number Period Score Type
Sport Event Id Sport Event Scheduled Date/Time Sport Event Status
Sport Event Status Away Score Sport Event Status Home Score Sport Event Status Winner Id
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/competitors/sr:competitor:103191/versus/sr:competitor:25175/matches.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/competitors/sr:competitor:103191/versus/sr:competitor:25175/matches.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/competitors/sr:competitor:103191/versus/sr:competitor:25175/matches.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Head To Head feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/competitors/`{competitor_id}`/versus/`{competitor_id2}`/matches.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `competitor_id` | Id of a given competitor. |
| `competitor_id2` | Id of a given competitor. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for Head To Head use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/competitor_versus_matches.xsd
Return to top
## Seasons
Provides a list of current and past season IDs for a given tournament. Season IDs can be interchanged with tournament IDs to retrieve historical data.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name
Season Start Date Season Year
Tournament Id Tournament Name
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/seasons.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/tournaments/sr:tournament:1748/seasons.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/seasons.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Seasons feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id}`/seasons.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `tournament_id` | Id of a given tournament. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for Seasons use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_seasons.xsd
Return to top
## Sport Event Probabilities
Provides 3-way probabilities (home team win, away team win, draw) for a given match.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name Season Start Date
Season Year Tournament Id Tournament Name
Tournament Round Group Tournament Round Number Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name Competitor Qualifier
Probability Info Data Points:
Away Team Win Probability Home Team Win Probability
Market Name
Outcome Name
Sport Event Info Data Points:
Sport Event Id
Sport Event Scheduled Date/Time
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/matches/sr:match:9654191/probabilities.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/matches/sr:match:9654191/probabilities.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/matches/sr:match:9654191/probabilities.xml?api_key={your_api_key}"
```
Access the Sport Event Probabilities feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/matches/`{match_id}`/probabilities.`{format}`?api_key=`{your_api_key}`
Replace placeholders with the following query parameters:
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `match_id` | Id of a given match. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Sport Event Probabilities use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/match_probabilities.xsd
Return to top
## Sport Event Timeline
Provides a scoring timeline for a given match. Please note that data returned is determined by coverage level.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name Season Start Date
Season Year Tournament Id Tournament Name
Tournament Round Group Tournament Round Number Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name Competitor Qualifier
Sport Event Info Data Points:
Coverage Info Period Away Score Period Home Score Period Score Number
Period Score Type Sport Event Id Sport Event Scheduled Date/Time Sport Event Status
Sport Event Status Away Score Sport Event Status Home Score Sport Event Status Winner Id
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/sport_events/sr:match:9654191/timeline.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/sport_events/sr:match:9654191/timeline.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/sport_events/sr:match:9654191/timeline.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Sport Event Timeline feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/sport_events/`{match_id}`/timeline.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `match_id` | Id of a given match. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Sport Event Timeline use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/sport_event_timeline.xsd
Return to top
## Tournament Info
Provides information for a given tournament or season, including current season, participating teams, and tournament structure.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Current Season End Date Current Season Id Current Season Name Current Season Start Date Current Season Year Group Name
Season End Date Season Id Season Name Season Start Date Season Year Tournament Id
Tournament Name Tournament Round Match Number Tournament Round Matches Tournament Round Name Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/info.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/tournaments/sr:tournament:1748/info.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/info.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Tournamemt Info feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/tournaments/``{tournament_id}``/info.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `tournament_id` | Id of a given tournament. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Tournament Info use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_info.xsd
Return to top
## Tournament List
Provides a list of all available tournaments in the API.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Current Season End Date Current Season Id Current Season Name
Current Season Start Date Current Season Year
Tournament Id Tournament Name
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/tournaments.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/tournaments.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/tournaments.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Tournament List feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/tournaments.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Tournament List use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournaments.xsd
Return to top
## Tournament Results
Provides results for all matches within a given tournament or season.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name Season Start Date
Season Year Tournament Id Tournament Name Tournament Round Match Number
Tournament Round Matches Tournament Round Name Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name Competitor Qualifier
Sport Event Info Data Points:
Period Away Score Period Home Score Period Score Number Period Score Type
Sport Event Id Sport Event Scheduled Date/Time Sport Event Status
Sport Event Status Away Score Sport Event Status Home Score Sport Event Status Winner Id
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/results.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/tournaments/sr:tournament:1748/results.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/results.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Tournament Results feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id}`/results.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `tournament_id` | Id of a given tournament. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Tournament Results use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_results.xsd
Return to top
## Tournament Schedule
Provides scheduling information for all matches within a given tournament or season.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Season End Date Season Id Season Name Season Start Date Season Year
Tournament Id Tournament Name Tournament Round Group Tournament Round Match Number
Tournament Round Matches Tournament Round Name Tournament Round Number Tournament Round Type
Competitor Info Data Points:
Competitor Abbreviation Competitor Country
Competitor Country Code Competitor Id
Competitor Name Competitor Qualifier
Sport Event Info Data Points:
Sport Event Id
Sport Event Scheduled Date/Time
Sport Event Status
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/schedule.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/tournaments/sr:tournament:1748/schedule.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/schedule.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Tournament Schedule feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id}`/schedule.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `tournament_id` | Id of a given tournament. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Tournament Schedule use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_schedule.xsd
Return to top
## Tournament Standings
Provides detailed standings info for a given season.
Update Frequency:
As Necessary
Content Type:
XML or JSON
Category & Sport Info Data Points:
Category Id Category Name
Sport Id
Sport Name
Tournament Info Data Points:
Current Season End Date Current Season Id Current Season Name Current Season Start Date
Current Season Year Group Group Name Group Id
Group Name Tournament Id Tournament Name
Standings Info Data Points:
Change Current Outcome Draw Loss Played
Points Rank Score Against Score Difference Score For
Team Id Team Name Tie Break Rule Type Win
```ruby
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/standings.xml?api_key={your_api_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
```
```python
import http.client
conn = http.client.HTTPSConnection("api.sportradar.us")
conn.request("GET", "/beach-soccer-t1/en/tournaments/sr:tournament:1748/standings.xml?api_key={your_api_key}")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```
```shell
curl -X GET "https://api.sportradar.com/beach-soccer-t1/en/tournaments/sr:tournament:1748/standings.xml?api_key={your_api_key}"
```
> The above command returns xml structured like this.
Access the Tournament Standings feed by replacing the parameters in the following URL:
https://api.sportradar.com/beach-soccer-`{access_level}{version}`/`{language_code}`/tournaments/`{tournament_id}`/standings.`{format}`?api_key=`{your_api_key}`
| Parameter | Description |
| --------- | ----------- |
| `access_level` | Defines the access level of your API key as Production (p) or Trial (t). |
| `version` | Version number of the API you are accessing (Current Version: 1). |
| `language_code` | Supported Locales |
| `tournament_id` | Id of a given tournament. |
| `format` | xml or json. |
| `your_api_key` | Your API key. |
To retrieve the XML Schema Definition (.XSD) for the Tournament Standings use the following URL.
https://schemas.sportradar.com/bsa/v1/endpoints/standard/tournament_standings.xsd
Return to top
## Frequently Asked Questions
Q: What leagues or tournaments do you cover for Beach Soccer?
A: We cover the following tournaments.
Area
Tournament
International
Beach Soccer World Cup
Euro Beach Soccer League
Intercontinental Cup
Euro Winners Cup
Euro Beach Soccer Cup
FIFA Beach Soccer World Cup Qualification UEFA
BSWW Tour
European Games
Q: Are simulations available for Beach Soccer v1?
A: Simulations for Beach Soccer v1 are not currently available.
Q: What time zone are the date time fields presented in?
A: When we present date only values we present these in the ISO 8601 standard format.
ex: 2013-04-03
We use these for attributes that have date and no time (such as birthdate). For more information: https://en.wikipedia.org/wiki/ISO_8601
Q: What time zone are the date time fields presented in?
A: All of our Date/Time attributes are in UTC, presented in the ISO 8601 standard format.
ex: 2013-04-03T18:15:00+00:00
For more information: https://en.wikipedia.org/wiki/ISO_8601
Q: What are the valid match status values?
A: Here are the valid match status values and their definitions:
not_started – The match is scheduled to be played
live – The match is currently in progress
postponed – The match has been postponed to a future date
delayed – The match has been temporarily delayed and will be continued
interrupted - The match began, but coverage has stopped for a short time. Note that match scores may not be updated during this period, the last recorded match score will be displayed instead
cancelled – The match has been cancelled and will not be played
ended – The match is over
closed – The match results have been confirmed.
Q: How do I access past seasons’ results and stats?
A: TournamentID and SeasonID are interchangeable. To access a previous season, first interrogate the tournaments/[tournamentID]/seasons endpoint to ascertain the required seasonID, then use that seasonID in place of the tournamentID for any of the following endpoints:
- Tournaments/seasonID/results
- Tournaments/seasonID/schedule
- Tournaments/seasonID/teams/teamID/statistics
- Tournaments/seasonID/standings
Q: What are the valid outcomes for probabilities?
A: Here are the valid outcome probabilities:
home_team_winner
away_team_winner
Q: How do I find out the coverage for a particular match?
A: Find the node called “coverage_info” in the Sport Event Timeline endpoint. The attribute live_coverage reports whether Sportradar has live coverage of the match or not.
Q: Why do different groups have coverage information for a tournament?
A: The notion of “groups” is versatile and is used to distinguish between playoffs, and our tournaments structures and is therefore necessary to describe coverage at a group level for consistency.
Q: What are the possible event types logged?
A: Here are all of the possible event types we log:
Match started
Score change
Match ended
Q: What are the valid tournament types?
A: Here are the valid tournament types:
group
playoff
Q: What are markets and what are the different markets?
A: Markets is something you can bet on that we provide probabilities for. Over time we intend to provide more and more markets in the API. Currently the only market we provide is 3-way (will the home team win? Or the away team? Or will it be a draw?)
Q: What are the possible outcomes?
A: Different markets have different outcomes. The available markets are currently: