{"uid":"cap_FHgNBEJBrH1TRM_uFdnTC","slug":"x-user-timeline-by-handle-cf19d216","name":"X User Timeline by Handle","description":"Returns the recent public post timeline for a known X handle. Same backend as user-tweets, listed for agents that need an X user timeline from a username; read-only X API v2, excludes retweets unless include_retweets=true. Use it as a social account feed or latest-public-posts-by-handle API.","url":"https://x402.agentutility.ai/x-user-timeline?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["username"],"properties":{"mode":{"enum":["user_tweets"],"type":"string","description":"Optional. Operation mode; defaults to 'user_tweets' for this endpoint. Accepts search, user, tweets, users, or user_tweets."},"username":{"type":"string","description":"X/Twitter handle, with or without @."},"max_results":{"type":"number","description":"Number of recent posts to fetch. Clamped to 5-50."},"include_retweets":{"type":"boolean","description":"Include retweets when true. Defaults false."},"pagination_token":{"type":"string","description":"Optional X pagination token."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"mode":{"type":"string"},"source":{"type":"string"},"result_count":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"mode":"user_tweets","source":"X API v2 user tweets timeline","result_count":10}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_Z9crolcXtbnunfSMYgIX6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the recent public post timeline for a given X (Twitter) username via X API v2, optionally including retweets.","exampleAgentPrompt":"Can you pull the recent public posts from @paulg's X timeline — include retweets too so I get the full picture?","exampleUseCases":[{"title":"Track influencer activity on X","prompt":"What has @naval been posting on X lately? Grab his recent public tweets so I can see what topics he's covering this week."},{"title":"Monitor competitor brand messaging","prompt":"Fetch the latest public posts from @OpenAI's X account so I can see what they've been announcing recently."},{"title":"Research public figure statements","prompt":"Can you get the most recent tweets from @SenWarren on X? I want to see her latest public statements — include any retweets she's made."}],"resultDescription":"A list of recent public tweets from the specified X handle, including tweet text, timestamps, and post metadata. Retweets are excluded by default but can be included by setting include_retweets=true. Returns read-only data sourced from X API v2.","failureModes":["Unknown or private X handle returns empty results or 404-style error","X API rate limiting causes temporary failures","Handle provided does not exist on X platform","Account is suspended or deactivated, returning no results","Network or upstream X API outage causes request failure"],"whenToPreferThis":"Use this endpoint when you need the public post timeline for a specific X user identified by their username/handle. Prefer it over general web search when you need structured tweet data with metadata, or when you want consistent programmatic access to a user's feed without scraping. Ideal for monitoring, research, or enrichment tasks where the X handle is already known.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:52:04.160Z","isFirstParty":false,"canonicalSlug":"x-user-timeline-by-handle-cf19d216"}