{"uid":"cap_aPTkdg97BLvie6pJ2M-Nl","slug":"simple-x-api-com-x-user-lookup-by-username-8a5df191","name":"simple-x-api.com X User Lookup by Username","description":"Proxy the corresponding X API v2 endpoint. x402 authorizes up to $25.00; successful responses settle at X's documented per-resource/per-action price.","url":"https://simple-x-api.com/api/2/users/by/username/zzzxqv987654321?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"10","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":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rZ6fRVjnPvRHGL1GwDXg4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a Twitter/X user's public profile data by their username via a proxied X API v2 endpoint, paid per call via x402.","exampleAgentPrompt":"Can you look up the Twitter/X profile for the username 'elonmusk' and tell me their user ID and display name?","exampleUseCases":[{"title":"Verify influencer identity for campaign outreach","prompt":"I need to verify that a handle I found on a list is actually the real account. Can you look up the X profile for 'narendramodi' and confirm their verified status and follower count?"},{"title":"Resolve username to ID for analytics pipeline","prompt":"We're building a dataset of tech executives. Can you fetch the user profile for the handle 'satyanadella' so I can get their numeric user ID and add it to our database?"},{"title":"Check account details before direct messaging","prompt":"Before I reach out to someone, can you pull up the X profile for 'ValaAfshar' so I can see their bio, location, and whether they're still active?"}],"resultDescription":"Returns an X API v2 user object including the user's numeric ID, name, username, and other public profile fields for the given username. Response is proxied directly from X's API v2 users/by/username endpoint.","failureModes":["Username not found — X API returns 404 user not found error","Username is suspended or deactivated — API returns error indicating account unavailable","Invalid username format — API returns validation error","Payment authorization failure — x402 payment up to $10.00 not successfully processed","X API rate limit exceeded on the proxy — may return 429 too many requests","Network or proxy timeout — service unavailable response"],"whenToPreferThis":"Use this endpoint when you need to resolve a Twitter/X username to a full user object (including numeric user ID, display name, and profile metadata) and are willing to pay per-call via x402 USDC micropayment. Prefer this over direct X API access when you lack your own X API credentials or want to use a pay-as-you-go model without API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:38:47.001Z","isFirstParty":false,"canonicalSlug":"simple-x-api-com-x-user-lookup-by-username-8a5df191"}