{"uid":"cap_fLH87bH8a4mLODJJXxBoC","slug":"twitter-x-autocomplete-search-suggestions-c4c38d3b","name":"Twitter/X Autocomplete Search Suggestions","description":"Get X search suggestions for a partial query.","url":"https://twitter.use.x402atlas.com/autocomplete","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"},"queryParams":{"type":"object","required":["query"],"properties":{"query":{"type":"string","maxLength":200,"minLength":1,"description":"Partial text to complete"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["queried_at","data"],"properties":{"data":{"type":"object","additionalProperties":true},"cursor":{"type":"string","description":"Opaque cursor for the next page, when supplied by X"},"queried_at":{"type":"string","format":"date-time"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"query":"bill","users":[{"name":"Bill Gates","id_str":"50393960","screen_name":"BillGates"}],"num_results":10},"queried_at":"2026-07-26T12:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CDxuV8dMSHliWF7wpDCQ1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns search suggestions and autocomplete completions for a partial query string on X (Twitter).","exampleAgentPrompt":"What search suggestions does X give when someone starts typing 'climate chan' in the search bar?","exampleUseCases":[{"title":"Trending topic keyword discovery","prompt":"I'm researching what people on X are searching for around AI — can you show me the autocomplete suggestions X gives when someone types 'artificial intell'?"},{"title":"Brand monitoring search expansion","prompt":"We want to monitor mentions of our brand 'NovaBrew' on X. What search completions does X suggest when someone starts typing 'NovaBrew'?"},{"title":"Content creator hashtag research","prompt":"I'm writing a post about electric vehicles. What does X suggest when I type 'electric ve' in the search box so I can pick the best hashtag or topic to target?"}],"resultDescription":"Returns a structured response containing X's autocomplete suggestions for the given partial query, including a list of suggested search completions and metadata such as the timestamp when the query was made. Results may include a cursor for pagination if more suggestions are available.","failureModes":["Empty query string — returns validation error since query must be at least 1 character","Query too long — rejected if exceeds 200 character limit","X API rate limiting — upstream rate limits may cause temporary failures","No suggestions found — partial query may return an empty suggestions list if X has no matches","Network or upstream X API downtime — may return 5xx errors"],"whenToPreferThis":"Use this endpoint when you need to discover how X's own search engine would complete a partial search term — ideal for keyword research, hashtag discovery, brand monitoring query expansion, or building search-assisted UIs backed by real X suggestion data. Prefer this over a full search endpoint when you only have a partial query and want to enumerate plausible complete search terms before committing to a full search.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:51:17.216Z","isFirstParty":false}