> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# search

> 搜索

通过关键词搜索 Pinterest Pin。

## 示例

```bash theme={null}
curl "https://api.aisa.one/apis/v1/pinterest/search?query=VALUE" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## 请求规范

* **方法与路径:** GET /apis/v1/pinterest/search
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/pinterest/search`
* **cursor:** query; 可选
* **limit:** query; 可选
* **query:** query; 必填
* **trim:** query; 可选

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/scrape-creators.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "get_pinterest_search",
  "method": "GET",
  "path": "/apis/v1/pinterest/search",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Cursor",
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Search query",
      "in": "query",
      "name": "query",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Set to true for a trimmed down version of the response",
      "in": "query",
      "name": "trim",
      "required": false,
      "schema": {
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际计费结果数量收费。 默认请求预估费用：\$0.00188 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi-public/zh/scrape-creators.json GET /apis/v1/pinterest/search
openapi: 3.1.0
info:
  description: ''
  title: Scrape Creators
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    scrape-creators:
      description: ''
      title: Scrape Creators
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: fdf0a203e7ec628291b62272da7b8bbbe431c8f77f251ea2e65c19cd3c98fa37
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/instagram/basic-profile
    - /apis/v1/instagram/media/transcript
    - /apis/v1/instagram/post
    - /apis/v1/instagram/post/comments
    - /apis/v1/instagram/profile
    - /apis/v1/instagram/reels/search
    - /apis/v1/instagram/reels/trending
    - /apis/v1/instagram/search/hashtag
    - /apis/v1/instagram/search/profiles
    - /apis/v1/instagram/song/reels
    - /apis/v1/instagram/user/embed
    - /apis/v1/instagram/user/highlight/detail
    - /apis/v1/instagram/user/highlights
    - /apis/v1/instagram/user/posts
    - /apis/v1/instagram/user/reels
    - /apis/v1/pinterest/board
    - /apis/v1/pinterest/pin
    - /apis/v1/pinterest/search
    - /apis/v1/pinterest/user/boards
    - /apis/v1/reddit/post/comments
    - /apis/v1/reddit/search
    - /apis/v1/reddit/subreddit
    - /apis/v1/reddit/subreddit/details
    - /apis/v1/reddit/subreddit/search
  x-aisa-document:
    composer_version: '31'
    facts_hash: fdf0a203e7ec628291b62272da7b8bbbe431c8f77f251ea2e65c19cd3c98fa37
    generator_version: '3'
    identity_base_document_hash: sha256:21febe84645944ab208ea05f701b4ecaea05ab9ed69b91f52ad772689b28c9a1
    identity_compatibility_hash: sha256:6c09ef0bdf18266535eb126de4c7347ff1c7d0e62dd283fee668032d3d4408c5
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:87aa34bccc72f58a27229703aa754633dcaa68f6f0853760a5802b05937f0382
    document_hash: sha256:d2edf3d8f6a0f31b23ac101de9592d2ace3b1712e538b01ec6a02e75a68b8490
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: scrape-creators
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/pinterest/search:
    get:
      tags:
        - default
      summary: search
      description: >-
        Searches Pinterest for pins matching a keyword and returns pins plus a
        cursor to page. Each pin carries id, url, title, description,
        grid_title, created_at, images in five sizes (170x, 236x, 474x, 736x,
        orig), link, domain, board (name, url, pin_count) and pinner (username).
        Measured at about 110 KB for 17 pins; trim=true cuts that to 28 KB and
        keeps six fields per pin — id, url, description, created_at, images and
        pinner — dropping title, link, board and domain, so only skip trim when
        you need those. The board.url on each result feeds get_pinterest_board;
        for one pin's engagement counts use get_pinterest_pin.


        > **请求示例待验证。**
        此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode:
        quote`）查看预估费用。
      operationId: get_pinterest-search
      parameters:
        - description: 游标
          in: query
          name: cursor
          required: false
          schema:
            type: string
        - in: query
          name: limit
          required: false
          schema:
            type: string
        - description: 搜索查询
          in: query
          name: query
          required: true
          schema:
            type: string
        - description: 设为 true 以返回精简版响应
          in: query
          name: trim
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                cursor: Y2JVSG81V2sxcmNHRlpWM1J5VFVad1ZsWl...
                pins:
                  - created_at: Tue, 10 Jun 2025 21:45:32 +0000
                    description: >-
                      #cute #animal #dog #puppy #pfp #icon #dogpfp #silly
                      #cutepuppy #bordercollie #fyp #trend
                    id: '643874078015272259'
                    images:
                      170x:
                        height: 312
                        url: >-
                          https://i.pinimg.com/236x/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg
                        width: 236
                      236x:
                        height: 312
                        url: >-
                          https://i.pinimg.com/236x/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg
                        width: 236
                      474x:
                        height: 626
                        url: >-
                          https://i.pinimg.com/474x/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg
                        width: 474
                      736x:
                        height: 973
                        url: >-
                          https://i.pinimg.com/736x/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg
                        width: 736
                      orig:
                        height: 1251
                        url: >-
                          https://i.pinimg.com/originals/a7/d6/dc/a7d6dced1ee95c11a150dcf2f1c6e05f.jpg
                        width: 946
                    pinner:
                      ads_only_profile_site: null
                      follower_count: 2
                      full_name: Annika Strøm
                      id: '643874215384139018'
                      image_large_url: >-
                        https://i.pinimg.com/140x140_RS/60/d5/a8/60d5a8405ec70c5c46b677186c626587.jpg
                      image_medium_url: >-
                        https://i.pinimg.com/75x75_RS/60/d5/a8/60d5a8405ec70c5c46b677186c626587.jpg
                      image_small_url: >-
                        https://i.pinimg.com/30x30_RS/60/d5/a8/60d5a8405ec70c5c46b677186c626587.jpg
                      is_ads_only_profile: false
                      is_primary_website_verified: false
                      is_verified_merchant: false
                      node_id: VXNlcjo2NDM4NzQyMTUzODQxMzkwMTg=
                      username: annikastrom2
                      verified_identity: {}
                    url: https://www.pinterest.com/pin/643874078015272259
                success: true
              schema:
                $ref: >-
                  #/components/schemas/Response9Da6321Ae25F_PinterestPinsResponse
          description: 成功响应
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response9Da6321Ae25F_PinterestPinsResponse:
      additionalProperties: true
      properties:
        credits_remaining:
          type: integer
        cursor:
          type:
            - string
            - 'null'
        pins:
          items:
            additionalProperties: true
            type: object
          type: array
        success:
          type: boolean
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.