{"uid":"cap_BC1SAv89eWs0x9ehu9Yu-","slug":"twitter-x-user-profile-lookup-by-username-3b643d67","name":"Twitter/X User Profile Lookup by Username","description":"Get a complete public X user profile by username.","url":"https://twitter.use.x402atlas.com/user-details","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"],"properties":{"data":{"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"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"core":{"name":"Bill Gates","screen_name":"BillGates"},"legacy":{"description":"Sharing things I learn.","followers_count":65000000},"rest_id":"50393960","is_blue_verified":true},"queried_at":"2026-07-26T12:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.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_fhUu6y0jDHVazjMtPyM2u","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":"Fetches a complete public X (Twitter) user profile by username, returning structured profile data.","exampleAgentPrompt":"Can you pull up the full public profile for the X account @NASA — I want their bio, follower count, and any other profile details you can get?","exampleUseCases":[{"title":"Researching a brand's social presence","prompt":"Look up the X profile for @OpenAI — I want to see their bio, follower count, and how long they've been on the platform."},{"title":"Verifying a public figure's account","prompt":"Can you fetch the Twitter profile for @BillGates so I can confirm his display name, verified status, and account details?"},{"title":"Enriching a contact database with social data","prompt":"I have a list of Twitter handles — start with @paulg and pull their full X profile including bio and follower numbers so I can add it to our CRM."}],"resultDescription":"Returns a structured JSON object containing the full public X user profile for the requested username, including fields such as display name, bio/description, follower count, following count, profile image URL, account creation date, verification status, and other public metadata, along with a queried_at timestamp indicating when the data was fetched.","failureModes":["Username not found — X account does not exist or has been suspended","Invalid username format — username exceeds 15 characters or contains disallowed characters","Rate limiting — upstream X API quota exceeded, returning a 429-equivalent error","Private or suspended account — profile is not publicly accessible","Payment failure — x402 payment not accepted, request blocked before reaching X API"],"whenToPreferThis":"Use this endpoint when you need structured public profile data for a specific known X username, including bio, follower metrics, and account metadata. Prefer this over search-based endpoints when you already know the exact handle. It is the right choice for CRM enrichment, influencer research, identity verification, or building social graphs around known accounts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:17.946Z","isFirstParty":false}