Titles, links and snippets
Read organic_results for each result position, title, destination link and available snippet.
The agent storefront at https://agents.litescrape.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.
// baidu search api
Search Baidu in English or Chinese and receive titles, links, snippets, related searches and pagination as JSON. Use your existing Litescrape key with GET or JSON POST requests.
// live playground
Run the request to draw its results here. This endpoint returns:
organic_resultssearch_informationrelated_searchespaginationlitescrape_pagination// what you get
Read organic_results for each result position, title, destination link and available snippet.
Send your search text in q. Queries support Unicode and up to 500 characters.
When Baidu includes related searches, the response returns their query text and links in related_searches.
pn is a result offset from 0 to 750. Request 10, 20 or 50 results with rn, and follow litescrape_pagination.next for the next page. Pages can contain fewer web results.
// use cases
Record result positions for your target queries and compare which pages appear over time.
Collect titles, links and snippets for Chinese queries, then use the returned URLs for further research.
Search your brand and product names to find the pages Baidu returns for those terms.
Your first 5 calls are free. Top up the same key from $10 whenever you need more.