{"uid":"cap_P2y6qilz2UIiyfudbvNgQ","slug":"twitter-x-public-post-scraper-ba3969c1","name":"Twitter/X Public Post Scraper","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://api.scrapeforagents.tech/v1/twitter?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maxItems":{"type":"integer","default":30,"minimum":0,"description":"Maximum number of unique posts across all inputs. Set 0 for no output cap; each profile still exposes only its public first page."},"startUrls":{"type":"array","description":"Public twitter.com or x.com profile and direct post URLs. Search and list URLs are unavailable."},"searchTerms":{"type":"array","description":"Single from:handle terms only. General keyword search requires sign-in and is unavailable."},"twitterHandles":{"type":"array","description":"Public account handles. Each profile currently exposes up to five recent posts to anonymous visitors."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"id":null,"url":null,"lang":null,"text":null,"type":null,"createdAt":null,"twitterUrl":null,"retweetCount":null}],"product":"twitter"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VkFj1QkfhCoGcFyLLaniu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes public Twitter/X posts from profile URLs, direct post URLs, or account handles and returns structured post data including text, timestamps, and engagement metrics.","exampleAgentPrompt":"Pull the last 20 public posts from the Twitter handle @elonmusk and give me the text, timestamps, and retweet counts for each one.","exampleUseCases":[{"title":"Monitor competitor brand activity","prompt":"Scrape the 30 most recent tweets from @Nike and @Adidas so I can see what they've been posting lately — I want the full text, dates, and retweet counts."},{"title":"Collect posts for sentiment analysis","prompt":"Fetch up to 25 recent public posts from the Twitter handles @openai and @anthropicai so I can run sentiment analysis on their announcements."},{"title":"Track influencer posting frequency","prompt":"Get the latest public tweets from these three handles — @sama, @karpathy, and @ylecun — up to 15 posts total, so I can see how often they're posting and what topics they're covering."}],"resultDescription":"Returns a JSON object with a count of items retrieved, the product name ('twitter'), and an array of post objects each containing: post ID, post URL, Twitter URL, language code, post text, post type, creation timestamp, and retweet count. Null fields indicate data that wasn't available from the public page.","failureModes":["Private or suspended accounts return empty results but are not charged","Search/keyword terms that require login return no results","List or search URLs are unsupported and will fail","Each handle only exposes up to 5 recent posts to anonymous visitors, limiting depth","Rate limits or blocks from Twitter may result in empty runs (not charged)","Invalid handles or malformed URLs return empty item arrays"],"whenToPreferThis":"Choose this endpoint when you need structured public Twitter/X post data without authentication, want pay-per-successful-call pricing (failed/empty runs are free), and only need the first page of recent posts from public profiles. Best for lightweight monitoring, quick data pulls on known handles, or building datasets from a small list of accounts. Not suitable for deep historical scraping, private accounts, or general keyword search.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:41.949Z","isFirstParty":false,"canonicalSlug":"twitter-x-public-post-scraper-ba3969c1"}