เข้าสู่ระบบด้วย Google

📧 Read Mail API

API สำหรับตรวจสอบสถานะบัญชี Gmail แบบ real-time รวดเร็ว แม่นยำ

Base URL: https://read-mail.me

Authentication

ทุก request ต้องแนบ API Key โดยใส่ใน HTTP Header:

X-API-Key: your_api_key_here

หรือแนบใน request body:

{
  "api_key": "your_api_key_here",
  "emails": [...]
}
รับ API Key ได้ที่ Dashboard → API Keys

Rate Limiting

แพคเกจLimit/วันMax/Request
Free100 emails1,000 emails
Premium1,000,000 emails/วัน10,000 emails

เมื่อเกิน limit จะได้รับ HTTP 429 พร้อม remaining และ reset_at

Error Codes

HTTP CodeErrorความหมาย
400Missing emailsไม่ได้ส่ง emails array
401Missing API Keyไม่ได้แนบ API Key
401Invalid API KeyAPI Key ไม่ถูกต้อง
403API Key DisabledAPI Key ถูกปิดใช้งาน
403Account Suspendedบัญชีถูกระงับ
429Rate Limit Exceededเกิน quota รายวัน
502Upstream Errorระบบตรวจสอบขัดข้อง

Gmail Check

POST /api/gmail/check

ตรวจสอบสถานะ Gmail หลายบัญชีพร้อมกัน (สูงสุด 100 emails/request)

Request Headers

HeaderRequiredค่า
Content-Typerequiredapplication/json
X-API-KeyrequiredAPI Key ของคุณ

Request Body

FieldTypeRequiredรายละเอียด
emailsarrayrequiredรายการ email สูงสุด 100 รายการ

Response

{
  "success": true,
  "results": [
    { "email": "[email protected]", "status": "live" },
    { "email": "[email protected]", "status": "bad" }
  ],
  "total": 2,
  "limit": 100,
  "used": 2,
  "remaining": 98
}

Status Values

Statusความหมาย
liveบัญชีใช้งานได้ปกติ
badบัญชีใช้งานไม่ได้ (disabled, not exists, etc.)

ตัวอย่าง cURL

curl -s -X POST https://read-mail.me/api/gmail/check \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"emails":["[email protected]","[email protected]"]}'

ตัวอย่าง PHP

<?php
$ch = curl_init('https://read-mail.me/api/gmail/check');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST           => true,
    CURLOPT_POSTFIELDS     => json_encode([
        'emails' => ['[email protected]', '[email protected]']
    ]),
    CURLOPT_HTTPHEADER => [
        'Content-Type: application/json',
        'X-API-Key: YOUR_API_KEY',
    ],
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);

foreach ($response['results'] as $result) {
    echo $result['email'] . ' => ' . $result['status'] . "\n";
}

ตัวอย่าง Python

import requests

response = requests.post(
    'https://read-mail.me/api/gmail/check',
    headers={
        'Content-Type': 'application/json',
        'X-API-Key': 'YOUR_API_KEY'
    },
    json={'emails': ['[email protected]', '[email protected]']}
)

data = response.json()
for result in data['results']:
    print(f"{result['email']} => {result['status']}")

ตัวอย่าง JavaScript

const response = await fetch('https://read-mail.me/api/gmail/check', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-API-Key': 'YOUR_API_KEY'
  },
  body: JSON.stringify({
    emails: ['[email protected]', '[email protected]']
  })
});

const data = await response.json();
data.results.forEach(r => {
  console.log(`${r.email} => ${r.status}`);
});

แพคเกจ

แพคเกจราคาLimit/วัน
Freeฟรี100 emails/วัน (สูงสุด 1,000/request)
Premium15 USDT1,000,000 emails/วัน (สูงสุด 10,000/request)
ดูแพคเกจและซื้อ