{"uid":"cap_g8TyCP6TOfqEvbHfiugzd","slug":"simple-x-api-get-user-by-username-a9477f80","name":"Simple X API - Get User by Username","description":"Proxy the corresponding X API v2 endpoint. x402 authorizes up to $10.00; successful responses settle at X's public non-owned per-resource/per-action price.","url":"https://simple-x-api.com/api/2/users/by/username/DavidPawlan?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_nXRDWtoIKK66omu8p7a-c","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":"Retrieves X (Twitter) user profile data by username via a paid x402 proxy of the X API v2 users/by/username endpoint","exampleAgentPrompt":"Can you look up the X profile info for the username DavidPawlan — I need their user ID and account details?","exampleUseCases":[{"title":"Verify influencer identity before partnership","prompt":"Can you look up the X profile for @TechVoiceXYZ? I need to verify their follower count and account creation date before we finalize this sponsorship deal."},{"title":"Find creator contact info for outreach","prompt":"Look up the Twitter profile for username blockchain_sarah. I'm trying to reach out to them for a collaboration and need their verified account details."},{"title":"Resolve handles for social media audit","prompt":"I have a list of Twitter handles from our marketing campaign. Can you pull the X profile data for @CryptoNewsDaily? I need to check if it's still an active account."}],"resultDescription":"Returns the X API v2 user object for the specified username, including user ID, display name, username, and other public profile fields as returned by the X API v2 users/by/username endpoint.","failureModes":["Username does not exist — X API returns 404 not found","Username suspended or deactivated account","Payment authorization fails or insufficient USDC balance","X API rate limit exceeded on the proxy","Username contains invalid characters causing request rejection","X API downstream outage"],"whenToPreferThis":"Use this endpoint when you need to look up an X (Twitter) user profile by their @username handle and require the X API v2 user object, especially when operating in a crypto-native or x402 payment context where USDC micropayments are acceptable. Prefer this over direct X API access when you lack your own X API credentials or need a simple pay-per-use proxy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:47:10.054Z","isFirstParty":false,"canonicalSlug":"simple-x-api-get-user-by-username-a9477f80"}