{"uid":"cap_x8bemh1Yrwa2qi5bHs7Qf","slug":"api-direct-twitter-x-user-search-f57b50ed","name":"API Direct – Twitter/X User Search","description":"Search for Twitter/X users by keyword.","url":"https://x402.apidirect.io/v1/twitter/users?utm_source=zero.xyz","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":{"pages":{"type":"integer","default":1,"maximum":20,"minimum":1,"description":"Number of pages to fetch and merge into one response (1-20, billed per page). Fetching stops early when there are no more results."},"query":{"type":"string","maxLength":500,"minLength":1,"description":"Search query (max 500 characters)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8LXbo_3rpqgLX1NjUrFL5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search for Twitter/X users by keyword and return matching user profiles.","exampleAgentPrompt":"Search Twitter for users related to 'sustainable fashion' and pull back 3 pages of results so I can see who's active in that space.","exampleUseCases":[{"title":"Influencer discovery for a campaign","prompt":"Find me Twitter users related to 'plant-based nutrition' — get 5 pages of results so I have a solid list of accounts to reach out to for a brand partnership."},{"title":"Competitor audience research","prompt":"Search X for users mentioning 'fintech startup' and give me as many pages as you can, up to 10, so I can analyze who's talking in that space."},{"title":"Lead generation for B2B outreach","prompt":"Look up Twitter users matching the keyword 'SaaS founder' across 2 pages — I want to build a prospecting list for a software tool launch."}],"resultDescription":"A merged list of Twitter/X user profiles matching the search keyword, aggregated across the requested number of pages. Each result typically includes account identifiers, display names, usernames, and profile metadata available via the Twitter/X search API.","failureModes":["Empty results if the keyword matches no users","Rate limiting or quota exhaustion on high page counts","Query too long if it exceeds 500 characters","Invalid page count if outside the 1–20 range","Twitter/X API downtime causing upstream errors"],"whenToPreferThis":"Choose this endpoint when you need to discover Twitter/X user accounts by topic, name, or keyword — especially for influencer research, lead generation, or audience analysis. It supports multi-page fetching (up to 20 pages) in a single call, making it more efficient than single-page lookups when broad coverage is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:08:05.342Z","isFirstParty":false,"canonicalSlug":"api-direct-twitter-x-user-search-f57b50ed"}