{"uid":"cap_YQCq9FRjPuoHGdoJKJsub","slug":"socialfetch-twitter-profile-lookup-74e845b9","name":"SocialFetch Twitter Profile Lookup","description":"Get an X (Twitter) profile by handle.","url":"https://api.socialfetch.dev/v1/twitter/profiles/:handle","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"],"type":"string"},"pathParams":{"type":"object","required":["handle"],"properties":{"handle":{"type":"string","description":"X (Twitter) profile handle without the leading @, or a numeric user id."}}},"queryParams":{"type":"object","properties":{"by":{"enum":["id","handle"],"type":"string","description":"Treat the path value as a handle or a numeric user id. Defaults to id when the value is all digits."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.014","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":"$0.014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__OI9NsqqGPvmU7h-Fv9Wp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public X (Twitter) user profile by their handle, returning profile metadata for the specified account.","exampleAgentPrompt":"Can you pull up the X profile for @elonmusk — I need their bio, follower count, and account details.","exampleUseCases":null,"resultDescription":"Returns structured profile metadata for the specified X (Twitter) account, including fields such as display name, handle, bio, follower count, following count, profile image, and other public account details.","failureModes":["Handle not found — account does not exist or has been suspended","Invalid handle format — non-existent or malformed username","Payment failure — x402 payment not accepted or insufficient funds","Rate limiting — too many requests in a short period","Private or protected account — profile data not publicly accessible"],"whenToPreferThis":"Use this endpoint when you need to retrieve structured public profile data for a specific X (Twitter) user by their handle. Ideal for agent workflows that need to enrich contact records, verify account existence, research influencers, or gather social metadata without requiring Twitter API credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:57:06.700Z","isFirstParty":false}