# Pipixia Search API

> Search Pipixia (ByteDance humor community) by keyword across posts, videos, images, users and hashtags.

Source: https://www.sandbase.ai/apis/pipixia/app/search
API reference: https://www.sandbase.ai/apis/pipixia/app/search/docs

## Facts

- Provider: Pipixia
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/pipixia/app/search`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, pipixia
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/pipixia/app/search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | yes |  |
| `offset` | string | no |  |
| `search_type` | string | no |  |

## FAQ

### How do I use the Pipixia Search API?

Send a POST request to https://api.sandbase.ai/v1/api/pipixia/app/search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Pipixia Search API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Pipixia Search API accept?

Required: keyword (string). Optional: offset (string) and search_type (string). The Parameters table and the Playground on this page list every field.

### What does the Pipixia Search API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Pipixia developer account or API key?

No. Pipixia Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Pipixia API access separately.

## README

### Pipixia Search API

Search Pipixia for a keyword. Choose the result type with `search_type` and paginate with `offset`.

#### Use cases

- Research trending humor and meme content.
- Find creators in the Pipixia community.
- Monitor brand mentions.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "猫"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | Yes | Search keyword. |
| `offset` | string | No | Page cursor, default is 0, get the corresponding value from the `offset` Key in the previous page. |
| `search_type` | string | No | Search type, available values are as follows: 1: Comprehensive; 8: Hot; 9: Fresh; 2: Video; 3: Photo; 4: User; 5: Hasht… |

#### Notes

- `search_type`: 1 comprehensive, 8 hot, 9 fresh, 2 video, 3 photo, 4 user.

#### Related APIs

- [Pipixia Hot Search](/model/pipixia/app/hot-search-board-list): Get the Pipixia hot search boards: trending posts with daily likes and top comments.
- [Get hashtag detail](/model/pipixia/app/hashtag-detail): Get hashtag detail data.
- [Get hashtag post list](/model/pipixia/app/hashtag-post-list): Get hashtag post list data.
