# FanCode Live Sports Streams Scraper 🏏 🎯 (`easyapi/fancode-live-sports-streams-scraper`) Actor

Extracts live sports streaming data from FanCode, India's premier sports streaming platform. Get real-time access to cricket, kabaddi, football matches with HLS stream URLs, team information, and match details. Updated every 30 minutes.

- **URL**: https://apify.com/easyapi/fancode-live-sports-streams-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Automation, Integrations, Other
- **Stats:** 149 total users, 6 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## FanCode Live Sports Streams Scraper 🏏 🎯

Extract live sports streaming data from FanCode, India's leading sports streaming platform. This Actor provides real-time access to live cricket, kabaddi, football, and other sports events, complete with HLS streaming URLs and comprehensive match information.

### Features ⭐

- 🔄 Auto-updates every 30 minutes
- 🎯 Supports premium matches
- 📱 Compatible with TV, mobile, and PC platforms
- 🏏 Comprehensive match details including team flags and banners
- 🔗 Direct HLS stream links (M3U8 format)
- 📊 JSON output for easy integration

### Output Data Structure 📋

For each live stream, the Actor provides:

- Event category and name
- Match ID and match name
- Team names and flag URLs
- Match banner image
- HLS stream link
- Last update timestamp
- Total available matches

### Use Cases 🎯

- Sports streaming applications
- Live score widgets
- Sports data analytics
- Match tracking systems
- Content aggregation platforms

### Limitations ⚠️

- Limited to matches available on FanCode platform
- Stream URLs require regular updates
- Region restrictions may apply to certain content

### Support 💬

For any questions or issues, please reach out through Apify's support.

#### Input Example

A full explanation of an input example in JSON.

```json
{
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "event_category": "cricket",
        "event_name": "One Day Cup, 2024-25",
        "match_id": 109151,
        "match_name": "Tasmania vs New South Wales",
        "team_1": "Tasmania",
        "team_1_flag": "https://d13ir53smqqeyp.cloudfront.net/flags/cr-flags/FC-TAS@2x.png",
        "team_2": "New South Wales",
        "team_2_flag": "https://d13ir53smqqeyp.cloudfront.net/flags/cr-flags/FC-NSW@2x.png",
        "banner": "https://www.fancode.com/skillup-uploads/cms-media/109151_4492_TAS_NSW_fc-web.jpg",
        "stream_link": "https://dai.google.com/linear/hls/event/R9Jq2iDwQZGclbH3mt-nqA/master.m3u8",
        "total_matches": 1,
        "last_updated": "05-02-2025 on 07:44:24 AM 🌞",
        "scrapedAt": "2025-02-05T01:55:02.704Z"
    }
]
```

#### Related Actors

- 🛍️ [Fancode Shop Scraper](https://apify.com/easyapi/fancode-shop-scraper) - Extract product data from Fancode Shop with detailed information including prices, descriptions and ratings.
- 🎥 [YouTube Live Stream Scraper](https://apify.com/easyapi/youtube-live-stream-scraper) - Extract live streams and upcoming events data from YouTube with real-time statistics.
- 📊 [YouTube Video Statistics Scraper](https://apify.com/easyapi/youtube-video-statistics-scraper) - Get comprehensive video statistics including views, likes, comments and metadata.
- 🎥 [YouTube Video Data Scraper](https://apify.com/easyapi/youtube-video-data-scraper) - Extract detailed metadata from YouTube videos for content analysis and research.
- 🎮 [Twitch Videos Scraper](https://apify.com/easyapi/twitch-videos-scraper) - Scrape comprehensive video data from Twitch including creator details and engagement metrics.
- 🎮 [Twitch Channel Scraper](https://apify.com/easyapi/twitch-channel-scraper) - Extract detailed channel data including streamer info, live streams and upcoming schedules.
- 🎥 [ESPN Video Downloader](https://apify.com/easyapi/espn-video-downloader) - Download ESPN videos with metadata and multiple quality options.
- 🎮 [Steam Reviews Scraper](https://apify.com/easyapi/steam-reviews-scraper) - Extract comprehensive review data from Steam games.
- 🎮 [Steam Store Search Scraper](https://apify.com/easyapi/steam-store-search-scraper) - Collect detailed game data including titles, prices and reviews.
- 🎮 [PlayStation Games Scraper](https://apify.com/easyapi/playstation-games-scraper) - Extract game details including titles, descriptions and release dates.
- 🎮 [GameSpot Search Scraper](https://apify.com/easyapi/gamespot-search-scraper) - Extract games, articles and reviews based on keywords.
- 🎮 [Metacritic Search Scraper](https://apify.com/easyapi/metacritic-search-scraper) - Get detailed information about games, movies and TV shows.
- 🎥 [VK Video Scraper](https://apify.com/easyapi/vk-video-scraper) - Extract videos with advanced search capabilities and comprehensive metadata.
- 🎥 [VK Videos Search Scraper](https://apify.com/easyapi/vk-videos-search-scraper) - Search and extract video data with advanced filtering options.
- 🎥 [VK Video Profile Scraper](https://apify.com/easyapi/vk-video-profile-scraper) - Scrape video profiles and groups data including statistics and metrics.

# Actor input Schema

## Actor input object example

```json
{}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/fancode-live-sports-streams-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/fancode-live-sports-streams-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call easyapi/fancode-live-sports-streams-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/fancode-live-sports-streams-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/jZo9Q7BPYKhMsbe1g/builds/AVUXh18Cop5i1cWiJ/openapi.json
