Consultar el saldo
curl --request GET \
--url https://api.nomenclator.com.ar/v1/balance \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nomenclator.com.ar/v1/balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nomenclator.com.ar/v1/balance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"balance_credits": 0,
"in_progress_count": 4503599627370495,
"concurrency_limit": 4503599627370496,
"plan_tier": "independiente",
"api_available": true
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"request_id": "<string>",
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"request_id": "<string>",
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"request_id": "<string>",
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"request_id": "<string>",
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}Cuenta
Consultar el saldo
El saldo de créditos del plan, las clasificaciones en curso y el tope de clasificaciones simultáneas. Es informativo: la API no consume créditos y funciona con saldo 0.
GET
/
balance
Consultar el saldo
curl --request GET \
--url https://api.nomenclator.com.ar/v1/balance \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nomenclator.com.ar/v1/balance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nomenclator.com.ar/v1/balance"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"balance_credits": 0,
"in_progress_count": 4503599627370495,
"concurrency_limit": 4503599627370496,
"plan_tier": "independiente",
"api_available": true
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"request_id": "<string>",
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"request_id": "<string>",
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"request_id": "<string>",
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"request_id": "<string>",
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}balance_credits puede ser negativo si un pago se reembolsó. api_available es true cuando el plan incluye la API y la suscripción está activa.Autorizaciones
API key de tu organización, creada en la app en Ajustes → API. Se manda como Authorization: Bearer nmc_live_…, nunca en la query string. Alcances: read (solo leer) y classify (clasificar y leer).
Respuesta
Saldo y plan.
Saldo de créditos del plan. Puede ser negativo por un reembolso.
Rango requerido:
-9007199254740991 <= x <= 9007199254740991Clasificaciones en curso.
Rango requerido:
0 <= x <= 9007199254740991Cuántas clasificaciones puede tener en curso a la vez.
Rango requerido:
1 <= x <= 9007199254740991Plan: independiente, estudio, profesional o enterprise. null sin plan.
Opciones disponibles:
independiente, estudio, profesional, enterprise true si el plan incluye la API y la suscripción está activa.