---
title: "Baidu API: JSON data, 6 endpoints, 1 credit per call"
description: "Get Baidu data as structured JSON with one API key: developer search, search, images and trending. Free credits every month."
url: https://perceptlayer.com/apis/baidu
---

[APIs](https://perceptlayer.com/apis) / [Search engines](https://perceptlayer.com/verticals/search) / Baidu

1 credit per call 6 endpoints

# Baidu API

Get Baidu data as structured JSON with one API key: developer search, search, images and trending. Free credits every month.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Baidu

GET /v1/baidu/developer-search?query=Laravel+API 

```
curl "https://api.perceptlayer.com/v1/baidu/developer-search?query=Laravel+API" \
  -H "X-API-Key: $API_KEY"
```

cURL 1 credit per successful call

Run this call below or from your dashboard to see a live response.

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/baidu/developer-search?query=Laravel+API" \
  -H "X-API-Key: $API_KEY"
```

Baidu · 6 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

| Endpoint | Required parameters | Cost |
| --- | --- | --- |
| [GET `/v1/baidu/autocomplete`](https://perceptlayer.com/apis/baidu/autocomplete) | `query` | 1 credit |
| [GET `/v1/baidu/developer-search`](https://perceptlayer.com/apis/baidu/developer-search) | `query` | 1 credit |
| [GET `/v1/baidu/images`](https://perceptlayer.com/apis/baidu/images) | `query` | 1 credit |
| [GET `/v1/baidu/search`](https://perceptlayer.com/apis/baidu/search) | `query` | 1 credit |
| [GET `/v1/baidu/translation-suggestions`](https://perceptlayer.com/apis/baidu/translation-suggestions) | `query` | 1 credit |
| [GET `/v1/baidu/trending`](https://perceptlayer.com/apis/baidu/trending) | `query` | 1 credit |

Overview

## About the Baidu API

## What you can get

The Baidu API returns developer search, search, images and trending as clean JSON. Each successful call costs one credit, and calls that fail are free.

Search engines JSON REST MCP

### More search engines APIs

[Bing](https://perceptlayer.com/apis/bing) [Brave Search](https://perceptlayer.com/apis/brave) [DuckDuckGo](https://perceptlayer.com/apis/duckduckgo) [Google Events](https://perceptlayer.com/apis/google-events) [Google Finance](https://perceptlayer.com/apis/google-finance) [Google Forums](https://perceptlayer.com/apis/google-forums) [Google Images](https://perceptlayer.com/apis/google-images) [Google Lens](https://perceptlayer.com/apis/google-lens) [Google Local](https://perceptlayer.com/apis/google-local) [Google Local Services](https://perceptlayer.com/apis/google-local-services) [Google Maps](https://perceptlayer.com/apis/google-maps) [Google News](https://perceptlayer.com/apis/google-news)

Use cases

### Track rankings and SERP features for your keywords

`Use the Baidu API to track rankings and SERP features for your keywords` 

### Build lead lists from local results

`Use the Baidu API to build lead lists from local results` 

### Feed fresh search data into research and AI tools

`Use the Baidu API to feed fresh search data into research and AI tools` 

FAQ

## Questions

**How much does the Baidu API cost?**

Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Do I need a separate key for Baidu?**

No. One key works for every API in the catalogue.

## Try the Baidu API with 1,000 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://perceptlayer.com/docs)
