Sentiment API
Reference
Programmatic access to the Rock Group AI Sentiment Engine — scored financial signals from press releases, market news, and SEC 8-K filings in real time.
What is the Sentiment API?
The Sentiment API gives you programmatic access to the same scored financial signals that power the Live AI Sentiment Engine dashboard. Every press release, news article, and SEC 8-K filing processed by the Rock Group scoring pipeline is available via API within seconds of being scored.
API access is currently in limited preview. Contact us via the API Access page or the contact form to request credentials.
API Keys
All API requests must include your API key in the Authorization header using Bearer token format.
Authorization: Bearer rg_your_api_key_hereAPI keys are issued and managed via the API Dashboard. Each key can be scoped to specific endpoints and rate limits. Keys can be revoked at any time.
Keep your key private. Do not expose your API key in client-side code, public repositories, or browser consoles. If compromised, revoke it immediately via the API Dashboard and generate a replacement.
Making requests
Base URL: https://rockhewn.com/api/v1
Content-Type: application/json
Accept: application/jsonAll responses are JSON. Successful responses return HTTP 200. Errors return a JSON object with an error key and an appropriate HTTP status code.
Available endpoints
curl -X GET \
"https://rockhewn.com/api/v1/sentiment?source=pr&min_score=7&limit=10" \
-H "Authorization: Bearer rg_your_api_key_here"{
"data": [
{
"id": "abc123",
"source": "pr",
"ticker": "NVDA",
"headline": "NVIDIA Reports Record Q4 Revenue...",
"score": 9.1,
"direction": "BULLISH",
"justification": "Earnings significantly beat consensus estimates with record data centre revenue.",
"scored_at": "2026-06-19T14:32:00Z",
"price_at_score": 148.72,
"volume": 42800000,
"rvol": 2.4
}
],
"total": 1,
"limit": 10,
"offset": 0
}Working with large result sets
Use limit and offset for pagination. The response always includes a total field with the count of matching records.
# Page 1: first 20 results
GET /api/v1/sentiment?source=sec&limit=20&offset=0
# Page 2: next 20 results
GET /api/v1/sentiment?source=sec&limit=20&offset=20Score filtering lets you focus on actionable signals. Common patterns:
# Only major catalysts (score ≥ 8)
GET /api/v1/sentiment?min_score=8
# Negative signals only
GET /api/v1/sentiment?max_score=-1
# All signals for a ticker
GET /api/v1/sentiment?ticker=AAPL&limit=50Error responses
All errors return a JSON body with an error field.
{
"error": "Invalid or expired API key"
}Request limits
Rate limits are enforced per API key. Each response includes headers showing your current usage:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 57
X-RateLimit-Reset: 1718806800When you exceed the rate limit, requests return HTTP 429. Implement exponential backoff: wait 1s, then 2s, then 4s before retrying.
How to get an API key
Create an account on the Rock Group platform via the API Sign Up page.
API access is currently in limited preview. Use the API Access page to request credentials and describe your intended use case.
Once approved, log in to the API Dashboard to generate your first API key. You can create multiple keys for different environments (dev, prod).
Include your key in the Authorization header of every request. Monitor usage in the API Dashboard.
Rock Group · Sentiment API Documentation · v1 · Last updated June 2026
Questions? Contact us