> ## 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

# 电子邮件查询

> 由主页 URL 查询单个 TikTok、Instagram 或 YouTube 创作者的联系邮箱。

根据 Instagram、TikTok 或 YouTube 创作者的主页 URL 查询联系邮箱。传入 `profile_url`，响应返回解析出的 `platform`、规范化后的 `profile_url`，以及形如 `{status, value}` 的 `email` 对象。

`status` 为 `not_found`（`value` 为 null）表示该创作者未公开邮箱 —— 这是正常结果，不是错误，且仍按一次有效查询计费。

每次调用只处理一个创作者。若需要先获得一批创作者，请用 [`post_waveinflu_similar_creators`](https://aisa.one/docs/zh/api-reference/waveinflu/post_waveinflu-similar) 或 [`post_waveinflu_ai_search`](https://aisa.one/docs/zh/api-reference/waveinflu/post_waveinflu-ai-search) —— 它们对多数匹配已直接返回 `email`，本接口只需用于 `email` 为 null 的结果。

> [!NOTE]
>
> **AIsa API 版本升级（含不兼容变更）。** 请求字段由 `url` 改为 `profile_url`；响应改为 `data.email.{status, value}` 与 `data.profile_url`，原 `emails[]`、`contacts[]`、`username`、`quota` 字段已移除。若仍传旧字段 `url`，将返回 `400 code=10001` 且不计费。

## 示例

```bash REST theme={null}
curl -X POST "https://api.aisa.one/apis/v1/waveinflu/email-lookup" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"profile_url": "https://www.instagram.com/onkimia/"}'
```

```jsonc MCP theme={null}
// 把整段复制给 Claude Code、Codex、Cursor 或任意 coding agent。
// 连接、授权、跑通这个例子需要的东西都在里面 ——
// 不用粘贴任何 key，浏览器里点一次 Allow 就好。
{
  "calls": [
    {
      "call_id": "1",
      "tool": "post_waveinflu_email_lookup",
      "arguments": {
        "profile_url": "https://www.instagram.com/onkimia/"
      }
    }
  ]
}
// ── for the agent ─────────────────────────────────────────────────────────
// Register the AIsa MCP server, then call its `batch_quote` tool with the JSON above.
//   name       aisa
//   endpoint   https://mcp.aisa.one/mcp
//   transport  streamable-http
//   auth       OAuth. The server publishes RFC 9728 metadata, so open a
//              browser and the user clicks Allow once — nothing to paste.
//              If AISA_API_KEY is set, send it as a bearer header instead.
// Use your own MCP mechanism, not a hand-edited config file:
//   Codex        codex mcp add aisa --url https://mcp.aisa.one/mcp
//   Claude Code  claude mcp add --transport http -s user aisa https://mcp.aisa.one/mcp
//   Cursor / VS Code   a "url" entry for https://mcp.aisa.one/mcp in the MCP config
// The server reaches https://mcp.aisa.one/servers worth of APIs through a few meta
// tools: search, list_categories, get_details, batch_quote, batch_use.
// search, get_details and batch_quote are free; batch_use is billed per
// call. This operation's full contract — every argument, the response
// shape, the price and the pitfalls — is at
//   https://aisa.one/docs/zh/api-reference/waveinflu/post_waveinflu-email-lookup.md
// Show me the quoted cost. Once I approve, run the same calls with
// batch_use and show me the result.
```

> [!NOTE]
>
> **第一次用？** 把任意 MCP 客户端指向 `https://mcp.aisa.one/mcp` —— Claude Code、
> Codex、Cursor、VS Code 都可以。鉴权走 OAuth：客户端打开浏览器，你点一次
> Allow，不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点：
> `search`、`list_categories`、`get_details` 和 `batch_quote` 免费，`batch_use`
> 按次计费。各客户端的接入步骤见[通过 MCP 连接](https://aisa.one/docs/zh/agent-quickstart.md)；实时工具列表和
> 每次调用的价格见 [aisa.one/zh-cn/mcp](https://aisa.one/zh-cn/mcp#connect)。

[在你的 agent 里把这个端点跑起来 →](https://aisa.one/mcp?from=/zh/api-reference/waveinflu/post_waveinflu-email-lookup)

## 请求规范

* **方法与路径:** POST /apis/v1/waveinflu/email-lookup
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/waveinflu/email-lookup`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/waveinflu.json)

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

```json theme={null}
{
  "operationId": "post_waveinflu_email_lookup",
  "method": "POST",
  "path": "/apis/v1/waveinflu/email-lookup",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "profile_url": {
              "description": "Instagram, TikTok, or YouTube creator profile URL.",
              "example": "https://www.instagram.com/onkimia/",
              "type": "string"
            }
          },
          "required": [
            "profile_url"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

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


## OpenAPI

````yaml openapi/zh/waveinflu.json POST /apis/v1/waveinflu/email-lookup
openapi: 3.1.0
info:
  description: ''
  title: WaveInflu
  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:
    waveinflu:
      description: ''
      title: WaveInflu
      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: 85c3eaef912afab3c857867cb973e414dd8eceab95a00d9a9fa6d5a818f4e086
        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/waveinflu/ai-search
    - /apis/v1/waveinflu/email-lookup
    - /apis/v1/waveinflu/similar
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:10f78a1328d7dc9446e6b703ab0884ed85cee1f3e1d73e1b6d3e38f17e7d980c
    facts_hash: 85c3eaef912afab3c857867cb973e414dd8eceab95a00d9a9fa6d5a818f4e086
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: waveinflu
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/waveinflu/email-lookup:
    post:
      tags:
        - default
      summary: 电子邮件查询
      description: >-
        Looks up the contact email for one Instagram, TikTok, or YouTube creator
        from a profile URL. Pass `profile_url`; the response returns the parsed
        `platform`, the normalized `profile_url`, and an `email` object
        `{status, value}`. A `not_found` status (with `value` null) is a normal
        result, not an error, and is still billed as one valid lookup. Handles
        one creator per call. To assemble a creator list first, use Similar
        Creators or AI Search — each match already includes an `email` for most
        creators; use this endpoint for the ones that come back null.
      operationId: post_waveinflu_email_lookup
      requestBody:
        content:
          application/json:
            schema:
              properties:
                profile_url:
                  description: Instagram, TikTok, or YouTube creator profile URL.
                  example: https://www.instagram.com/onkimia/
                  type: string
              required:
                - profile_url
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  billingRequestId:
                    description: Billing reference for this call, linked to your usage log.
                    example: 7c12fbeb-1f42-4ca0-88f0-353b72ee03f2
                    type: string
                  data:
                    $ref: '#/components/schemas/Response89E15B111F95_EmailLookupData'
                  requestId:
                    description: 用于支持和监控的请求 ID。
                    example: req-b6a
                    type: string
                type: object
          description: 电子邮件查询已完成
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
      x-codeSamples:
        - label: Reference example
          lang: text
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request POST \
              --url https://api.aisa.one/apis/v1/waveinflu/email-lookup \
              --header 'Authorization: Bearer <token>' \
              --header 'Content-Type: application/json' \
              --data '{
              "profile_url": "https://www.instagram.com/onkimia/"
            }'
components:
  schemas:
    Response89E15B111F95_EmailLookupData:
      properties:
        email:
          $ref: '#/components/schemas/Response89E15B111F95_EmailResult'
        platform:
          description: 'Platform parsed from the profile URL: instagram, tiktok, or youtube.'
          example: instagram
          type: string
        profile_url:
          description: Normalized creator profile URL used for this lookup.
          example: https://www.instagram.com/onkimia/
          type: string
      type: object
    Response89E15B111F95_EmailResult:
      properties:
        status:
          description: >-
            Lookup outcome: `found` when an address was resolved, otherwise a
            not-found status. A not-found result is normal and is still billed
            as one valid lookup.
          example: found
          type: string
        value:
          description: Primary contact email, or null when none was found.
          example: example@example.invalid
          type:
            - string
            - 'null'
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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