Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST https://api.rankraft.ai/v1/reports/sentiment \ -H "X-API-Key: $RANKRAFT_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "site_id": "3f2c9a10-7b1e-4c55-9d2a-1a2b3c4d5e6f", "start_date": "2026-09-01", "end_date": "2026-09-30", "group_by": ["platform"] }'
// npm install rankraft-js · https://www.npmjs.com/package/rankraft-js import { RankRaft } from "rankraft-js"; const rr = new RankRaft(); // reads RANKRAFT_API_KEY const page = await rr.reports.sentiment({ site_id: "3f2c9a10-7b1e-4c55-9d2a-1a2b3c4d5e6f", start_date: "2026-09-01", end_date: "2026-09-30", group_by: ["platform"], }); for (const row of page.data) console.log(row.platform, row.positive, row.neutral, row.negative);
# pip install rankraft-py · https://pypi.org/project/rankraft-py/ from rankraft import RankRaft with RankRaft() as rr: # reads RANKRAFT_API_KEY page = rr.reports.sentiment( site_id="3f2c9a10-7b1e-4c55-9d2a-1a2b3c4d5e6f", start_date="2026-09-01", end_date="2026-09-30", group_by=["platform"], ) for row in page: print(row["platform"], row["positive"], row["neutral"], row["negative"])
{ "info": { "site_id": "3f2c9a10-7b1e-4c55-9d2a-1a2b3c4d5e6f", "start_date": "2026-09-01", "end_date": "2026-09-30", "count": 1, "total_results": 1, "next_cursor": null }, "data": [ { "platform": "chatgpt", "positive": 0.42, "neutral": 0.53, "negative": 0.05, "answers_mentioning": 19, "answers": 60 } ] }
POST /v1/reports/sentiment
YYYY-MM-DD
start_date
date
platform
prompt
category
info.next_cursor
Show properties
cursor
Was this page helpful?