Public comments export and API
Social Media Comments API for Audience Research
With Social Media Scraper, our social media comments API retrieves public comment text, author details, and optional counters as structured JSON for audience feedback analysis. Preview and export sample comments in your browser, or connect your API key to paginate through threads over REST.

What Fields Can You Read from Public Comment Threads?
Read public comment data including comment text and available author, like, and source link fields from a supported post. Browser tools export CSV or JSON with up to 50 rows on one page, while REST calls return available public fields from the matching endpoint.
Core Comment and Like Fields
CSV exports use five columns: id, text, author, likes, and url, with unavailable values left blank. JSON keeps the returned structure, including nested metrics and lookup metadata.
Supported Post and Video Links
Pass a direct public post, video, or Reel link to the matching platform operation such as youtube.comments.
Replies and Cursor Pagination
Check whether the selected endpoint supports pagination cursors or reply parameters before stepping through threads.
{
"items": [
{
"id": "string",
"text": "string",
"url": "string | null",
"author": {
"handle": "string | null"
},
"metrics": {
"likes": "number | null"
}
}
],
"cursor": "string | null"
}What Platforms Can You Query with Our Comments API?
Social Media Scraper provides public comment endpoints across five platforms, each supporting network-specific sorting, reply, or pagination parameters and returning JSON.
| Platform | Request input | Available data | API docs |
|---|---|---|---|
| YouTube | Video url with optional order and continuationToken | Available comment text, author details, and optional counters | YouTube comments API docsyoutube.comments |
| Post or Reel url with optional include_replies and cursor | Available comment text, author fields, and optional counters | Instagram comments API docsinstagram.comments | |
| TikTok | Video url with optional trim and cursor | Available comment text, author details, and optional counters | TikTok comments API docstiktok.comments |
| Thread url with optional sort, trim, and cursor | Available thread comment text, authors, and optional counters | Reddit comments API docsreddit.comments | |
| Post url or feedback_id with optional sort and cursor | Available public comment text, authors, and optional counters | Facebook comments API docsfacebook.comments |
How Do You Export Comments from a Post Link?
Copy a direct public post or video link, pick the matching platform operation, and run one lookup to inspect the output. Save the CSV or JSON file to check the rows, then pass documented cursor parameters in REST requests when paging through comments.
- Post or Reel URL
- Comment Lookup
- CSV or JSON Output
Start with a Public Post Link
Copy a direct public post, video, or Reel link and choose the matching operation instead of a profile or channel link.
Inspect the Downloaded Rows
Download the CSV or JSON output from one lookup and check the text, author, and likes in a spreadsheet or viewer.
Paginate Through REST Responses
Use documented cursor parameters in REST calls to paginate across pages, while the browser tool returns one page of up to 50 records.
How Do You Call the Comments API with Your API Key?
Send a GET request with x-api-key stored in your environment or credential store, never in URLs or chat messages, and pass documented cursors when paginating.
curl --get "https://socialmediascraper.org/v1/youtube/comments" \
--header "x-api-key: $SOCIALSCRAPER_API_KEY" \
--data-urlencode "url=https://www.youtube.com/watch?v=dQw4w9WgXcQ"
Copy or download the request, Python script, or n8n workflow, then run it in your own environment with an active API key and balance.
Why Keep Comment Text Beside Its Post Context?
A question under a tutorial means something different than a remark on a launch post. For content research, keeping each post link beside its exported comments preserves what people actually responded to.
Tie Questions to Specific Posts
Keep the input post URL with your export so you can see which video or release prompted a question.
Compare Feedback Across Posts
Save exports from several public posts to compare recurring questions side by side in a sheet.
Feed Downstream Analysis Steps
Pass exported CSV or JSON rows into a script, tagger, or dashboard once you collect the raw text.
Who Uses Exported Comment Data for Research?
Teams doing audience research and customer feedback reviews use exported comment rows as clean text input for follow-up posts, notes, and custom scripts. Having ID, text, author, likes, and URL in one table helps you sort or filter comments for your workflow.
Draft Follow-Up Guides from Questions
Scan exported comments from a public video to list repeated questions for your next tutorial or FAQ.
Group Customer Feedback in a Sheet
Open a CSV export in a spreadsheet to sort comments by likes or tag recurring feedback themes manually.
Load JSON into Custom Scripts
Fetch structured JSON via REST with your x-api-key header to feed local scripts or tables.
When Should You Expect Partial or Bounded Results?
One browser lookup returns one page of available public comments, up to 50 records. It gives you a sample for review rather than a complete archive, and some source fields may be missing.
Up to 50 Rows per Browser Page
Use the browser tool for one page of at most 50 records. For further pages, check the REST endpoint’s documented cursor parameters.
Excluded Items and Missing Dates
Deleted, hidden, or restricted comments are unavailable. Browser files use the five stated columns without timestamps, and CSV opens in spreadsheets without being a native XLSX file.
Bounded Slice, Not Full Archive
Treat a lookup as a bounded page of public records rather than a complete thread history or live monitor.
What Questions Come Up About Comments and Exports?
Choose the matching platform operation with a public post URL and x-api-key in REST, or run a free browser lookup to export CSV or JSON up to 50 records per page.
Call the youtube.comments operation with a public YouTube video URL in REST to receive JSON, or export JSON from the browser tool for one page of up to 50 records.
Check whether the endpoint supports pagination cursors and pass the documented cursor parameter on follow-up REST requests; browser lookups return one page of up to 50 records.
It returns one page of up to 50 records in CSV or JSON, which opens in spreadsheets without being a native XLSX file.
The browser tool allows three shared anonymous lookups per network per UTC day without an account, while direct REST calls use an account API key and balance.
Social Media Scraper reads public data only and does not post replies, moderate threads, pull private analytics, or run built-in sentiment scoring.
How Should You Start with One Public Post?
Run a free browser export on a public post or Reel link to inspect the CSV or JSON output, or read the comments API docs for endpoint parameters and pagination.