Suscriptor
Endpoints del recurso Suscriptor. Todas las llamadas requieren autenticación y devuelven el envelope JSON estándar.
🔗
URL base: https://companybelgium.be/api/v2 · Autenticación
Authenticated customer snapshot#
GET/me
Returns the current plan, monthly quota and live usage for the authenticated API key. Does not count against your quota.
Este endpoint no recibe parámetros.
Solicitud
curl https://companybelgium.be/api/v2/me \
-H "X-API-Key: $API_KEY" -H "X-API-Secret: $API_SECRET"const res = await fetch("https://companybelgium.be/api/v2/me", {
method: "GET",
headers: {
"X-API-Key": process.env.API_KEY,
"X-API-Secret": process.env.API_SECRET,
},
});
const { data } = await res.json();Respuesta
{
"success": true,
"data": {
"plan": "pro",
"quota": {
"limit": 50000,
"used": 1234,
"resetAt": "2026-07-01T00:00:00Z"
},
"rateLimit": {
"perHour": 5000
}
},
"error": null,
"timestamp": "2026-06-05T09:00:00.000Z",
"meta": null
}