Read

Pull trending content, search posts, and monitor feeds from any platform through one endpoint.

POST/v1/social/read

Example request

import socialrouter

client = socialrouter.Client("sr_your_api_key")

trends = client.read(
    platform="reddit",
    source="r/wallstreetbets",
    sort="hot",
    limit=25
)

for post in trends.items:
    print(f"{post.author}: {post.text[:80]}")
    print(f"  {post.engagement.total:,} engagement")

Request body

FieldTypeDescription
platformrequiredstringTarget platform: x, reddit, instagram, tiktok, discord, telegram, youtube, threads.
sourcestringPlatform-specific source. e.g. "r/wallstreetbets" for Reddit, "@username" for X, channel ID for YouTube.
querystringSearch query. Cannot be used together with `source`.
sortstringSort order: hot, new, top, engagement. Default: hot.
limitintegerNumber of results to return. Min 1, max 100. Default: 25.
filtersobjectOptional filters: min_engagement, media_only, time_range.

Example body

{
  "platform": "reddit",
  "source": "r/wallstreetbets",
  "sort": "hot",
  "limit": 25,
  "filters": {
    "min_engagement": 100,
    "media_only": true,
    "time_range": "24h"
  }
}

Response

FieldTypeDescription
itemsarrayArray of content items matching the query.
items[].idstringUnique platform-native ID for the item.
items[].platformstringSource platform identifier.
items[].authorstringOriginal poster handle, prefixed with platform convention (u/, @).
items[].textstringPost body text. Mentions and hashtags preserved as-is.
items[].media_urlstring | nullURL to attached media. Null if text-only.
items[].media_typestring | nullimage, video, gif, or null.
items[].engagementobjectPlatform-specific engagement metrics, normalized.
items[].published_atstringISO 8601 timestamp of original post.
items[].urlstringDirect link to the post on the source platform.
metaobjectRequest metadata including credits consumed.

Example response

{
  "items": [
    {
      "id": "abc123",
      "platform": "reddit",
      "author": "u/deepvalue",
      "text": "GME to the moon 🚀",
      "media_url": "https://i.redd.it/example.jpg",
      "media_type": "image",
      "engagement": {
        "upvotes": 15234,
        "comments": 892,
        "awards": 47,
        "total": 16173
      },
      "published_at": "2026-04-25T10:30:00Z",
      "url": "https://reddit.com/r/wallstreetbets/..."
    }
  ],
  "meta": {
    "platform": "reddit",
    "source": "r/wallstreetbets",
    "count": 25,
    "credits_used": 0.025
  }
}