Get Social Selling best publishing times
curl --request GET \
--url https://openapi.enginy.ai/v1/social-selling/analytics/publishing-times \
--header 'x-api-key: <api-key>'import requests
url = "https://openapi.enginy.ai/v1/social-selling/analytics/publishing-times"
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://openapi.enginy.ai/v1/social-selling/analytics/publishing-times', 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://openapi.enginy.ai/v1/social-selling/analytics/publishing-times",
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://openapi.enginy.ai/v1/social-selling/analytics/publishing-times"
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://openapi.enginy.ai/v1/social-selling/analytics/publishing-times")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.enginy.ai/v1/social-selling/analytics/publishing-times")
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{
"status": "success",
"message": "<string>",
"data": {
"timeZone": "<string>",
"metric": "impressions",
"dateFrom": "2026-07-22",
"dateTo": "2026-10-19",
"includeReposts": true,
"minPosts": 123,
"totalPosts": 123,
"measuredPosts": 123,
"computedAt": "<string>",
"bestSlots": [
{
"weekday": "MONDAY",
"hour": 123,
"posts": 123,
"measuredPosts": 123,
"averageValue": 123
}
],
"byWeekday": [
{
"weekday": "MONDAY",
"posts": 123,
"measuredPosts": 123,
"averageValue": 123
}
],
"byHour": [
{
"hour": 123,
"posts": 123,
"measuredPosts": 123,
"averageValue": 123
}
]
}
}Social Selling
Get Social Selling best publishing times
Find the best weekday and hour to publish on LinkedIn, learned from the caller’s own tracked Social Selling posts. Each post counts in the weekday/hour it was published in timeZone, and slots are ranked by the average metric per measured post (engagement = reactions + comments by default). Returns the top limit slots (bestSlots, each with at least minPosts measured posts), plus averages per weekday (byWeekday, MONDAY–SUNDAY) and per hour (byHour, 0–23). Covers posts published in the last 90 days by default (at most 366), without reposts; metrics come from each post’s latest daily LinkedIn snapshot. Read-only.
Required scope:
SOCIAL_SELLING_READRate limit: 100 requests per minute
GET
/
v1
/
social-selling
/
analytics
/
publishing-times
Get Social Selling best publishing times
curl --request GET \
--url https://openapi.enginy.ai/v1/social-selling/analytics/publishing-times \
--header 'x-api-key: <api-key>'import requests
url = "https://openapi.enginy.ai/v1/social-selling/analytics/publishing-times"
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://openapi.enginy.ai/v1/social-selling/analytics/publishing-times', 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://openapi.enginy.ai/v1/social-selling/analytics/publishing-times",
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://openapi.enginy.ai/v1/social-selling/analytics/publishing-times"
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://openapi.enginy.ai/v1/social-selling/analytics/publishing-times")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.enginy.ai/v1/social-selling/analytics/publishing-times")
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{
"status": "success",
"message": "<string>",
"data": {
"timeZone": "<string>",
"metric": "impressions",
"dateFrom": "2026-07-22",
"dateTo": "2026-10-19",
"includeReposts": true,
"minPosts": 123,
"totalPosts": 123,
"measuredPosts": 123,
"computedAt": "<string>",
"bestSlots": [
{
"weekday": "MONDAY",
"hour": 123,
"posts": 123,
"measuredPosts": 123,
"averageValue": 123
}
],
"byWeekday": [
{
"weekday": "MONDAY",
"posts": 123,
"measuredPosts": 123,
"averageValue": 123
}
],
"byHour": [
{
"hour": 123,
"posts": 123,
"measuredPosts": 123,
"averageValue": 123
}
]
}
}