{"uid":"cap_vicH4dmWXf7Rl3tg741W3","slug":"api-direct-get-reddit-post-by-url-or-id-c6084263","name":"API Direct – Get Reddit Post by URL or ID","description":"Get one Reddit post by URL or post ID.","url":"https://x402.apidirect.io/v1/reddit/post?utm_source=zero.xyz","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":[],"properties":{"url":{"type":"string","maxLength":500,"description":"Reddit post URL, e.g. https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/ or https://redd.it/1wwv97o (max 500 characters). Provide exactly one of url or post_id."},"post_id":{"type":"string","description":"Reddit post ID, e.g. 1wwv97o (a t3_ prefix is accepted). Provide exactly one of url or post_id."},"get_sentiment":{"type":"boolean","default":false,"description":"Set to true to add AI emotion analysis to each post (returned in the `post` object). Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, "}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xW89j7Swd6Zd3ME4_7wFE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches full details for a single Reddit post given its URL or post ID, with optional AI sentiment analysis.","exampleAgentPrompt":"Can you pull up the Reddit post at https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/ and include the sentiment analysis so I can see how people are reacting emotionally?","exampleUseCases":[{"title":"Monitor viral Reddit thread","prompt":"Grab all the details for this Reddit post — https://www.reddit.com/r/worldnews/comments/1wwv97o/ — including any sentiment data so I can see whether the overall tone is positive or negative."},{"title":"Fact-check a shared Reddit link","prompt":"Someone sent me this Reddit link: https://redd.it/1wwv97o — can you fetch the actual post so I can see the title, body, and source?"},{"title":"Research post engagement metrics","prompt":"Look up Reddit post ID 1wwv97o and tell me its score, number of comments, subreddit, author, and creation date."}],"resultDescription":"Returns a post object containing the Reddit post's title, body text, author, subreddit, score, upvote ratio, comment count, creation timestamp, URL, and other metadata. When get_sentiment is true, adds a sentiment object with emotion scores (joy, trust, fear, surprise, sadness, disgust, anger, anticipation each 0–100), dominant_emotion, emotional_intensity (0–10), and polarity.","failureModes":["Invalid or malformed post URL returns an error","Post ID not found or deleted returns a 404-style error","Providing both url and post_id simultaneously is rejected","Providing neither url nor post_id returns a validation error","Private or quarantined subreddit posts may be inaccessible","Rate limiting or payment failure returns a 402 error"],"whenToPreferThis":"Use this endpoint when you have a specific Reddit post URL or post ID and need full post details plus optional emotion/sentiment scoring. Prefer this over a Reddit search endpoint when you already know the exact post you want — it is faster and more precise than keyword search. Ideal for agents that need to verify, summarize, or emotionally profile a particular Reddit submission.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:07:47.745Z","isFirstParty":false,"canonicalSlug":"api-direct-get-reddit-post-by-url-or-id-c6084263"}