{"uid":"cap_C21tU--Ola9CUAmfD0Lob","slug":"pa1m-reddit-posts-api-0235f345","name":"Pa1m Reddit Posts API","description":"Reddit data API for AI agents — pay-per-request via x402 USDC on Base","url":"https://reddit.hypa1m.xyz/posts","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["subreddit"],"properties":{"t":{"type":"string","description":"Time window for top/controversial: hour, day, week, month, year or all"},"sort":{"type":"string","description":"hot, new, top, rising, controversial or best"},"after":{"type":"string","description":"Pagination cursor from the previous response"},"limit":{"type":"integer","description":"1-100, default 25"},"subreddit":{"type":"string","description":"Subreddit name without the r/ prefix"}}}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"after":null,"posts":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YC9ozYIokhkjxg1tYdn8t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches Reddit posts from a specified subreddit via a pay-per-request API using x402 USDC micropayments on Base","exampleAgentPrompt":"Pull the latest posts from r/MachineLearning on Reddit so I can see what the community is discussing right now.","exampleUseCases":[{"title":"Subreddit trend monitoring for research","prompt":"Grab the current posts from r/investing so I can see what financial topics Reddit is talking about today."},{"title":"Community sentiment data gathering","prompt":"Fetch posts from r/ChatGPT so I can get a sense of what people are saying about AI tools this week."},{"title":"Niche content curation pipeline","prompt":"Get me the latest posts from r/homebrewing — I want to pull content ideas from the community for a newsletter."}],"resultDescription":"Returns a JSON object containing an array of Reddit posts from the specified subreddit and a pagination cursor (`after`) for fetching subsequent pages; posts array may be empty if no content is found.","failureModes":["Missing or invalid subreddit parameter returns an error or empty posts array","Payment failure via x402 prevents access to the endpoint","Subreddit does not exist or is private/banned, returning empty results","Rate limiting or upstream Reddit API unavailability causing failures","Invalid HTTP method (non-GET/HEAD/DELETE) rejected by the schema"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to retrieve Reddit post data programmatically without managing Reddit OAuth credentials, and the use case suits a pay-per-request micropayment model via USDC on Base. Ideal for lightweight, on-demand Reddit data fetching in agent workflows where you want to avoid subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:35:17.135Z","isFirstParty":false}