Developer Resources

API Documentation

Everything you need to integrate SocialHeat data into your applications. RESTful API with JSON responses, webhooks, and comprehensive SDK support.

Quick start

1

Get API key

Sign up and generate your API key from the dashboard

2

Authenticate

Add your API key to the Authorization header

3

Make requests

Call endpoints and receive JSON responses

Authentication

All API requests require a Bearer token in the Authorization header.

HTTP Header
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
X-API-Version: 2

Core endpoints

GET /v2/fanpage/insights

Retrieve engagement metrics, follower demographics, and content performance for a specific fanpage.

Parameters

ParamTypeRequiredDescription
page_idstringYesFacebook page ID or URL
metricsarrayNoSpecific metrics to return
date_rangestringNolast_7_days, last_30_days, custom
GET /v2/listening/mentions

Retrieve social mentions matching your tracked keywords, with sentiment and source metadata.

Parameters

ParamTypeRequiredDescription
keyword_idstringYesTracked keyword identifier
sentimentstringNoFilter: positive, negative, neutral
limitintegerNoResults per page (max 100)
POST /v2/sentiment/analyze

Analyze sentiment of custom text input. Returns sentiment classification, confidence score, and detected topics.

Parameters

ParamTypeRequiredDescription
textstringYesText to analyze (max 5000 chars)
languagestringNoISO 639-1 code (auto-detected)
POST /v2/webhooks

Register a webhook to receive real-time notifications for mention spikes, sentiment shifts, or new data.

Parameters

ParamTypeRequiredDescription
urlstringYesYour webhook endpoint URL
eventsarrayYesEvents to subscribe to
secretstringNoSigning secret for verification

Rate limits

PlanRequests/minuteRequests/dayConcurrent
Agency605,0005
Business12010,00010
EnterpriseCustomUnlimitedCustom

SDKs & Libraries

Official client libraries to get you started faster.

Py

Python SDK

pip install socialheat
Full-featured Python client with async support.

JS

Node.js SDK

npm install @socialheat/sdk
TypeScript-first client for Node.js applications.

{ }

REST API

Direct HTTP integration with any language. Comprehensive OpenAPI spec available.

Need API access?

API access is available on Business and Enterprise plans. Talk to our team to get started.