# Scrapier — Baidu API > Scrapier endpoints for Baidu: Baidu Search Scraper. Base URL: https://api.scrapier.io/api/v2 · Auth: header `X-API-Key: ` · Synchronous: HTTP 200 returns {"success": true, "data": {...}} · Paginate by sending data.next_cursor back as `cursor` until it is null · Paths keep the trailing slash. Live parameter source (no auth): https://api.scrapier.io/api/v2/endpoints · Docs: https://docs.scrapier.io/api-reference/baidu.md ## GET /baidu-search/ Baidu Search Scraper: Structured Baidu data: send `query`. Cursor-paginated, 1 credit per successful call. Cost: 1 credit per successful call · Pagination: cursor · Results: data.organic_results Parameters: - query (required, string, example 机器学习): Search query (single keyword/phrase). Required on the first call. Ignored when `cursor` is supplied — the cursor carries the original query forward. - cursor (optional, string): Pagination cursor returned in the previous response's `next_cursor`. Pass it back unchanged to fetch the next page. When `next_cursor` is null, you have reached the last page. - time_period (optional, string): Either stf=START,END|stftype=1 or JSON object with start_date/end_date (camelCase startDate/endDate accepted) - days (optional, integer, default 0): Shorthand: last N days (overrides time_period if > 0) - raw_data (optional, boolean, default false): When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under `raw_responses`, in place of the formatted items. When false (default) you get the formatted output. Pagination (`cursor` / `next_cursor`) works the same in both modes. Example: curl "https://api.scrapier.io/api/v2/baidu-search/?query=%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0" -H "X-API-Key: YOUR_API_KEY" Docs: https://docs.scrapier.io/api-reference/baidu/baidu-search.md