---
title: "Search Public Social"
method: POST
path: "/api/v1/social/search"
tags: ["public-social-collection"]
---

# Search Public Social

`POST /api/v1/social/search`

## Request

- Base URL: `https://smartcrawler.io` (the document declares no server; this is the origin it was published from)
- URL: `https://smartcrawler.io/api/v1/social/search`
- Auth: none declared

## Headers

- `X-Workspace-ID` string, nullable
- `authorization` string
- `X-API-Key` string

## Request body

- SocialSearchRequest
  - `platform` string, required
  - `query` string, required
  - `limit` integer
  - `cursor` string, nullable
  - `detail_level` 'list' | 'detail'
  - `comments_per_content` integer
  - `sort` 'relevance' | 'recent' | 'popular'
  - `time_filter` 'all' | 'day' | 'week' | 'month' | 'year'

## Response `200`

Successful Response

- SocialSearchResponse
  - `platform` string, required
  - `query` string, required
  - `topics` SocialSearchTopic[]
    - `platform` string, required
    - `id` string, required
    - `name` string, required
    - `url` string, required
    - `topic_type` string
    - `result_count` integer, nullable
    - `metadata` object
  - `contents` PublicContent[]
    - `platform` string, required
    - `id` string, required
    - `author_id` string, nullable
    - `author_handle` string, nullable
    - `url` string, required
    - `content_type` string, required
    - `text` string, nullable
    - `title` string, nullable
    - `published_at` string, date-time, nullable
    - `media_urls` string[]
    - `thumbnail_url` string, nullable
    - `duration_seconds` number, nullable
    - `engagement` Engagement: Common public counters; unsupported counters remain ``None``.
      - `likes` integer, nullable
      - `comments` integer, nullable
      - `shares` integer, nullable
      - `views` integer, nullable
      - `reactions` integer, nullable
      - `saves` integer, nullable
      - `upvotes` integer, nullable
      - `score` integer, nullable
    - `metadata` object
  - `comments` PublicComment[]
    - `platform` string, required
    - `id` string, required
    - `content_id` string, required
    - `author_id` string, nullable
    - `author_handle` string, nullable
    - `author_display_name` string, nullable
    - `text` string, nullable
    - `published_at` string, date-time, nullable
    - `parent_comment_id` string, nullable
    - `url` string, nullable
    - `engagement` Engagement: Common public counters; unsupported counters remain ``None``.
      - `likes` integer, nullable
      - `comments` integer, nullable
      - `shares` integer, nullable
      - `views` integer, nullable
      - `reactions` integer, nullable
      - `saves` integer, nullable
      - `upvotes` integer, nullable
      - `score` integer, nullable
    - `metadata` object
  - `next_cursor` string, nullable
  - `warnings` CollectionWarning[]
    - `code` string, required
    - `resource` 'profile' | 'content' | 'comments', nullable
    - `message` string, required
    - `retryable` boolean
  - `provenance` Provenance[]
    - `source` string, required
    - `fetched_at` string, date-time
    - `public_only` boolean
    - `authenticated` boolean
  - `counts` object
  - `storage` StorageSummary
    - `run_id` integer, required
    - `workspace_id` integer, required
    - `profiles` integer
    - `contents` integer
    - `comments` integer
    - `versions_created` integer
    - `engagement_snapshots` integer
    - `cursors` integer
    - `search_hits` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent.md) · [All operations](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/revisions/a0eb313934e4?raw)
