Social Media Scraper

Public post search

Social Media Search API for Public Posts and Topics

Social Media Scraper offers a social media search API that queries public content by keyword and returns matching search results as JSON for topic or brand research. Preview lookups in your browser, then switch to API-key REST calls for repeatable discovery scripts.

Original technical illustration showing a magnifying glass over public post cards feeding an ordered list of source links
Illustration of public post search filtering into source links.

How to Search Public Posts by Topic or Brand

Start with a narrow query so results stay focused on relevant public threads. On reddit.search, pass your query with documented filter, sort, timeframe, and after parameters, and choose the endpoint built for your target source.

  1. Query and filters
  2. Documented endpoint
  3. JSON records
Illustrative workflow from query parameters to structured JSON records.

Narrow the query before paging

Search public social posts by keyword, product name, or phrase first so early pages stay on topic before you pull deeper cursor pages.

Pass documented Reddit parameters

Send query with supported filter, sort, timeframe, and after values on reddit.search to set result order and step through pages.

Pick a documented source endpoint

Send your request to the endpoint documented for your source, with x-api-key in the header. A request searches that source; use separate calls for other platforms.

How to Call a Search Endpoint with Your API Key

Send a GET request with your x-api-key header and query parameters; saving or transforming responses happens in your own code or workflow.

social-media-search-api.sh
curl --get "https://socialmediascraper.org/v1/reddit/search" \
  --header "x-api-key: $SOCIALSCRAPER_API_KEY" \
  --data-urlencode "query=design software"

Copy or download the request, Python script, or n8n workflow, then run it in your own environment with an active API key and balance.

What You Can Save from JSON Search Results

Public post search returns structured JSON items with available text, titles, source URLs, author details, public counters, and a cursor when present. These social media search API results can feed your own scripts or research tables.

Save text, titles, and links

Keep post titles, available body text, and source URLs together so every JSON item links back to its public post.

Keep author fields and counters

Store available author identifiers and public counts while leaving missing fields null rather than guessing values.

Save cursors for paged reads

Copy the returned cursor into the documented pagination parameter, such as after on reddit.search, to get the next page.

Search response schema fields and types
{
  "items": [
    {
      "id": "string",
      "title": "string | null",
      "text": "string | null",
      "url": "string | null"
    }
  ],
  "cursor": "string | null"
}
Illustrative schema showing example field names and data types, not live search output or verified metrics.

What Networks Does Our Social Media Search API Cover?

Search endpoints in Social Media Scraper accept platform-specific query parameters—with optional filters or pagination where supported—and return public search results in JSON.

PlatformRequest inputAvailable dataAPI docs
RedditSearch query with optional filter, sort, timeframe, trim, and afterAvailable public Reddit search results and optional thread metadataReddit search API docsreddit.search
YouTubeQuery with optional uploadDate, sortBy, type, duration, region, includeExtras, and continuationTokenAvailable public YouTube search results and optional video metadataYouTube search API docsyoutube.search
TikTokSearch query with optional date_posted, sort_by, region, trim, and cursorAvailable public TikTok keyword search results and optional metadataTikTok keyword search API docstiktok.search_keyword
InstagramSearch keyword query parameterAvailable public Instagram search results in structured JSONInstagram search API docsinstagram.search
X / TwitterSearch query with optional cursor parameterAvailable public X search results and optional post metadataX / Twitter search API docstwitter.search

Why Should You Check Links and Context?

Keyword hits can miss sarcasm, off-topic replies, or stale context until you open the original thread. Keeping source URLs, query parameters, and post IDs lets you verify meaning and deduplicate overlapping pulls.

Check context on the source thread

Open linked posts to read surrounding replies and tone before counting a keyword match as a real mention.

Save query inputs for auditability

Record the query string, sort or timeframe filters, and fetch time alongside results so later checks show why an item matched.

Deduplicate items by post ID

Key saved records by post ID across repeated runs so overlapping pages do not inflate counts in your tables.

Who Uses Search Data for Content and Research?

Teams gather public posts to spot brand mentions, map topic threads, and discover content angles around launches or product categories. Keep query terms focused and save source links so readers can check the original posts.

Find brand mentions in public posts

Run targeted brand and product queries to find brand mentions with an API or browser lookup and see how people talk about a release.

Map topic and category threads

Compare discussions across topics and rival tools to surface recurring questions that shape editorial calendars and research notes.

Send JSON into your own tools

Load returned JSON records into your own scripts, spreadsheets, or analysis prompts when you need custom grouping or summaries.

What Limits Apply to Coverage and Quotas?

Endpoints, sorts, and timeframes return different subsets of public posts. One page is not a full archive, and repeating a query can return different results as posts change or disappear.

Expect page slices, not full archives

Treat each response page as a bounded slice set by endpoint parameters and cursors rather than a complete historical dump.

Watch for changing public posts

Public posts and counts can be edited or removed after collection, so repeating a search can return different items.

Handle null fields and daily quotas

Check for null or missing fields before reading text, authors, or counters. Review request limits and your account balance before collecting more pages.

How Does Public Social Search Work in Practice?

Read the API documentation →

How to Try a Search Lookup or Check the Reference

Run a browser lookup on the Reddit research tool or check the endpoint parameters to plan your query.