{"uid":"cap_lxtYGcIf4qmkFEEYNHP3U","slug":"twitter-x-user-timeline-api-d219dfe4","name":"Twitter/X User Timeline API","description":"Get a paginated timeline of posts from an X user.","url":"https://twitter.use.x402atlas.com/user-tweets","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"],"type":"string"},"queryParams":{"type":"object","required":["username"],"properties":{"username":{"type":"string","pattern":"^@?[A-Za-z0-9_]{1,15}$","maxLength":16,"description":"X username, with or without a leading @"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["queried_at","data","result_count"],"properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"cursor":{"type":"string","description":"Opaque cursor for the next page, when supplied by X"},"queried_at":{"type":"string","format":"date-time"},"result_count":{"type":"integer","minimum":0}}}}}}},"responseSchema":{"type":"json","example":{"data":[{"user":{"name":"Bill Gates","id_str":"50393960","screen_name":"BillGates"},"id_str":"1903602810652082591","full_text":"Example X post","created_at":"Sun Mar 23 12:00:00 +0000 2025","reply_count":8,"retweet_count":15,"favorite_count":120}],"cursor":"NEXT_PAGE_CURSOR","queried_at":"2026-07-26T12:00:00Z","result_count":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GIh_PbEczwR0FFjFqKXsS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a paginated timeline of posts (tweets) from a specified public X (Twitter) user account.","exampleAgentPrompt":"Can you pull the recent tweets from @elonmusk's timeline on X so I can see what he's been posting lately?","exampleUseCases":[{"title":"Monitoring a brand's Twitter activity","prompt":"Fetch the latest posts from @Nike's X timeline so I can track what they've been saying this week."},{"title":"Research on a public figure's statements","prompt":"Get me the recent tweets from @AOC on X — I want to see her posts from the last few days for a research summary."},{"title":"Competitive intelligence feed","prompt":"Pull the tweet timeline for @OpenAI so I can keep tabs on what they're publicly announcing on X."}],"resultDescription":"Returns a JSON object containing an array of post/tweet objects with full tweet metadata, a total result_count integer, a queried_at ISO 8601 timestamp, and an optional opaque cursor string for fetching the next page of results.","failureModes":["Invalid or nonexistent username returns empty data or an error","Private/protected accounts return no tweets","Rate limiting from the underlying X API may cause failures or empty responses","Malformed username (wrong pattern) rejected by input validation","Account suspended or deactivated returns no results"],"whenToPreferThis":"Use this endpoint when you need the chronological post history of a specific known X user (by username). Prefer this over search endpoints when you want all posts from one user rather than topic-filtered results, and over the replies or media-specific endpoints when you want the full general timeline including text posts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-08-06T06:06:54.448Z","lastSuccessfullyRanAt":"2026-08-06T06:06:54.448Z","lastHealthCheckAt":"2026-09-14T12:44:37.609Z","isFirstParty":false}