curl --request GET \
--url https://api.nomenclator.com.ar/v1/classifications \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nomenclator.com.ar/v1/classifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nomenclator.com.ar/v1/classifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"status": "in_progress",
"stage": "answers_intake",
"failure_reason": "unexpected_format",
"title": "<string>",
"operation": "import",
"country": "<string>",
"description": "<string>",
"external_reference": "<string>",
"source": "app",
"has_file": true,
"file_has_text_layer": true,
"cost_credits": 0,
"candidates": [
{
"rank": 2,
"ncm": "<string>",
"description": "<string>",
"product_name": "<string>",
"confidence": 50,
"confidence_band": "high",
"is_provisional": true,
"hierarchy": {
"section": {
"code": "<string>",
"description": "<string>"
},
"chapter": {
"code": "<string>",
"description": "<string>"
},
"heading": {
"code": "<string>",
"description": "<string>"
},
"subheading": {
"code": "<string>",
"description": "<string>"
}
},
"rationale": "<string>",
"applied_rules": [
"<string>"
],
"cited_notes": [
{
"id": "<string>",
"text": "<string>"
}
],
"discarded_alternatives": [
{
"ncm": "<string>",
"description": "<string>",
"reason": "<string>"
}
],
"missing_data": [
"<string>"
],
"sim": {
"status": "verifying",
"code": "<string>",
"options": [
{
"code": "<string>",
"description": "<string>"
}
],
"verified_at": "2023-11-07T05:31:56Z"
}
}
],
"candidates_are_provisional": true,
"chosen_ncm": "<string>",
"chosen_sim_code": "<string>",
"questions": [
{
"id": "<string>",
"text": "<string>",
"options": [
"<string>"
]
}
],
"answers": [
{
"question_id": "<string>",
"question_text": "<string>",
"answer": "<string>"
}
],
"tariffs": {
"found": true,
"operation": "import",
"import_duty_intrazone": 123,
"import_duty_extrazone": 123,
"import_duty_applicable": 123,
"duty_kind": "intrazone",
"statistical_rate": 123,
"aec": 123,
"source": "<string>",
"queried_at": "2023-11-07T05:31:56Z"
},
"reviewed": {
"by_user_id": "<string>",
"by_name": "<string>",
"at": "2023-11-07T05:31:56Z",
"note_internal": "<string>"
},
"feedback": {
"ncm": "<string>",
"matches_chosen": true,
"at": "2023-11-07T05:31:56Z"
},
"refined_from": "<string>",
"refined_to": "<string>",
"version_id": "<string>",
"retry_of": "<string>",
"pdf_url": "<string>",
"author": {
"type": "user",
"user_id": "<string>",
"name": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<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>"
}
]
}{
"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>"
}
]
}Listar clasificaciones
El historial de tu organización, de la más nueva a la más vieja salvo que pidas otro orden. Sin status, trae las resueltas, las que esperan datos y las que están en curso. Las eliminadas nunca aparecen.
curl --request GET \
--url https://api.nomenclator.com.ar/v1/classifications \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nomenclator.com.ar/v1/classifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nomenclator.com.ar/v1/classifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"status": "in_progress",
"stage": "answers_intake",
"failure_reason": "unexpected_format",
"title": "<string>",
"operation": "import",
"country": "<string>",
"description": "<string>",
"external_reference": "<string>",
"source": "app",
"has_file": true,
"file_has_text_layer": true,
"cost_credits": 0,
"candidates": [
{
"rank": 2,
"ncm": "<string>",
"description": "<string>",
"product_name": "<string>",
"confidence": 50,
"confidence_band": "high",
"is_provisional": true,
"hierarchy": {
"section": {
"code": "<string>",
"description": "<string>"
},
"chapter": {
"code": "<string>",
"description": "<string>"
},
"heading": {
"code": "<string>",
"description": "<string>"
},
"subheading": {
"code": "<string>",
"description": "<string>"
}
},
"rationale": "<string>",
"applied_rules": [
"<string>"
],
"cited_notes": [
{
"id": "<string>",
"text": "<string>"
}
],
"discarded_alternatives": [
{
"ncm": "<string>",
"description": "<string>",
"reason": "<string>"
}
],
"missing_data": [
"<string>"
],
"sim": {
"status": "verifying",
"code": "<string>",
"options": [
{
"code": "<string>",
"description": "<string>"
}
],
"verified_at": "2023-11-07T05:31:56Z"
}
}
],
"candidates_are_provisional": true,
"chosen_ncm": "<string>",
"chosen_sim_code": "<string>",
"questions": [
{
"id": "<string>",
"text": "<string>",
"options": [
"<string>"
]
}
],
"answers": [
{
"question_id": "<string>",
"question_text": "<string>",
"answer": "<string>"
}
],
"tariffs": {
"found": true,
"operation": "import",
"import_duty_intrazone": 123,
"import_duty_extrazone": 123,
"import_duty_applicable": 123,
"duty_kind": "intrazone",
"statistical_rate": 123,
"aec": 123,
"source": "<string>",
"queried_at": "2023-11-07T05:31:56Z"
},
"reviewed": {
"by_user_id": "<string>",
"by_name": "<string>",
"at": "2023-11-07T05:31:56Z",
"note_internal": "<string>"
},
"feedback": {
"ncm": "<string>",
"matches_chosen": true,
"at": "2023-11-07T05:31:56Z"
},
"refined_from": "<string>",
"refined_to": "<string>",
"version_id": "<string>",
"retry_of": "<string>",
"pdf_url": "<string>",
"author": {
"type": "user",
"user_id": "<string>",
"name": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<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>"
}
]
}{
"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>"
}
]
}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).
Parámetros de consulta
El next_cursor de la página anterior. Si cambiás un filtro, empezá sin cursor.
512Resultados por página.
1 <= x <= 100Texto a buscar: producto, NCM (con o sin puntos) o código SIM.
120import para importación, export para exportación.
import, export País en ISO 3166-1 alfa-2.
^[A-Z]{2}$Estados separados por coma, por ejemplo resolved,failed. Valores: in_progress, pending_data, resolved, failed, abandoned.
"resolved,failed"
true trae solo las marcadas como revisadas.
true, false Creadas desde esta fecha, en formato AAAA-MM-DD.
Creadas hasta esta fecha, en formato AAAA-MM-DD.
Orden, como campo:asc o campo:desc. Campos: created_at, title, ncm, confidence, status, author, country, operation. Por defecto, created_at:desc.
"created_at:desc"