Daily social sentiment history
curl --request GET \
--url https://api.ngnmarket.com/v1/companies/{symbol}/social-sentiment \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/companies/{symbol}/social-sentiment"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ngnmarket.com/v1/companies/{symbol}/social-sentiment', 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.ngnmarket.com/v1/companies/{symbol}/social-sentiment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.ngnmarket.com/v1/companies/{symbol}/social-sentiment"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.ngnmarket.com/v1/companies/{symbol}/social-sentiment")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/companies/{symbol}/social-sentiment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"meta": {
"plan": "starter",
"calls_used": 4821,
"calls_remaining": 95179,
"reset_at": "2026-06-15T23:57:00.000Z",
"market": "US",
"currency": "USD",
"as_of": "2023-11-07T05:31:56Z",
"newest": "2023-11-07T05:31:56Z"
},
"data": {
"symbol": "DANGCEM",
"days": 30,
"max_days_for_plan": 90,
"methodology_url": "<string>",
"data": [
{
"date": "2023-12-25",
"available": true,
"scored_posts": 60,
"min_scored_posts": 15,
"bullish_pct": 40,
"bearish_pct": 19,
"neutral_pct": 41,
"score": 0.17
}
]
}
}
Social Endpoints
NGX Social Sentiment History
Daily engagement-weighted bullish and bearish split for a company.
GET
/
companies
/
{symbol}
/
social-sentiment
Daily social sentiment history
curl --request GET \
--url https://api.ngnmarket.com/v1/companies/{symbol}/social-sentiment \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/companies/{symbol}/social-sentiment"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ngnmarket.com/v1/companies/{symbol}/social-sentiment', 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.ngnmarket.com/v1/companies/{symbol}/social-sentiment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.ngnmarket.com/v1/companies/{symbol}/social-sentiment"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.ngnmarket.com/v1/companies/{symbol}/social-sentiment")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/companies/{symbol}/social-sentiment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"meta": {
"plan": "starter",
"calls_used": 4821,
"calls_remaining": 95179,
"reset_at": "2026-06-15T23:57:00.000Z",
"market": "US",
"currency": "USD",
"as_of": "2023-11-07T05:31:56Z",
"newest": "2023-11-07T05:31:56Z"
},
"data": {
"symbol": "DANGCEM",
"days": 30,
"max_days_for_plan": 90,
"methodology_url": "<string>",
"data": [
{
"date": "2023-12-25",
"available": true,
"scored_posts": 60,
"min_scored_posts": 15,
"bullish_pct": 40,
"bearish_pct": 19,
"neutral_pct": 41,
"score": 0.17
}
]
}
}
Returns the daily bullish / bearish / neutral split for a stock, weighted by engagement. Days with fewer than 15 scored posts return
Days with no scored posts are omitted. A stock only has history for the periods it was in the sentiment universe.
available: false rather than a noisy percentage.
This endpoint requires a Pro plan (up to 90 days). Business and Enterprise get up to 365 days. A request beyond your plan’s depth is clamped, not rejected. Sentiment is scored only while a stock is among the most-mentioned in its market or is spiking; see the Stock Blitz methodology.
curl "https://api.ngnmarket.com/v1/companies/DANGCEM/social-sentiment?days=30" \
-H "Authorization: Bearer ngm_live_YOUR_KEY"
const res = await fetch('https://api.ngnmarket.com/v1/companies/DANGCEM/social-sentiment?days=30', {
headers: { Authorization: 'Bearer ngm_live_YOUR_KEY' },
});
const { data } = await res.json();
import requests
res = requests.get(
'https://api.ngnmarket.com/v1/companies/DANGCEM/social-sentiment',
params={'days': 30},
headers={'Authorization': 'Bearer ngm_live_YOUR_KEY'},
)
data = res.json()['data']
Example response
{
"success": true,
"data": {
"symbol": "NVDA",
"days": 3,
"max_days_for_plan": 90,
"data": [
{ "date": "2026-11-22", "available": false, "scored_posts": 9, "min_scored_posts": 15 },
{ "date": "2026-11-23", "available": true, "scored_posts": 24, "bullish_pct": 45, "bearish_pct": 18, "neutral_pct": 37, "score": 0.2 },
{ "date": "2026-11-24", "available": true, "scored_posts": 20, "bullish_pct": 22, "bearish_pct": 16, "neutral_pct": 62, "score": 0.07 }
],
"methodology_url": "https://docs.ngnmarket.com/guides/stock-blitz-methodology"
}
}
Authorizations
Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY.
Generate keys at ngnmarket.com/dashboard/developer.