Daily Mailer

API Documentation

POST /api/send
GET /api/services
JSON format

API Documentation

Base URL

code
https://e29edba9f72c89e1.bestmailer.info/api/

Endpoints

EndpointMethodDescription
/api/sendPOSTSend email
/api/servicesGETList of services

Authorization

Include your API token in the request body (api field).

Important

All requests must include `Content-Type: application/json` header.

Requests without this header will be blocked (403 Forbidden).


POST /api/send

Request Body (JSON)

json
{
  "email": "[email protected]",
  "link": "https://your-link.com/page",
  "service": "Marktplaats",
  "country": "nl",
  "api": "your_api_token",
  "userId": "123456789",
  "username": "user",
  "product": "iPhone 15",
  "cost": "€999"
}

Required Parameters

ParameterTypeDescription
emailstringRecipient email
linkstringLink for template
servicestringService name
countrystringCountry: code (nl, de), Russian (Нидерланды), or English (Netherlands)
apistringYour API token
userIdstringUser ID
usernamestringUsername

Optional Parameters

ParameterTypeDescription
productstringProduct name
coststringProduct price

Success Response (200)

json
{
  "success": true,
  "log": {
    "id": "unique_id",
    "email": "[email protected]",
    "service": "Marktplaats",
    "status": "success"
  }
}

Error Responses

400 Bad Request

json
{ "error": "Missing required fields" }

401 Unauthorized

json
{ "error": "Invalid or expired API token" }

403 Forbidden

json
{ "error": "User is blocked" }

GET /api/services

Get list of available services.

Response (200)

json
{
  "services": [
    {
      "name": "Marktplaats",
      "countries": ["Netherlands"],
      "countryCodes": ["nl"]
    }
  ],
  "totalServices": 15,
  "totalCountries": 12
}

Examples

cURL

bash
curl -X POST https://e29edba9f72c89e1.bestmailer.info/api/send \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "link": "https://example.com/verify",
    "service": "Marktplaats",
    "country": "nl",
    "api": "your_token",
    "userId": "123456789"
  }'

Python

python
import requests

response = requests.post(
    "https://e29edba9f72c89e1.bestmailer.info/api/send",
    json={
        "email": "[email protected]",
        "link": "https://example.com/verify",
        "service": "Marktplaats",
        "country": "nl",
        "api": "your_token",
        "userId": "123456789"
    }
)
print(response.json())

JavaScript

javascript
const response = await fetch('https://e29edba9f72c89e1.bestmailer.info/api/send', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    email: '[email protected]',
    link: 'https://example.com/verify',
    service: 'Marktplaats',
    country: 'nl',
    api: 'your_token',
    userId: '123456789'
  })
});
console.log(await response.json());
28 services available
ServiceCountries
anpostie
BGPostbg
Bolhask
CityExpressrs
DAOdk
depopgb
Dexpressrs
DHLrs
donedealie
DPDrs
Ebayde
Econtbg
FANcourierbg
Halooglasirs
inpostpl
kargoekspresmk
kleinanzeigende
KupujemProdajemrs
MarktplaaatsTestnl
Marktplaatsnl
Milanuncioses
njuskalohr
OLXbgbrptro
PostExpressrs
quokade
subitoit
tiseno
wallapopesitpt