# 搜索

**API:** Data API

**Endpoint:** `GET /v1/beta/pinterest/search`

**Tags:** Pinterest

使用 query 搜索公开 Pin，并用 trim 和 limit 控制所需结果的形态与数量。本契约未声明分页游标输入。

### 计费参考

- 计量方式：按结果数量计量。
- 参考请求估算：0.00188 美元。
- 参考客户倍率：1.0。不得对已结算的客户金额再次应用。

仅供参考的元数据，不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | no | string |  |
| `query` | query | no | string |  |
| `trim` | query | no | string |  |

## Responses

### 200 — 成功响应

Headers:
- `X-Request-Id` (string) — 联系 Felo 支持时需提供的请求标识符。

**application/json**

Schema: `ResponseD03A0F58B24A_PinterestPinsResponse` (`#/components/schemas/ResponseD03A0F58B24A_PinterestPinsResponse`)

Example:

```json
{
  "success": true,
  "pins": [
    {
      "id": "643874078015272259",
      "url": "https://www.pinterest.com/pin/643874078015272259",
      "description": "#cute #animal #dog #puppy #pfp #icon #dogpfp #silly #cutepuppy #bordercollie #fyp #trend",
      "created_at": "Tue, 10 Jun 2025 21:45:32 +0000",
      "pinner": {
        "node_id": "VXNlcjo2NDM4NzQyMTUzODQxMzkwMTg=",
        "full_name": "Annika Strøm",
        "is_ads_only_profile": false,
        "username": "annikastrom2",
        "image_medium_url": "https://i.pinimg.com/75x75_RS/60/d5/a8/60d5a8405ec70c5c46b677186c626587.jpg",
        "is_primary_website_verified": false,
        "follower_count": 2,
        "ads_only_profile_site": null,
        "id": "643874215384139018",
        "is_verified_merchant": false,
        "image_large_url": "https://i.pinimg.com/140x140_RS/60/d5/a8/60d5a8405ec70c5c46b677186c626587.jpg",
        "verified_identity": {},
        "image_small_url": "https://i.pinimg.com/30x30_RS/60/d5/a8/60d5a8405ec70c5c46b677186c626587.jpg"
      },
      "images": {
        "170x": {
          "width": 236,
          "height": 312,
          "url": "https://i.pinimg.com/236x/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg"
        },
        "236x": {
          "width": 236,
          "height": 312,
          "url": "https://i.pinimg.com/236x/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg"
        },
        "474x": {
          "width": 474,
          "height": 626,
          "url": "https://i.pinimg.com/474x/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg"
        },
        "736x": {
          "width": 736,
          "height": 973,
          "url": "https://i.pinimg.com/736x/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg"
        },
        "orig": {
          "width": 946,
          "height": 1251,
          "url": "https://i.pinimg.com/originals/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg"
        }
      }
    }
  ],
  "cursor": "Y2JVSG81V2sxcmNHRlpWM1J5VFVad1ZsWl..."
}
```

### 400 — 无法处理该请求。请检查请求参数。

### 401 — 需要有效的 Felo API 密钥。

### 402 — 由于未满足计费要求，请求无法继续。

### 403 — 该账户无权执行此操作。

### 429 — 已达到请求或支出限额。

### 502 — 服务无法完成该请求。

### 503 — API 或计费服务暂时不可用。

### 504 — 服务在处理请求时超时。

### default — 错误响应；上游透传响应可能采用提供方格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseD03A0F58B24A_PinterestPinsResponse

`#/components/schemas/ResponseD03A0F58B24A_PinterestPinsResponse`

```json
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "pins": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "cursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": true
}
```
