{"uid":"cap_T9wv-gVOxePEHyWmIfdDM","slug":"glim-sh-twitter-user-lookup-by-username-or-id-3e110f8a","name":"glim.sh Twitter User Lookup by Username or ID","description":"One remote endpoint gives your agent live data from Twitter, Reddit, the open web, GitHub and more. No API keys, no scraping stack - just connect the URL and go.","url":"https://surf.cascade.fyi/api/v1/twitter/users/%7Bref%7D","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{},"description":"No body parameters - the user @handle or id is taken from the URL path"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data"],"properties":{"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}}}}},"responseSchema":{"type":"json","example":{"data":{"id":"44196397","username":"cascade_fyi"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wlB1Z5MZakIHRt6tz-t8S","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a Twitter/X user's profile data by username or user ID, returning their ID and username without requiring API keys.","exampleAgentPrompt":"Can you look up the Twitter user ID and username for the handle @cascade_fyi using glim.sh — I need the numeric ID without setting up my own Twitter API key.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a data array containing the matched user's numeric ID and username, plus a meta object with result_count indicating how many users were found.","failureModes":["User not found — empty data array with result_count 0","Invalid or malformed username/ref — may return 4xx error","Payment not processed — x402 payment required before data is returned","Rate limiting or upstream Twitter API unavailability — service error","Suspended or deactivated Twitter account — may return no results"],"whenToPreferThis":"Use this endpoint when you need to resolve a Twitter username to a numeric user ID (or vice versa) without managing your own Twitter API credentials or scraping infrastructure. Ideal for agents that need quick, pay-per-call Twitter user identity lookups with no setup cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:58:56.403Z","isFirstParty":false}