Crawlora
ProductPlatformsUse CasesDocsPricingCompareContact
Sign inTry Playground Console
Crawlora

Structured public web data APIs for search, maps, geocoding, streaming, travel, real estate, marketplaces, apps, social, audio, crypto, finance, and AI workflows with managed execution and credit-based usage.

Product

Web Scraping APIFeaturesPlatformsTravel APIsReal Estate APIsPricing

Platforms

Google SearchGoogle MapsGoogle TrendsAmazonZillowTripAdvisorShopifyAll platforms

Developers

DocsGetting StartedAPI ExamplesPlaygroundSDKsChangelogBlogGitHub

Use cases

SERP MonitoringGoogle Maps LeadsProperty Market IntelligenceAmazon Product MonitoringCrypto Market ResearchAI Agent Web DataAll use cases

Legal

ContactTermsPrivacy
Product
Web Scraping APIFeaturesPlatformsTravel APIsReal Estate APIsPricing
Platforms
Google SearchGoogle MapsGoogle TrendsAmazonZillowTripAdvisorShopifyAll platforms
Developers
DocsGetting StartedAPI ExamplesPlaygroundSDKsChangelogBlogGitHub
Use cases
SERP MonitoringGoogle Maps LeadsProperty Market IntelligenceAmazon Product MonitoringCrypto Market ResearchAI Agent Web DataAll use cases
Legal
ContactTermsPrivacy
© 2026 Crawlora. All rights reserved.·Built by Tony Wang
System statusCrawlora API status
Docs menu

Start here

OverviewGetting StartedAuthenticationRate Limits and CreditsError Handling

Examples

ExamplescURLTypeScriptPythonGo

Recipes

RecipesSERP MonitoringGoogle Maps LeadsApp Review AnalysisYouTube TranscriptsTikTok Trend ResearchAmazon Product MonitoringAI Agent Web Data

API Reference

AirbnbAmazonApplePodcastsAppStoreBingBrandBraveCoinGeckoDatasetseBayGeocodingGoogleGoogle FinanceGoogle MapGoogle TrendsGooglePlayInstagramJustWatchLinkedInProductHuntRedditShop.appShopifySimilarWebSpotifySpotifyPodcastsTikTokTripAdvisorTrustpilotYahoo FinanceYouTubeZillow

Start here

OverviewGetting StartedAuthenticationRate Limits and CreditsError Handling

Examples

ExamplescURLTypeScriptPythonGo

Recipes

RecipesSERP MonitoringGoogle Maps LeadsApp Review AnalysisYouTube TranscriptsTikTok Trend ResearchAmazon Product MonitoringAI Agent Web Data

API Reference

AirbnbAmazonApplePodcastsAppStoreBingBrandBraveCoinGeckoDatasetseBayGeocodingGoogleGoogle FinanceGoogle MapGoogle TrendsGooglePlayInstagramJustWatchLinkedInProductHuntRedditShop.appShopifySimilarWebSpotifySpotifyPodcastsTikTokTripAdvisorTrustpilotYahoo FinanceYouTubeZillow
  1. Home
  2. /Docs
  3. /Reddit
  4. /Reddit Subreddit Posts API

Reddit API endpoint

Reddit Subreddit Posts API

Use Crawlora's Reddit Subreddit Posts API to extract supported public Reddit data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.

GETapiKey1 credit/requestRedditreddit.subredditPostsResponseDoc/reddit/subreddit/{subreddit}/posts

Endpoint facts

Method
GET
API path
/reddit/subreddit/{subreddit}/posts
Auth
apiKey
Credits
1 credit/request
Platform
Reddit
Response schema
#/definitions/reddit.subredditPostsResponseDoc

Overview

Returns normalized public posts from a subreddit. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.

Reddit platform pageTry Reddit Subreddit Posts API in PlaygroundCrawlora API pricingReddit API documentation

Request parameters

Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.

ParameterTypeRequiredDefaultDescriptionExample
subreddit (path)stringYesSubreddit name, without r/
sortstringNoSort: hot, new, top, or rising Allowed values: hot, new, top, rising
timestringNoTime window for top sort: hour, day, week, month, year, or all Allowed values: hour, day, week, month, year, all
limitintegerNo25 and clamps to 100Maximum posts, defaults to 25 and clamps to 100
afterstringNoReddit pagination token
x-api-key (header)stringYesAPI key required

cURL example

curl -X GET "https://api.crawlora.net/api/v1/reddit/subreddit/%3Csubreddit%3E/posts?sort=hot&time=hour&limit=10" \
  -H "x-api-key: $CRAWLORA_API_KEY"

Authentication

Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.

Billing

Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.

Credit cost
1 credit/request
Charged response
Successful 2xx responses
PlanPriceIncluded creditsDaily capRate limitOverage
Free$0/mo2,000500 daily credits5/minNo overage
Starter$9/mo20,0005,000 daily credits15/min$0.75/1,000 overage credits when enabled
Growth$29/mo100,00025,000 daily credits45/min$0.45/1,000 overage credits when enabled
Pro$79/mo400,000No daily cap120/min$0.30/1,000 overage credits
Business$199/mo1,200,000No daily cap300/min$0.20/1,000 overage credits
Enterprise$499/mo5,000,000No daily cap1,000/min$0.12/1,000 overage credits

Infrastructure behavior

This endpoint is executed through Crawlora's managed scraping infrastructure.

  • Proxy strategy: managed automatically where needed
  • Browser rendering: enabled for supported targets that require rendered HTML or JavaScript execution
  • Browser cluster: supported dynamic workloads can be routed through distributed browser instances
  • Retry behavior: automatic retry/fallback may be used depending on endpoint type
  • Challenge handling: challenged pages or unusable upstream HTML are detected and surfaced clearly when they cannot be used
  • Billing: credits are charged only for successful 2xx responses
  • Observability: responses include request context where available

Response behavior

Example response: ```json {"code":200,"msg":"OK","data":{"subreddit":"OpenAI","sort":"hot","posts":[{"id":"1abcxyz","name":"t3_1abcxyz","subreddit":"OpenAI","title":"OpenAI discussion thread","url":"https://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/","author":{"name":"sample_user","profile_url":"https://www.reddit.com/user/sample_user/"},"created":"2024-04-19T00:00:00Z","selftext":"Discussion body","source_feed_url":"https://www.reddit.com/r/OpenAI?limit=25"}],"pagination":{"limit":25,"after":"t3_1abcxyz"},"source":{"type":"feed","url":"https://www.reddit.com/r/OpenAI?limit=25"}}} ```

Catalog quality warnings

  • missing example for required path param: subreddit

Error behavior

Crawlora does not silently return bad data when the upstream page cannot be used.

StatusCommon failure case
400Invalid input or missing required parameter
429Plan or endpoint rate limit exceeded
500Internal execution error
502Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved

When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.

Failure responses

StatusDescriptionSchema
400Bad Request#/definitions/app.Response
404Not Found#/definitions/app.Response
429Too Many Requests#/definitions/app.Response
503Service Unavailable#/definitions/app.Response

Example JSON response

{
  "code": 200,
  "msg": "OK",
  "data": {
    "subreddit": "OpenAI",
    "sort": "hot",
    "posts": [
      {
        "id": "1abcxyz",
        "name": "t3_1abcxyz",
        "subreddit": "OpenAI",
        "title": "OpenAI discussion thread",
        "url": "https://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/",
        "author": {
          "name": "sample_user",
          "profile_url": "https://www.reddit.com/user/sample_user/"
        },
        "created": "2024-04-19T00:00:00Z",
        "selftext": "Discussion body",
        "source_feed_url": "https://www.reddit.com/r/OpenAI?limit=25"
      }
    ],
    "pagination": {
      "limit": 25,
      "after": "t3_1abcxyz"
    },
    "source": {
      "type": "feed",
      "url": "https://www.reddit.com/r/OpenAI?limit=25"
    }
  }
}

Request schema

No body schema

Response schema

#/definitions/reddit.subredditPostsResponseDoc

FieldTypeRequiredEnumBoundsExampleDescription
codeintegerNo200
datareddit.SubredditPostsResponseNo
data.paginationreddit.PaginationNo
data.pagination.afterstringNot3_1abcxyz
data.pagination.limitintegerNo25
data.postsarrayNo
data.posts[].authorreddit.AuthorNo
data.posts[].author.namestringNoreddit_user
data.posts[].author.profile_urlstringNohttps://www.reddit.com/user/reddit_user/
data.posts[].comment_countintegerNo45
data.posts[].createdstringNo2024-04-19T00:00:00Z
data.posts[].created_utcintegerNo1713484800
data.posts[].domainstringNoself.OpenAI
data.posts[].flairstringNoDiscussion
data.posts[].idstringNo1abcxyz
data.posts[].is_selfbooleanNo
data.posts[].is_videobooleanNo
data.posts[].lockedbooleanNo
data.posts[].namestringNot3_1abcxyz
data.posts[].over_18booleanNo
data.posts[].permalinkstringNohttps://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/
data.posts[].scoreintegerNo123
data.posts[].selftextstringNoDiscussion body
data.posts[].source_feed_urlstringNohttps://www.reddit.com/r/OpenAI/
data.posts[].stickiedbooleanNo
data.posts[].subredditstringNoOpenAI
data.posts[].thumbnailstringNohttps://b.thumbs.redditmedia.com/example.jpg
data.posts[].titlestringNoOpenAI discussion thread
data.posts[].upvote_rationumberNo0.95
data.posts[].urlstringNohttps://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/
data.sortstringNohot
data.sourcereddit.SourceDetailNo
data.source.typestringNofeed
data.source.urlstringNohttps://www.reddit.com/r/OpenAI/
data.subredditstringNoOpenAI
data.timestringNoweek
msgstringNoOK

Code examples

Use environment variables for secrets and keep Crawlora API keys server-side.

curl -X GET "https://api.crawlora.net/api/v1/reddit/subreddit/%3Csubreddit%3E/posts?sort=hot&time=hour&limit=10" \
  -H "x-api-key: $CRAWLORA_API_KEY"

Responsible public web data workflows

Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.

Read Crawlora terms

Related

More Reddit endpoint docsReddit scraper API platform pageCrawlora API pricingTry Reddit Subreddit Posts API in PlaygroundReddit Comments API documentationReddit Post API documentationReddit Search API documentation
Open in PlaygroundBack to group