{"uid":"cap_thf8qLFUUURsZEqwhTClS","slug":"x402-twitter-profile-id-lookup-f7bb9b26","name":"X402 Twitter Profile ID Lookup","description":"ReadX is a read-only X/Twitter JSON API. Profiles, timelines, tweets, search &amp; lists — pay per call with x402 micropayments in USDC on Base or Solana. No API keys.","url":"https://x.1x402.sh/api/%7Bname%7D/id?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"code":0,"data":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MGLDCHOKhLJ4wyTwwUVmi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up the Twitter/X user ID for a given username via a pay-per-call x402 micropayment API mirror","exampleAgentPrompt":"What's the Twitter user ID for the account with the handle 'elonmusk'? Use the x402 micropayment API mirror — no API key needed, just pay the $0.05 USDC fee.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a code field (0 for success) and a data object containing the resolved Twitter/X user ID and associated profile metadata for the requested username.","failureModes":["Username not found — returns non-zero code with empty data","Invalid or malformed username in path parameter — may return error code","Payment failure via x402 micropayment — 402 response if USDC payment not processed","Rate limiting or upstream X/Twitter API unavailability — service may return error","URL template not resolved correctly (literal {name} in path) — returns 404"],"whenToPreferThis":"Choose this endpoint when you need to resolve a Twitter/X username to a numeric user ID without holding Twitter API credentials. Ideal for agents that need programmatic access to Twitter identity data using x402 USDC micropayments on Base, avoiding OAuth setup entirely.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T02:25:30.072Z","isFirstParty":false,"canonicalSlug":"x402-twitter-profile-id-lookup-f7bb9b26"}