GET /v1/lemon8/app/fetch_search
Search API
stable · 2 credits per success
Search API;query: Search keyword;max_cursor: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the `max_cursor` returned by the last request is used for subsequent requests. You can judge whether there is more data by the `has_more` field in the return result.;filter_type: Search filter type, default is an empty string, option…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| query | string | query | yes | 搜索关键词 | lemon8 |
| order_by | string | query | no | 搜索排序方式 | demo |
| max_cursor | string | query | no | 翻页参数 | demo |
| search_tab | string | query | no | 搜索类型 | main |
| filter_type | string | query | no | 搜索过滤类型 | demo |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.