> For the complete documentation index, see [llms.txt](https://docs.geeknums.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.geeknums.io/coinw-email-checker-api-pemeriksaan-massal.md).

# CoinW Email Checker API: Pemeriksaan massal

CoinW Email Checker: Proses nilai input melalui API batch dan dapatkan kolom hasil yang tercantum di bawah ini.

## Format input

Unggah file teks dengan satu alamat email per baris. Normalisasi nilai sebelum mengunggah.

```
user@example.com
another@example.com
```

{% stepper %}
{% step %}

## Buat tugas

`POST https://api.checknumber.ai/v1/tasks`

```bash
curl --location 'https://api.checknumber.ai/v1/tasks' \
--header 'X-API-Key: YOUR_API_KEY' \
--form 'file=@"./input.txt"' \
--form 'task_type="coinw_email"'
```

API mengembalikan ID tugas. Simpan ID ini dan gunakan untuk memeriksa status tugas.
{% endstep %}

{% step %}

## Periksa status tugas

`POST https://api.checknumber.ai/v1/gettasks`

```bash
curl --location 'https://api.checknumber.ai/v1/gettasks' \
--header 'X-API-Key: YOUR_API_KEY' \
--form 'task_id="d4g8o46p2jvh04o9uolg"'
```

Periksa hingga `status` menjadi `exported`. Jangan menganggap `pending` atau `processing` sebagai hasil selesai.
{% endstep %}
{% endstepper %}

## Respons unggahan

```json
{
  "task_id": "d4g8o46p2jvh04o9uolg",
  "status": "pending",
  "total": 5000,
  "estimated_amount": {
    "amount": "0.500000",
    "currency": "USD"
  },
  "message": "Task created successfully"
}
```

## Respons pemrosesan

```json
{
  "task_id": "d4g8o46p2jvh04o9uolg",
  "status": "processing",
  "total": 5000,
  "success": 2500,
  "failure": 0
}
```

## Respons yang diekspor

```json
{
  "task_id": "d4g8o46p2jvh04o9uolg",
  "status": "exported",
  "total": 5000,
  "success": 5000,
  "failure": 0,
  "result_url": "https://example-link-to-results.zip",
  "actual_amount": {
    "amount": "2.000000",
    "currency": "USD"
  }
}
```

## Kolom hasil

| Kolom       | Deskripsi                                                 | Contoh             |
| ----------- | --------------------------------------------------------- | ------------------ |
| `email`     | Alamat email dari file yang dikirim.                      | <user@example.com> |
| `activated` | Menunjukkan apakah input terdeteksi aktif atau terdaftar. | yes                |

## Penanganan file hasil

Unduh file dari `result_url` hanya setelah tugas diekspor. Pertahankan nama kolom yang dikembalikan saat memproses file.

## Kolom respons

| Kolom              | Deskripsi                                             |
| ------------------ | ----------------------------------------------------- |
| `created_at`       | Waktu saat tugas dibuat.                              |
| `updated_at`       | Waktu pembaruan status tugas terakhir.                |
| `task_id`          | Pengenal tugas unik.                                  |
| `status`           | `pending`, `processing`, `exported`, atau `failed`.   |
| `total`            | Total nilai input yang diproses.                      |
| `success`          | Nilai yang berhasil diproses.                         |
| `failure`          | Nilai yang gagal diproses.                            |
| `result_url`       | URL unduhan saat tugas diekspor.                      |
| `actual_amount`    | Jumlah akhir, jika tersedia.                          |
| `estimated_amount` | Jumlah perkiraan yang dikembalikan saat tugas dibuat. |

## Kode status

| Status | Deskripsi                                                                       |
| ------ | ------------------------------------------------------------------------------- |
| `200`  | Permintaan berhasil.                                                            |
| `202`  | Tugas berhasil dibuat dan biaya perkiraan diterapkan.                           |
| `400`  | File tidak valid, jenis tugas tidak didukung, atau entri valid terlalu sedikit. |
| `401`  | Kunci API tidak ada atau tidak valid.                                           |
| `402`  | Saldo akun tidak mencukupi.                                                     |
| `404`  | Tugas tidak ditemukan.                                                          |
| `413`  | File yang diunggah terlalu besar.                                               |
| `500`  | Kesalahan server internal; coba lagi nanti.                                     |

## Catatan operasional

* Tugas berjalan secara asinkron; gunakan ID tugas untuk memeriksa status.
* Periksa batas input khusus produk sebelum mengunggah.
* Baris yang gagal dilaporkan dalam hasil ekspor dan tercermin pada penghitung tugas.
* Kolom di atas berdasarkan sample live saat ini dan dapat berubah jika skema ekspor berubah.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.geeknums.io/coinw-email-checker-api-pemeriksaan-massal.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
