# Baidu API on SandBase

> Baidu data API endpoints available through one SandBase API key.

Source: https://www.sandbase.ai/apis/baidu

- Endpoints: 11
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [Baidu Board By Tab](https://www.sandbase.ai/apis/baidu/board-by-tab.md): $0.03 per call
  General-purpose endpoint to retrieve any board tab (realtime, novel, movie, teleplay) with optional tag filtering. Returns ranked items and available filter tags.
- [Baidu Homepage Summary](https://www.sandbase.ai/apis/baidu/homepage-summary.md): $0.03 per call
  Fetch the main home/board overview page summary with cloud trending topics and top items for all categories (realtime, novel, movie, teleplay). Each card contains a preview of that board's top items. ...
- [Baidu Maps Search](https://www.sandbase.ai/apis/baidu/maps.md): $0.01 per call
  Search places on Baidu Maps by keyword in a city or around coordinates, with name, address, category, rating, phone and coordinates.
- [Baidu Movie Rankings](https://www.sandbase.ai/apis/baidu/movie-rankings.md): $0.03 per call
  Fetch the hot movie rankings from the Baidu Top board. Returns ranked movies with scores and available filter tags for genre and region.
- [Baidu News Search](https://www.sandbase.ai/apis/baidu/news.md): $0.015 per call
  Baidu News results for a keyword: headline, source, date, snippet and link.
- [Baidu Novel Rankings](https://www.sandbase.ai/apis/baidu/novel-rankings.md): $0.03 per call
  Fetch the hot novel rankings from the Baidu Top board. Returns all novels currently ranked with their scores, along with available genre filter tags that can be used with get_novel_rankings_by_genre o...
- [Baidu Novel Rankings By Genre](https://www.sandbase.ai/apis/baidu/novel-rankings-by-genre.md): $0.03 per call
  Fetch novel rankings filtered by genre type. Returns novels matching the specified genre along with available tags. Equivalent to get_board_by_tab with tab=novel and the genre as tag.
- [Baidu Realtime Hot Search](https://www.sandbase.ai/apis/baidu/realtime-hot-search.md): $0.03 per call
  Fetch the real-time hot search rankings from the Baidu Top board. Returns the current top trending search terms with scores and metadata. Items are ordered by descending hot_score. No filtering is ava...
- [Baidu Search](https://www.sandbase.ai/apis/baidu/search.md): $0.01 per call
  Get Baidu web results for a query with organic results, answer boxes, related searches and pagination.
- [Baidu Search Results For Keyword](https://www.sandbase.ai/apis/baidu/search-results-for-keyword.md): $0.03 per call
  Construct a Baidu search URL for a specific hot search keyword to view related news and discussions. Does not fetch search results; only builds and returns the URL.
- [Baidu Tv Drama Rankings](https://www.sandbase.ai/apis/baidu/tv-drama-rankings.md): $0.03 per call
  Fetch the hot TV drama rankings from the Baidu Top board. Returns ranked TV dramas with scores and available filter tags for genre and region.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
