Quickstart
Getting Started with FlashLive API
What is RapidAPI?
RapidAPI is the world’s largest API hub where over three million developers find, test, and connect to thousands of APIs — all with a single account and API key.
Prerequisites
- Sign up on RapidAPI: Create an account or log in
- Subscribe to the API: Free tier available with monthly request limits
- Get your API key: Required for all requests
Need higher limits? Contact [email protected]
Base URL
https://flashlive-sports.p.rapidapi.comQuick Start Guide
Step 1: Get a List of Sports
http
GET /v1/sports/listExample curl:
bash
curl -X GET "https://flashlive-sports.p.rapidapi.com/v1/sports/list" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: flashlive-sports.p.rapidapi.com"Response:
json
{
"DATA": [
{"ID": 1, "NAME": "SOCCER"},
{"ID": 2, "NAME": "TENNIS"},
{"ID": 3, "NAME": "BASKETBALL"},
{"ID": 4, "NAME": "HOCKEY"}
]
}Step 2: Get List of Events
http
GET /v1/events/list?locale=en_GB&sport_id=1&timezone=0&indent_days=0Example curl:
bash
curl -X GET "https://flashlive-sports.p.rapidapi.com/v1/events/list?locale=en_GB&sport_id=1&timezone=0&indent_days=0" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: flashlive-sports.p.rapidapi.com"Parameters:
| Parameter | Description |
|---|---|
locale | Language code (e.g., en_GB) |
sport_id | Sport ID from step 1 |
timezone | Timezone offset |
indent_days | Days from current date (0 = today, -1 = yesterday, 1 = tomorrow) |
Step 3: Get Event Details
Use these endpoints with an event ID:
| Endpoint | Description |
|---|---|
/v1/events/data | Event data |
/v1/events/statistics | Statistics |
/v1/events/lineups | Starting lineups |
/v1/events/commentary | Commentary |
/v1/events/odds | Odds |
/v1/events/last-change | Last changes |
Example curl:
bash
curl -X GET "https://flashlive-sports.p.rapidapi.com/v1/events/data?locale=en_GB&event_id=YOUR_EVENT_ID" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: flashlive-sports.p.rapidapi.com"FAQ
How often is the data updated? No delay in updates. Use @Changes to live events endpoint for real-time updates, or @Event last-change to detect changed data keys.
How do I calculate match times? Subtract the start time of the period from the current time. Match times are calculated client-side for most sports.
How do I get matches beyond 7 days?
- Historical matches (since 1990):
/v1/tournaments/results - Future matches:
/v1/tournaments/fixtures
Resources
Support
- Documentation: flashlive.rapi.one
- Email: [email protected]
- Telegram: t.me/api_tipsters
