Get event by line ID
curl --request GET \
--url 'https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key='import requests
url = "https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key=")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"event_id": "09bfa53f8484a63e584398545c035932",
"sport_id": 4,
"event_date": "2026-02-12T00:00:00Z",
"teams_normalized": [
{
"team_id": 11,
"name": "Atlanta",
"mascot": "Hawks",
"abbreviation": "ATL",
"is_away": true,
"is_home": false
}
]
}V1 Events (Legacy)
Get event by line ID
GET
/
api
/
v1
/
events
/
{eventId}
/
lines
/
{lineId}
Get event by line ID
curl --request GET \
--url 'https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key='import requests
url = "https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key=")
.asString();require 'uri'
require 'net/http'
url = URI("https://therundown.io/api/v1/events/{eventId}/lines/{lineId}?key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"event_id": "09bfa53f8484a63e584398545c035932",
"sport_id": 4,
"event_date": "2026-02-12T00:00:00Z",
"teams_normalized": [
{
"team_id": 11,
"name": "Atlanta",
"mascot": "Hawks",
"abbreviation": "ATL",
"is_away": true,
"is_home": false
}
]
}Authorizations
ApiKeyQueryApiKeyHeader
API key as query parameter
Query Parameters
Available options:
all_periods Response
200 - application/json
Event for the line
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Lines keyed by affiliate ID
Show child attributes
Show child attributes
Period-specific lines keyed by affiliate ID (when include=all_periods)
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I