# WaveInflu Email Lookup

**API:** Data API

**Endpoint:** `POST /v1/beta/waveinflu/email-lookup`

**Tags:** Creator Data

ค้นหาข้อมูลติดต่อสำหรับโปรไฟล์ครีเอเตอร์หนึ่งราย ส่ง profile_url การตอบกลับประกอบด้วย requestId, billingRequestId และ data ที่มี platform, profile_url และออบเจ็กต์ email ที่มี status และ value อีเมลที่เป็น not_found พร้อม value เป็น null ถือเป็นผลการค้นหาที่ถูกต้อง billingRequestId เป็นข้อมูลอ้างอิงจากผู้ให้บริการ ไม่ใช่ใบเสร็จการเรียกเก็บเงินของ Felo

### ข้อมูลอ้างอิงราคา

- การวัดปริมาณการใช้งาน: หน่วยทรัพยากรตามแพ็กเกจ
- ค่าประมาณคำขออ้างอิง: USD 0.001991
- ต้นทุนต่อหน่วยพื้นฐาน: USD 0.001991
- หน่วยทรัพยากร: `email_lookup_point`
- ตัวคูณอ้างอิงสำหรับลูกค้า: 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`)

## Request body

Required: **yes**

### application/json

Schema:

```json
{
  "type": "object",
  "properties": {
    "profile_url": {
      "type": "string"
    }
  }
}
```

Example:

```json
{
  "profile_url": "https://www.youtube.com/@example-creator"
}
```

## Responses

### 200 — ค้นหาอีเมลเสร็จสมบูรณ์

Headers:
- `X-Request-Id` (string) — ตัวระบุคำขอที่ต้องระบุเมื่อติดต่อฝ่ายสนับสนุนของ Felo

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "description": "Request ID สำหรับการสนับสนุนและการตรวจสอบ",
      "example": "req-b6a"
    },
    "billingRequestId": {
      "type": "string",
      "description": "ข้อมูลอ้างอิงการเรียกเก็บเงินของผู้ให้บริการ ไม่ใช่ใบเสร็จการเรียกเก็บเงินของ Felo",
      "example": "7c12fbeb-1f42-4ca0-88f0-353b72ee03f2"
    },
    "data": {
      "$ref": "#/components/schemas/ResponseEb32A34A5274_EmailLookupData"
    }
  }
}
```

Example:

```json
{
  "requestId": "example-request",
  "billingRequestId": "example-provider-billing",
  "data": {
    "platform": "youtube",
    "profile_url": "https://www.youtube.com/@example-creator",
    "email": {
      "status": "not_found",
      "value": null
    }
  }
}
```

### 400 — ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ

### 401 — จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง

### 402 — ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน

### 403 — บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้

### 429 — ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว

### 502 — บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้

### 503 — API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว

### 504 — บริการหมดเวลาระหว่างประมวลผลคำขอ

### default — การตอบกลับข้อผิดพลาด; การตอบกลับที่ส่งผ่านจากต้นทางอาจใช้รูปแบบของผู้ให้บริการ

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseEb32A34A5274_EmailLookupData

`#/components/schemas/ResponseEb32A34A5274_EmailLookupData`

```json
{
  "type": "object",
  "properties": {
    "platform": {
      "type": "string",
      "description": "แพลตฟอร์มที่แยกได้จาก URL โปรไฟล์: instagram, tiktok หรือ youtube",
      "example": "instagram"
    },
    "profile_url": {
      "type": "string",
      "description": "URL โปรไฟล์ครีเอเตอร์ที่ปรับให้เป็นมาตรฐานซึ่งใช้ในการค้นหานี้",
      "example": "https://www.youtube.com/@example-creator"
    },
    "email": {
      "$ref": "#/components/schemas/ResponseEb32A34A5274_EmailResult"
    }
  }
}
```

### ResponseEb32A34A5274_EmailResult

`#/components/schemas/ResponseEb32A34A5274_EmailResult`

```json
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "ผลลัพธ์การค้นหา: `found` เมื่อแก้ไขที่อยู่ได้แล้ว มิฉะนั้นจะเป็นสถานะไม่พบ ผลลัพธ์ที่ไม่พบถือเป็นเรื่องปกติและยังคงถูกเรียกเก็บเงินเป็นการค้นหาที่ถูกต้องหนึ่งครั้ง",
      "example": "found"
    },
    "value": {
      "type": [
        "string",
        "null"
      ],
      "description": "อีเมลติดต่อหลัก หรือ null เมื่อไม่พบ",
      "example": "example@example.invalid"
    }
  }
}
```
