{"uid":"cap_oLTroSDnuvPQv7D_iIOHP","slug":"scrapfly-autocomplete-api-658d8242","name":"ScrapFly Autocomplete API","description":"69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.","url":"https://scravfly.vercel.app/api/autocomplete","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"query"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_chFCeeJYu57e9Oz_ag6IF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns autocomplete suggestions for a given query string, useful for search typeahead and query expansion.","exampleAgentPrompt":"Can you give me autocomplete suggestions for the query 'machine learn' so I can build a typeahead dropdown for my search bar?","exampleUseCases":[{"title":"Search bar typeahead suggestions","prompt":"I'm building a search bar — can you fetch autocomplete suggestions for the query 'best running shoes' so I can show users what others typically search for?"},{"title":"SEO keyword discovery","prompt":"I'm doing keyword research — can you pull autocomplete suggestions for 'how to invest' to see what related long-tail queries people are typing?"},{"title":"E-commerce product search hints","prompt":"Can you get autocomplete suggestions for 'wireless head' so I can show shoppers likely product searches as they type in my store?"}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing an array or map of autocomplete suggestions corresponding to the submitted query string.","failureModes":["Missing required 'query' field returns validation error","Empty query string may return empty suggestions or error","Network or upstream provider timeout causing failure","Malformed JSON body returns 400 bad request","Payment failure via x402 protocol blocks request"],"whenToPreferThis":"Choose this endpoint when you need fast, lightweight query completion or search suggestion data without scraping a full page. Ideal for building typeahead UIs, expanding partial search terms, or enriching queries before passing them to a full-text search engine.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:56:47.496Z","isFirstParty":false}