◆ ROCKYLIVE

RockyLive Public API

Access upcoming sports events and schedules using our JSON API.

Events endpoint

GET /api/events.php

Returns sports events from the RockyLive schedule. 24/7 channels are excluded except NFL Network and NFL RedZone when available.

View JSON response

Available parameters

league — Filter by league slug, such as nba or nfl.

sport — Filter by sport slug: football, american-football, basketball, hockey, baseball, motorsports, fight or wrestling. Includes all available competitions in that sport.

limit — Maximum results returned (1–1000, default 100).

Examples

All available events:

https://rockylive.st/api/events.php?limit=1000

NBA events:

https://rockylive.st/api/events.php?league=nba

NFL events:

https://rockylive.st/api/events.php?league=nfl

Embed events on your website

<script>
fetch('https://rockylive.st/api/events.php?limit=100')
  .then(response => response.json())
  .then(data => console.log(data.events));
</script>

Player embed URL

Each event includes an embed_url field containing its player URL.

{
  "id": 31290,
  "embed_url": "https://rockyembed.st/source/fetch.php?full=31290"
}

Replace the example ID with an event ID returned by the API.

Use the player URL in an iframe on your website:

<iframe
  src="https://rockyembed.st/source/fetch.php?full=31290"
  title="RockyLive player"
  style="width:100%;aspect-ratio:16/9;border:0"
  allow="autoplay; fullscreen; picture-in-picture"
  allowfullscreen></iframe>

Try an integration

Select an event to generate its embed code. API embed URLs load the video player only, without the RockyLive poster or countdown. RockyLive event pages display a waiting screen until 30 minutes before the scheduled start. Stream availability depends on the source.

White-Label Sports Schedule

Add a sports schedule to your website with one iframe. The widget has no visible RockyLive branding or promotional links. Visitors can filter by sport, search for a team and watch a selected event without leaving your page.

The schedule loads from our API when opened. Visitors can use Refresh to update it. Times are displayed in Eastern Time (ET). Player embeds contain no RockyLive waiting screen or countdown.

Advertising: video players include advertising. Third-party player branding and content may still appear. Stream availability depends on the source.

Live Preview

The preview below is the same widget your visitors will see. Select an event and click Watch to load its player.

Installation

Paste this code into your page's HTML or custom HTML block. You can change the height to fit your layout. Click inside the box to select the code, then copy and paste it.

No API key is required. The widget is free to embed. API and player domain names remain visible in the integration code.