Abonnent
Endpunkte für die Ressource Abonnent. Alle Aufrufe erfordern Authentifizierung und liefern die Standard-JSON-Envelope.
🔗
Basis-URL: https://companybelgium.be/api/v2 · Authentifizierung
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.
Dieser Endpunkt nimmt keine Parameter.
Anfrage
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();Antwort
{
"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
}