{"uid":"cap_j5S--eCfT1f5BE_vPSkuV","slug":"x-data-gateway-user-search-38d746c0","name":"X Data Gateway – User Search","description":"Search public accounts by keyword. e.g. GET /users/search?query=bitcoin","url":"https://x-data-gateway.annushka1190.workers.dev/users/search","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","required":["query"],"properties":{"query":{"type":"string","description":"Keyword"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H2G8fgeIbsajHBRJA7bEo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search Twitter/X accounts by keyword or phrase and return matching user profiles, paid per-request via USDC.","exampleAgentPrompt":"Search Twitter/X for accounts related to 'climate tech' and give me the matching usernames and IDs.","exampleUseCases":[{"title":"Influencer discovery for marketing","prompt":"Find me Twitter accounts related to 'sustainable fashion' so I can identify potential influencers for a campaign."},{"title":"Competitor brand monitoring","prompt":"Search X for accounts mentioning or named after 'OpenAI' so I can see what accounts are associated with that brand."},{"title":"Community research for a niche topic","prompt":"I'm researching the DeFi space — can you find Twitter/X user accounts focused on decentralized finance for me?"}],"resultDescription":"A JSON array of matching Twitter/X user objects, each containing at minimum a user ID and username, plus a meta object with a next_token for pagination (null if no further results).","failureModes":["Missing required 'query' parameter returns a 400 error","Payment not included or insufficient USDC triggers a 402 Payment Required response","Query returns zero results — empty data array with null next_token","Rate limiting or upstream Twitter API errors may return 429 or 503","Invalid or malformed query string may return unexpected empty results"],"whenToPreferThis":"Choose this endpoint when you need real-time Twitter/X user search without setting up a Twitter developer account or API key, and you want pay-per-request pricing in USDC. Ideal for AI agents that occasionally need to discover X accounts by keyword without a recurring subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:42:23.883Z","isFirstParty":false}