Skip to content

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 ​

  1. Sign up on RapidAPI: Create an account or log in
  2. Subscribe to the API: Free tier available with monthly request limits
  3. Get your API key: Required for all requests

Need higher limits? Contact [email protected]


Base URL ​

https://flashlive-sports.p.rapidapi.com

Quick Start Guide ​

Step 1: Get a List of Sports ​

http
GET /v1/sports/list

Example 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=0

Example 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:

ParameterDescription
localeLanguage code (e.g., en_GB)
sport_idSport ID from step 1
timezoneTimezone offset
indent_daysDays from current date (0 = today, -1 = yesterday, 1 = tomorrow)

Step 3: Get Event Details ​

Use these endpoints with an event ID:

EndpointDescription
/v1/events/dataEvent data
/v1/events/statisticsStatistics
/v1/events/lineupsStarting lineups
/v1/events/commentaryCommentary
/v1/events/oddsOdds
/v1/events/last-changeLast 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 ​

We’re dedicated to providing the best API products