{"id":"496b4ff0-9a39-4b37-918b-87babe5cb557","shortId":"bmpm7R","kind":"x402","title":"AnyAPI reddit.subreddit_posts (Reddit Subreddit Posts)","tagline":"AnyAPI reddit.subreddit_posts (Reddit Subreddit Posts)","description":"AnyAPI reddit.subreddit_posts (Reddit Subreddit Posts)","tags":[],"capabilities":["x402-eip155:8453","http-post","input:after","input:limit","input:sort","input:subreddit","input:timeframe"],"categories":[],"synonyms":[],"warnings":[],"endpointUrl":"https://api.getanyapi.com/v1/run/reddit.subreddit_posts","protocol":"x402","transport":"http","auth":{"type":"x402","details":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","amount":"2000","scheme":"exact","network":"eip155:8453","mimeType":"application/json","resource":"https://api.getanyapi.com/v1/run/reddit.subreddit_posts","extensions":{"bazaar":{"info":{"input":{"body":{"limit":5,"subreddit":"programming"},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json"}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"body":{"type":"object","title":"Reddit subreddit posts input","example":{"limit":5,"subreddit":"programming"},"required":["subreddit"],"properties":{"sort":{"enum":["hot","new","top"],"type":"string","default":"hot","description":"Listing sort order."},"after":{"type":"string","description":"Pagination cursor from a previous response (its `nextCursor`). Fetches the page that follows; omit for the first page."},"limit":{"type":"integer","default":25,"maximum":100,"minimum":1,"description":"Requested number of posts. Note: the upstream returns one page (about 25 posts) per call; values larger than a page are not delivered in a single response. To fetch more, page with the `after` cursor returned as `nextCursor`."},"subreddit":{"type":"string","description":"Subreddit name without the leading r/ (e.g. \"golang\")."},"timeframe":{"enum":["all","year","month","week","day","hour"],"type":"string","description":"Time window, applied when sort is \"top\" (e.g. \"year\" for the year's top posts). Ignored for hot/new. Omit to default to the current day for top."}},"additionalProperties":false}}},"output":{"type":"object","properties":{"example":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"Reddit subreddit posts output","required":["posts","nextCursor"],"properties":{"posts":{"type":"array","items":{"type":"object","required":["id","title","author","score","numComments","url","permalink","createdUtc","subreddit"],"properties":{"id":{"type":"string","description":"Reddit post ID (base-36, without the t3_ prefix)."},"url":{"type":"string","description":"The post's destination link (the external URL for link posts, or the thread URL for self posts)."},"score":{"type":"integer","description":"Net score (upvotes minus downvotes) at fetch time."},"title":{"type":"string","description":"Post title."},"author":{"type":"string","description":"Author username, without the u/ prefix."},"permalink":{"type":"string","description":"Canonical reddit.com thread path for the post (e.g. \"/r/golang/comments/abc123/...\"). Differs from url, which is the destination link. Empty if the upstream omits it."},"subreddit":{"type":"string","description":"Subreddit name, without the r/ prefix."},"createdUtc":{"type":"number","description":"Post creation time as a UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds."},"numComments":{"type":"integer","description":"Total number of comments on the post."}}}},"nextCursor":{"type":"string","description":"Cursor for the next page of results; pass it back as the `after` input to fetch the following page. Empty string when there are no more results."}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"provider":{"type":"string","description":"Always \"AnyAPI\"."}}}}}}}}},"description":"AnyAPI reddit.subreddit_posts (Reddit Subreddit Posts)","outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"sort":{"enum":["hot","new","top"],"type":"string","default":"hot","description":"Listing sort order."},"after":{"type":"string","description":"Pagination cursor from a previous response (its `nextCursor`). Fetches the page that follows; omit for the first page."},"limit":{"type":"integer","default":25,"maximum":100,"minimum":1,"description":"Requested number of posts. Note: the upstream returns one page (about 25 posts) per call; values larger than a page are not delivered in a single response. To fetch more, page with the `after` cursor returned as `nextCursor`."},"subreddit":{"type":"string","description":"Subreddit name without the leading r/ (e.g. \"golang\")."},"timeframe":{"enum":["all","year","month","week","day","hour"],"type":"string","description":"Time window, applied when sort is \"top\" (e.g. \"year\" for the year's top posts). Ignored for hot/new. Omit to default to the current day for top."}},"discoverable":true},"output":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"Reddit subreddit posts output","required":["posts","nextCursor"],"properties":{"posts":{"type":"array","items":{"type":"object","required":["id","title","author","score","numComments","url","permalink","createdUtc","subreddit"],"properties":{"id":{"type":"string","description":"Reddit post ID (base-36, without the t3_ prefix)."},"url":{"type":"string","description":"The post's destination link (the external URL for link posts, or the thread URL for self posts)."},"score":{"type":"integer","description":"Net score (upvotes minus downvotes) at fetch time."},"title":{"type":"string","description":"Post title."},"author":{"type":"string","description":"Author username, without the u/ prefix."},"permalink":{"type":"string","description":"Canonical reddit.com thread path for the post (e.g. \"/r/golang/comments/abc123/...\"). Differs from url, which is the destination link. Empty if the upstream omits it."},"subreddit":{"type":"string","description":"Subreddit name, without the r/ prefix."},"createdUtc":{"type":"number","description":"Post creation time as a UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds."},"numComments":{"type":"integer","description":"Total number of comments on the post."}}}},"nextCursor":{"type":"string","description":"Cursor for the next page of results; pass it back as the `after` input to fetch the following page. Empty string when there are no more results."}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"provider":{"type":"string","description":"Always \"AnyAPI\"."}}}},"maxTimeoutSeconds":60}]},"qualityScore":"0.000","qualityRationale":null,"verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":null,"enrichmentVersion":1,"enrichedAt":null,"embedding":null,"createdAt":"2026-06-23T08:07:17.782Z","updatedAt":"2026-07-17T01:30:53.468Z","lastSeenAt":"2026-07-17T01:30:53.468Z","tsv":"'anyapi':1,7,13 'http-post' 'input:after' 'input:limit' 'input:sort' 'input:subreddit' 'input:timeframe' 'post':3,6,9,12,15,18 'reddit':4,10,16 'reddit.subreddit':2,8,14 'subreddit':5,11,17 'x402-eip155:8453'","prices":[{"id":"6dc42940-2946-4ffc-a368-1508e76ccbe7","listingId":"496b4ff0-9a39-4b37-918b-87babe5cb557","amountUsd":null,"unit":"per_call","nativeCurrency":"USD COIN","nativeAmount":null,"chain":"base","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","paymentMethod":"x402-usd coin","isPrimary":true,"details":{"scheme":"exact","mime_type":"application/json","accepts_all":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","amount":"2000","scheme":"exact","network":"eip155:8453","mimeType":"application/json","resource":"https://api.getanyapi.com/v1/run/reddit.subreddit_posts","extensions":{"bazaar":{"info":{"input":{"body":{"limit":5,"subreddit":"programming"},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json"}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"body":{"type":"object","title":"Reddit subreddit posts input","example":{"limit":5,"subreddit":"programming"},"required":["subreddit"],"properties":{"sort":{"enum":["hot","new","top"],"type":"string","default":"hot","description":"Listing sort order."},"limit":{"type":"integer","default":25,"maximum":100,"minimum":1,"description":"Maximum number of posts to return."},"subreddit":{"type":"string","description":"Subreddit name without the leading r/ (e.g. \"golang\")."}},"additionalProperties":false}}},"output":{"type":"object","properties":{"example":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"Reddit subreddit posts output","required":["posts"],"properties":{"posts":{"type":"array","items":{"type":"object","required":["id","title","author","score","numComments","url","createdUtc","subreddit"],"properties":{"id":{"type":"string"},"url":{"type":"string"},"score":{"type":"integer"},"title":{"type":"string"},"author":{"type":"string"},"subreddit":{"type":"string"},"createdUtc":{"type":"number"},"numComments":{"type":"integer"}},"additionalProperties":false}}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"provider":{"type":"string","description":"Always \"AnyAPI\"."}}}}}}}}},"description":"AnyAPI reddit.subreddit_posts (Reddit Subreddit Posts)","outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"sort":{"enum":["hot","new","top"],"type":"string","default":"hot","description":"Listing sort order."},"limit":{"type":"integer","default":25,"maximum":100,"minimum":1,"description":"Maximum number of posts to return."},"subreddit":{"type":"string","description":"Subreddit name without the leading r/ (e.g. \"golang\")."}},"discoverable":true},"output":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"Reddit subreddit posts output","required":["posts"],"properties":{"posts":{"type":"array","items":{"type":"object","required":["id","title","author","score","numComments","url","createdUtc","subreddit"],"properties":{"id":{"type":"string"},"url":{"type":"string"},"score":{"type":"integer"},"title":{"type":"string"},"author":{"type":"string"},"subreddit":{"type":"string"},"createdUtc":{"type":"number"},"numComments":{"type":"integer"}},"additionalProperties":false}}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"provider":{"type":"string","description":"Always \"AnyAPI\"."}}}},"maxTimeoutSeconds":60}],"asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","max_timeout_seconds":60},"createdAt":"2026-06-23T08:07:17.782Z"}],"sources":[{"listingId":"496b4ff0-9a39-4b37-918b-87babe5cb557","source":"x402_bazaar","sourceId":"https://api.getanyapi.com/v1/run/reddit.subreddit_posts","sourceUrl":"https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources","isPrimary":true,"firstSeenAt":"2026-06-23T08:07:17.782Z","lastSeenAt":"2026-07-17T01:30:53.468Z"}],"details":{"listingId":"496b4ff0-9a39-4b37-918b-87babe5cb557","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"sort":{"enum":["hot","new","top"],"type":"string","default":"hot","description":"Listing sort order."},"after":{"type":"string","description":"Pagination cursor from a previous response (its `nextCursor`). Fetches the page that follows; omit for the first page."},"limit":{"type":"integer","default":25,"maximum":100,"minimum":1,"description":"Requested number of posts. Note: the upstream returns one page (about 25 posts) per call; values larger than a page are not delivered in a single response. To fetch more, page with the `after` cursor returned as `nextCursor`."},"subreddit":{"type":"string","description":"Subreddit name without the leading r/ (e.g. \"golang\")."},"timeframe":{"enum":["all","year","month","week","day","hour"],"type":"string","description":"Time window, applied when sort is \"top\" (e.g. \"year\" for the year's top posts). Ignored for hot/new. Omit to default to the current day for top."}},"discoverable":true},"output":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"Reddit subreddit posts output","required":["posts","nextCursor"],"properties":{"posts":{"type":"array","items":{"type":"object","required":["id","title","author","score","numComments","url","permalink","createdUtc","subreddit"],"properties":{"id":{"type":"string","description":"Reddit post ID (base-36, without the t3_ prefix)."},"url":{"type":"string","description":"The post's destination link (the external URL for link posts, or the thread URL for self posts)."},"score":{"type":"integer","description":"Net score (upvotes minus downvotes) at fetch time."},"title":{"type":"string","description":"Post title."},"author":{"type":"string","description":"Author username, without the u/ prefix."},"permalink":{"type":"string","description":"Canonical reddit.com thread path for the post (e.g. \"/r/golang/comments/abc123/...\"). Differs from url, which is the destination link. Empty if the upstream omits it."},"subreddit":{"type":"string","description":"Subreddit name, without the r/ prefix."},"createdUtc":{"type":"number","description":"Post creation time as a UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds."},"numComments":{"type":"integer","description":"Total number of comments on the post."}}}},"nextCursor":{"type":"string","description":"Cursor for the next page of results; pass it back as the `after` input to fetch the following page. Empty string when there are no more results."}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"provider":{"type":"string","description":"Always \"AnyAPI\"."}}}},"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"x402_version":2,"resource_type":"http","bazaar_last_updated":"2026-07-01T23:17:03.105Z"},"updatedAt":"2026-07-17T01:30:53.468Z"}}