StatSocial Platform API
statsocial · Social
API Reference: The StatSocial API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and to use HTTP response codes to indicate API errors. We use built-in HTTP features, like HTTP authentication and HTTP verbs, which can be understood by off-the-shelf HTTP clients, and we support cross-origin resource sharing to allow you to interact securely with our API from a client-side web application (remember that you should never expose your secret API key
Authentication
Sample Requests
Output is ordered by Demographic and followed by Affinity information. For each data point the following metrics are provided value, count, mean, percentile, multiplicity and average. For Geographic, and Demographic data points an additional statistical_info metric will be present with information r
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/?sample=1&baseline=1&report_date=1&report_hash=example"
import requests
params = {
"sample": "1",
"baseline": "1",
"report_date": "1",
"report_hash": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/');
url.searchParams.set('sample', '1');
url.searchParams.set('baseline', '1');
url.searchParams.set('report_date', '1');
url.searchParams.set('report_hash', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/")
q := baseURL.Query()
q.Set("sample", "1")
q.Set("baseline", "1")
q.Set("report_date", "1")
q.Set("report_hash", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/")
uri.query = URI.encode_www_form({
"sample" => "1",
"baseline" => "1",
"report_date" => "1",
"report_hash" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/?" . http_build_query([
"sample" => "1",
"baseline" => "1",
"report_date" => "1",
"report_hash" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Remaining window and remaining count details, also returns reports that have been generated by this account.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/statsocial.com/1.0.0/applications/status/?key=YOUR_API_KEY"
import requests
params = {
"key": "YOUR_API_KEY"
}
response = requests.get(
"https://api.apis.guru/v2/specs/statsocial.com/1.0.0/applications/status/",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/statsocial.com/1.0.0/applications/status/');
url.searchParams.set('key', 'YOUR_API_KEY');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/statsocial.com/1.0.0/applications/status/")
q := baseURL.Query()
q.Set("key", "YOUR_API_KEY")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/statsocial.com/1.0.0/applications/status/")
uri.query = URI.encode_www_form({
"key" => "YOUR_API_KEY"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/statsocial.com/1.0.0/applications/status/?" . http_build_query([
"key" => "YOUR_API_KEY"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Get report dates available for a specific report.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/dates/?report_hash=example"
import requests
params = {
"report_hash": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/dates/",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/dates/');
url.searchParams.set('report_hash', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/dates/")
q := baseURL.Query()
q.Set("report_hash", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/dates/")
uri.query = URI.encode_www_form({
"report_hash" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/statsocial.com/1.0.0/reports/dates/?" . http_build_query([
"report_hash" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with StatSocial Platform API?
StatSocial Platform API is a Social API. Developers commonly use social APIs for:
- adding social login (Sign in with Google/Twitter)
- fetching user-generated content for analysis
- scheduling and publishing social posts
- tracking mentions and engagement metrics
- building community dashboards
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. StatSocial Platform API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?