{"uid":"cap_O_uaJ0O3JHTVv4taus-SO","slug":"agent402-x-twitter-users-lookup-e0042a23","name":"Agent402 X (Twitter) Users Lookup","description":"Look up up to 10 X (Twitter) accounts by username in one call. Returns each found profile with public metrics (followers, following, tweets, listed), verification status and bio, plus the list of usernames X did not resolve.","url":"https://agent402.tools/api/x-users-lookup","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"usernames":{"type":"array","items":{"type":"string"},"description":"1-10 usernames (array, or a comma-separated string)."}}},"responseSchema":{"type":"json","example":{"count":1,"users":[{"id":"574032254","url":"https://coinbase.com","name":"Coinbase","metrics":{"listed":9000,"tweets":19000,"followers":6400000,"following":250},"location":"Global","username":"coinbase","verified":true,"createdAt":"2012-05-07T23:46:41.000Z","protected":false,"profileUrl":"https://x.com/coinbase","description":"The future of money is here.","verifiedType":"business","profileImageUrl":"https://pbs.twimg.com/profile_images/.../normal.jpg"}],"source":"x-api-v2","notFound":["nosuchuser_xyz"],"fetchedAt":"2026-08-20T14:10:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JZYTiUQFIUxmYn1-t1f0P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up public profile metadata for 1-10 X (Twitter) usernames in a single call, returning follower counts, verification status, bio, and more.","exampleAgentPrompt":"Look up the X profiles for the usernames 'coinbase', 'vitalikbuterin', and 'elonmusk' and tell me their follower counts, verification status, and bios.","exampleUseCases":[{"title":"Influencer vetting before brand deal","prompt":"Can you pull up the X profiles for 'lex_fridman', 'naval', and 'balajis' — I need their follower counts, whether they're verified, and their bios so I can decide which ones to reach out to for a sponsorship."},{"title":"Resolving X handles to numeric user IDs","prompt":"I need the numeric user IDs for these Twitter handles: 'openai', 'anthropicai', and 'deepmind' — can you look them up for me?"},{"title":"Checking if a newly registered username exists","prompt":"Can you check whether the X username 'agent402official' actually exists and if so tell me when the account was created and how many followers it has?"}],"resultDescription":"Returns a JSON object with a count of found users, an array of user objects each containing numeric ID, display name, username, bio/description, location, profile URL, profile image URL, follower/following/tweet/listed counts, verified flag, verification type (e.g. 'business'), account creation timestamp, and protected status. Also includes a 'notFound' array of usernames that could not be resolved, plus a 'fetchedAt' timestamp and source label ('x-api-v2').","failureModes":["Username not found: listed in 'notFound' array rather than throwing an error","More than 10 usernames submitted: may return an error or truncate results","Invalid input format (non-string items): request validation error","X API rate limiting or downtime: upstream error propagated","Payment failure (insufficient USDC balance): 402 Payment Required before query executes"],"whenToPreferThis":"Choose this endpoint when you need structured public profile metadata — follower counts, verification type, user IDs, bios — for up to 10 X usernames in a single no-signup, no-API-key call paid per-use in USDC. Prefer it over maintaining your own X API credentials when you need lightweight, ad-hoc social profile lookups without a long-term subscription, or when building an agent that must resolve X handles to numeric IDs or validate account existence on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:54:36.149Z","isFirstParty":false}