Social Media Scraper

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.

Editorial technical illustration showing a comment thread layout organized into rows on a sheet beside post context, with no live data or real accounts.
Illustrative layout of comment rows beside post context, not a real query result.

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.

Example Comment Record Fields and Types
{
  "items": [
    {
      "id": "string",
      "text": "string",
      "url": "string | null",
      "author": {
        "handle": "string | null"
      },
      "metrics": {
        "likes": "number | null"
      }
    }
  ],
  "cursor": "string | null"
}
Example field schema showing field names and value types only, not a real query result or live comments.

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.

PlatformRequest inputAvailable dataAPI docs
YouTubeVideo url with optional order and continuationTokenAvailable comment text, author details, and optional countersYouTube comments API docsyoutube.comments
InstagramPost or Reel url with optional include_replies and cursorAvailable comment text, author fields, and optional countersInstagram comments API docsinstagram.comments
TikTokVideo url with optional trim and cursorAvailable comment text, author details, and optional countersTikTok comments API docstiktok.comments
RedditThread url with optional sort, trim, and cursorAvailable thread comment text, authors, and optional countersReddit comments API docsreddit.comments
FacebookPost url or feedback_id with optional sort and cursorAvailable public comment text, authors, and optional countersFacebook 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.

  1. Post or Reel URL
  2. Comment Lookup
  3. CSV or JSON Output
Illustrative flow from post URL input to comment lookup and CSV or JSON export.

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.

social-media-comments-api.sh
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?

Read the API documentation →

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.