{"uid":"cap_9FVkOmdj8aGop_uJl8W24","slug":"simple-x-api-get-user-by-username-ef929be9","name":"Simple X API – Get User by Username","description":"Proxy the corresponding X API v2 endpoint. x402 authorizes up to $2.00; successful responses settle at X's documented per-resource/per-action price.","url":"https://simple-x-api.com/api/2/users/by/username/jack?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_NtbxLyp20X-MziMSR5V-O","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 information by their username via a proxied X API v2 endpoint, paid per-call via x402.","exampleAgentPrompt":"Can you look up the X profile info for the username 'jack' — I need their user ID and display name from the Twitter API.","exampleUseCases":null,"resultDescription":"Returns the X API v2 user object for the given username, including fields such as user ID, name, username, and potentially public account metadata as defined by the X API v2 /users/by/username endpoint.","failureModes":["Username not found — X API returns a 404 or not-found error","Payment authorization failure — x402 payment up to $10 not completed","Username suspended or deactivated — X API returns an error indicating account unavailability","Rate limit exceeded on the underlying X API — proxy returns a rate limit error","Invalid username format — malformed input returns a validation error"],"whenToPreferThis":"Use this endpoint when you need to resolve a Twitter/X username to a user object (including user ID) via the X API v2 without managing your own X API credentials, and you are comfortable paying per-call via x402/USDC. Prefer this over direct X API access when you lack API keys or want 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:48:36.597Z","isFirstParty":false,"canonicalSlug":"simple-x-api-get-user-by-username-ef929be9"}