Get a LinkedIn event
curl --request GET \
--url https://api.harvestapi.io/linkedin/event \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.harvestapi.io/linkedin/event"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.harvestapi.io/linkedin/event', 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://api.harvestapi.io/linkedin/event",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://api.harvestapi.io/linkedin/event"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.harvestapi.io/linkedin/event")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.harvestapi.io/linkedin/event")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"element": {
"id": "7513241096366268417",
"linkedinUrl": "https://www.linkedin.com/events/7513241096366268417/",
"vanityName": "productanalyticsmeetup7513241096366268417",
"name": "Product Analytics Meetup",
"description": "An evening of talks on product analytics, followed by networking.",
"startsAt": {
"date": "2026-10-21T23:00:00.000Z",
"timestamp": 1792623600000
},
"endsAt": {
"date": "2026-10-22T01:00:00.000Z",
"timestamp": 1792630800000
},
"timeZone": "AMERICA_CHICAGO",
"displayTime": "Oct 21, 2026, 6:00 PM - 8:00 PM CDT",
"status": "FUTURE",
"cancelled": false,
"privateEvent": false,
"broadcastTool": null,
"externalUrl": null,
"address": {
"line1": "Acme Office",
"line2": "100 Main St",
"line3": null,
"line4": null,
"city": "Houston",
"geographicArea": "TX",
"postalCode": "77002",
"country": "US"
},
"venueDetails": "Acme Office, 3rd floor",
"attendees": "22 attendees",
"organizer": {
"type": "company",
"id": "12345678",
"linkedinUrl": "https://www.linkedin.com/company/12345678/",
"name": "Acme",
"logo": "https://media.licdn.com/dms/image/v2/C4E0BAQexample/company-logo_400_400/0/1600000000000"
},
"speakers": [
{
"id": "ACoAABx7Ld0BqT1o3dXc9zKfP2uWm4hYs8vNe5Q",
"linkedinUrl": "https://www.linkedin.com/in/ACoAABx7Ld0BqT1o3dXc9zKfP2uWm4hYs8vNe5Q",
"firstName": "Jane",
"lastName": "Smith",
"headline": "Business Analyst at Acme",
"picture": "https://media.licdn.com/dms/image/v2/D5603AQexample/profile-displayphoto-crop_800_800/0/1700000000000"
}
],
"image": "https://media.licdn.com/dms/image/v2/D561EAQexample/event-background-image-crop_720_1280/0/1791296266133",
"post": {
"urn": "urn:li:ugcPost:7513241098874417152",
"linkedinUrl": "https://www.linkedin.com/posts/acme_product-analytics-meetup-activity-7513241099805581314-9Acu",
"text": "Join us for our Product Analytics Meetup in Houston!",
"likes": 7,
"comments": 0,
"shares": 1
}
},
"status": 200,
"query": {
"url": "https://www.linkedin.com/events/7513241096366268417/"
}
}{
"error": 123,
"message": "<string>"
}{
"error": 123,
"message": "<string>"
}LinkedIn Event
Get Event
Get a LinkedIn event by its URL or ID: its description, exact start and end, place, organizer, speakers and the post that announces it. Required at least one of the query parameters
GET
/
linkedin
/
event
Get a LinkedIn event
curl --request GET \
--url https://api.harvestapi.io/linkedin/event \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.harvestapi.io/linkedin/event"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.harvestapi.io/linkedin/event', 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://api.harvestapi.io/linkedin/event",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://api.harvestapi.io/linkedin/event"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.harvestapi.io/linkedin/event")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.harvestapi.io/linkedin/event")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"element": {
"id": "7513241096366268417",
"linkedinUrl": "https://www.linkedin.com/events/7513241096366268417/",
"vanityName": "productanalyticsmeetup7513241096366268417",
"name": "Product Analytics Meetup",
"description": "An evening of talks on product analytics, followed by networking.",
"startsAt": {
"date": "2026-10-21T23:00:00.000Z",
"timestamp": 1792623600000
},
"endsAt": {
"date": "2026-10-22T01:00:00.000Z",
"timestamp": 1792630800000
},
"timeZone": "AMERICA_CHICAGO",
"displayTime": "Oct 21, 2026, 6:00 PM - 8:00 PM CDT",
"status": "FUTURE",
"cancelled": false,
"privateEvent": false,
"broadcastTool": null,
"externalUrl": null,
"address": {
"line1": "Acme Office",
"line2": "100 Main St",
"line3": null,
"line4": null,
"city": "Houston",
"geographicArea": "TX",
"postalCode": "77002",
"country": "US"
},
"venueDetails": "Acme Office, 3rd floor",
"attendees": "22 attendees",
"organizer": {
"type": "company",
"id": "12345678",
"linkedinUrl": "https://www.linkedin.com/company/12345678/",
"name": "Acme",
"logo": "https://media.licdn.com/dms/image/v2/C4E0BAQexample/company-logo_400_400/0/1600000000000"
},
"speakers": [
{
"id": "ACoAABx7Ld0BqT1o3dXc9zKfP2uWm4hYs8vNe5Q",
"linkedinUrl": "https://www.linkedin.com/in/ACoAABx7Ld0BqT1o3dXc9zKfP2uWm4hYs8vNe5Q",
"firstName": "Jane",
"lastName": "Smith",
"headline": "Business Analyst at Acme",
"picture": "https://media.licdn.com/dms/image/v2/D5603AQexample/profile-displayphoto-crop_800_800/0/1700000000000"
}
],
"image": "https://media.licdn.com/dms/image/v2/D561EAQexample/event-background-image-crop_720_1280/0/1791296266133",
"post": {
"urn": "urn:li:ugcPost:7513241098874417152",
"linkedinUrl": "https://www.linkedin.com/posts/acme_product-analytics-meetup-activity-7513241099805581314-9Acu",
"text": "Join us for our Product Analytics Meetup in Houston!",
"likes": 7,
"comments": 0,
"shares": 1
}
},
"status": 200,
"query": {
"url": "https://www.linkedin.com/events/7513241096366268417/"
}
}{
"error": 123,
"message": "<string>"
}{
"error": 123,
"message": "<string>"
}Get a LinkedIn event by its URL or ID: its description, exact start and end, place, organizer, speakers and the post
that announces it. Event URLs carry either the event’s ID or its vanity name, and both work.
const params = new URLSearchParams({
url: 'https://www.linkedin.com/events/7523060148135907328/', // by URL
// eventId: '7523060148135907328', // by event ID alternatively
});
fetch(`https://api.harvestapi.io/linkedin/event?${params.toString()}`, {
headers: { 'X-API-Key': '<api-key>' },
})
.then((response) => response.json())
.then((data) => console.log(data));
curl --request GET \
--url 'https://api.harvestapi.io/linkedin/event?eventId=7523060148135907328' \
--header 'X-API-Key: <api-key>'
import requests
url = "https://api.harvestapi.io/linkedin/event?eventId=7523060148135907328"
headers = {"X-API-Key": "<api-key>"}
response = requests.request("GET", url, headers=headers)
print(response.text)
Authorizations
Query Parameters
URL of the event, with its ID or its vanity name, e.g. https://www.linkedin.com/events/7523060148135907328/
ID of the event, e.g. 7523060148135907328

