# Socify API — Reddit endpoints # Base URL: https://trysocify.com # API host: https://api.trysocify.com # Auth: Authorization: Bearer # Full catalog: https://trysocify.com/llms-endpoints.txt | JSON: https://trysocify.com/llms.json # Agents map: https://trysocify.com/agents.txt | Index: https://trysocify.com/llms.txt # Docs hub: https://trysocify.com/docs/api/reddit | OpenAPI: https://trysocify.com/openapi.json 3 documented Reddit operations. Public subreddit posts, keyword search, and comments. Do not invent paths — only the routes below (and their linked markdown pages) are supported. ## GET /api/v1/reddit/search Reddit Keyword Search Search public Reddit posts by keyword. Credit cost: 2 credits per request. Failed requests are free. Auth: Authorization: Bearer Docs: https://trysocify.com/docs/api/reddit/search.md HTML: https://trysocify.com/docs/api/reddit/search SEO: https://trysocify.com/reddit/search Parameters: - name (required, string) - Keyword to search. Example: `bitcoin`. - sort (optional, string) - relevance | hot | new | top | comments. Defaults to relevance. Example: `relevance`. - period (optional, string) - hour | day | week | month | year | all. Defaults to week. Example: `week`. - cursor (optional, string) - Pagination cursor from a previous nextCursor. curl: curl -sS "https://trysocify.com/api/v1/reddit/search?name=bitcoin&sort=relevance&period=week" \ -H "Authorization: Bearer $SOCIFY_KEY" ## GET /api/v1/reddit/posts Reddit Subreddit Posts Fetch posts from a public subreddit. Credit cost: 2 credits per request. Failed requests are free. Auth: Authorization: Bearer Docs: https://trysocify.com/docs/api/reddit/posts.md HTML: https://trysocify.com/docs/api/reddit/posts SEO: https://trysocify.com/reddit/posts Parameters: - name (required, string) - Subreddit name without r/. Example: `SkincareAddiction`. - sort (optional, string) - hot | new | top | rising. Defaults to new. Example: `new`. - period (optional, string) - Time filter for sort=top. Defaults to week. Example: `week`. - cursor (optional, string) - Pagination cursor from a previous nextCursor. curl: curl -sS "https://trysocify.com/api/v1/reddit/posts?name=SkincareAddiction&sort=new&period=week" \ -H "Authorization: Bearer $SOCIFY_KEY" ## GET /api/v1/reddit/comments Reddit Post Comments Fetch public comments for a post via its permalink. Credit cost: 3 credits per request. Failed requests are free. Auth: Authorization: Bearer Docs: https://trysocify.com/docs/api/reddit/comments.md HTML: https://trysocify.com/docs/api/reddit/comments SEO: https://trysocify.com/reddit/comments Parameters: - permalink (required, string) - Post permalink from Search or Subreddit Posts. Example: `/r/SkincareAddiction/comments/8pv3gg/ba_finished_my_5_month_course_of_accutane_just_in/`. curl: curl -sS "https://trysocify.com/api/v1/reddit/comments?permalink=%2Fr%2FSkincareAddiction%2Fcomments%2F8pv3gg%2Fba_finished_my_5_month_course_of_accutane_just_in%2F" \ -H "Authorization: Bearer $SOCIFY_KEY"