API

Documentation

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

API Documentation

Base URL

code
https://b0f0869c7d083dd5.worstmailer.pro/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://b0f0869c7d083dd5.worstmailer.pro/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://b0f0869c7d083dd5.worstmailer.pro/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://b0f0869c7d083dd5.worstmailer.pro/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());
11 services available
ServiceCountries
2dehandsbe
depopgb
dexpressrs
Fancourierro
kleinanzeigende
Marktplaatsnl
olxptro
OLXbgpl
quokade
Subitoit
wallapopesit