{"uid":"cap_LzweUgj-UFOEAZbMgWMuh","slug":"simple-x-api-get-user-by-username-samrags-fda67d1c","name":"Simple X API - Get User by Username (samrags_)","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/samrags_","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_dseDktqFH1FpG2DMVyqFt","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":"Proxies the X (Twitter) API v2 endpoint to retrieve public user profile data for the username 'samrags_' via x402 micropayment.","exampleAgentPrompt":"Can you look up the public X profile for the account @samrags_ and get me their user ID and profile details?","exampleUseCases":null,"resultDescription":"Returns the X API v2 user object for the username 'samrags_', including user ID, name, username, and any other public profile fields exposed by the X API v2 /users/by/username endpoint. Payment settles at X's public per-resource price, authorized up to $10.00 USDC.","failureModes":["User not found (404) if the username does not exist or has been deleted","Rate limiting or authentication errors from the upstream X API","x402 payment authorization failure if wallet balance is insufficient","Upstream X API downtime or changes to the v2 endpoint","Username has changed or account has been suspended"],"whenToPreferThis":"Use this endpoint when you need to resolve a specific known X username ('samrags_') to their full user profile object including user ID, especially in an automated or agent-driven workflow that supports x402 micropayment authorization. Prefer this over the generic sibling endpoint if you specifically want the samrags_ account profile, or when you need a pay-per-use proxy without managing X API credentials yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:14.300Z","isFirstParty":false}