Web Search API
Search the web and return ranked links, titles, and snippets for your application or agent.
Web Search finds public web pages from a text query. POST /v1/search returns a ranked list of links, titles, and snippets, with optional language, region, and domain filters.
Send Web Search requests to https://api.lexmount.cn/v1/search. Obtain credentials from the API key settings; the API key and project ID must belong to the same project.
Try a search
Open the Web Search Playground, sign in, and enter a query. Results appear below the search box with clickable titles, URLs, snippets, and publication dates when available. Expand Search settings to adjust the result limit, time budget, language, region, or domains.
You can copy the full JSON response or expand the request and cURL example below the results to integrate the same query in your application.
Pricing and allowance
Check Plan & Usage for your account's search allowance and billing details. Search allowance is shared across the account's projects and API keys. Each successful search counts once, including partial or empty results; it does not consume Web Fetch allowance.
HTTP 429 with websearch_quota_exhausted means the current allowance is exhausted. See Search API for error handling.
Integrate the API
- Quick Start: credentials, a first cURL request, and reading results.
- Search API: request fields, domain filtering, response fields, and error handling.
Search, extract, or interact
Use Web Search to find pages from a query. Its snippets are search summaries, not full page content. To retrieve a result's page content, pass its URL to Web Fetch. To sign in, click, or interact with a page, use Cloud Browser.
Language and region are search preferences. They do not change API access restrictions. Domain filters restrict the returned links; the result count can be lower than the requested limit.
