Cianbox API Castellano Request an API key

Brands

The catalogue of product brands. It exists to translate the id_marca the product catalogue returns, and to build a brand dropdown without downloading the whole product catalogue and deducing them.

GET /v1/{cuenta}/marcas is Cianbox's listing: the whole brand catalogue, from the lowest id to the highest, paginated by cursor, up to 1000 per page, with each one's product count. To find one by name there is /busquedas/marcas. The full content —its active products and its sales over the last 30 days— is fetched by id: it is Cianbox's document, and GET /marcas/{id} returns exactly the same thing as GET /documentos/marca/{id}.

Example

curl -H "X-API-Key: YOUR_KEY" \
  "https://api.cianbox.uno/v1/YOUR_ACCOUNT/marcas?limite=2"
{
  "status": "ok", "module": "reporte:listado_marcas", "count": 3, "units_charged": 2,
  "body": {
    "listado_marcas": {
      "parametros": {"incluir_no_vigentes": false, "limite": 2, "cursor": null},
      "cantidad": 123,
      "marcas": [
        {"id": 12, "nombre": "Samsung", "estado": "vigente", "cantidad_productos": 971},
        {"id": 15, "nombre": "Other", "estado": "vigente", "cantidad_productos": 0}
      ],
      "paginacion": {"limite": 2, "siguiente_cursor": "15", "hay_mas": true}
    }
  }
}

What each row carries

Field What it is
id The id
nombre The name
estado "vigente" or "no_vigente"
cantidad_productos Active products, not counting variants (a product with sizes and colours counts once); 0 if none

It is the same row as the search and as the document's header.

Filters and pagination

Parameter What it does
incluir_no_vigentes true to also bring the deactivated ones (by default, only active ones)
limite Rows per page: 200 by default, up to 1000
cursor The previous page's paginacion.siguiente_cursor (the last id); null when there is nothing more

cantidad (the size of the whole set) comes only on the first page; on the following ones it is null. Any other parameter is 400 filtro_invalido.

How it is charged

For the rows on the page, plus 1 for cantidad on the first page, with the weight of the marcas resource. The product count is not charged separately. It needs the same permission as before (marcas, in the products group).

Change on 2026-10-01: if you integrated against the previous listing

Until 2026-10-01 this listing had the generic contract (limit, page, buscar, orden, vigente, id). It is now Cianbox's listing:

The full document

.../marcas/12
{
  "marca": {
    "id": 12, "nombre": "Samsung", "estado": "vigente",
    "productos": {"cantidad": 971, "cantidad_variantes": 0, "con_stock": 812},
    "ventas": {
      "desde": "2026-08-30", "hasta": "2026-09-28", "dias": 30,
      "productos_vendidos": 569, "unidades": 1526.0,
      "neto_por_moneda": [{"moneda": "ARS", "neto": 164887644.01,
                           "descuentos_prorrateados": -1200.5}],
      "conversion": {"moneda": "ARS", "criterio": "cotizacion_de_cada_comprobante",
        "comprobantes_convertidos": 3, "comprobantes_sin_cotizacion": 0},
      "mas_vendidos": [{"id": 8801, "nombre": "Galaxy A15", "unidades": 220.0}]
    }
  }
}
# last 90 days, by currency, unconverted
.../marcas/12?dias=90&separar_por_moneda=true

Things worth knowing

Deactivated brands come only if you ask (?incluir_no_vigentes=true). Your old products may still point at a brand you no longer use: to translate those id_marca values, ask for them.

It does not accept dates. The listing has no date (the document's sales always use the last 30 days, not a range you choose).

The listing is light; the document is not. The listing is tens or hundreds of rows: fetch it once and keep it on your side. A brand's document with many products aggregates over a month of sales, so fetch it only when you need it, not in a loop over the whole catalogue.

Incremental sync

modificado_desde and modificado_hasta (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS, Cianbox time) return only what was modified in that range; with them, incluir_no_vigentes defaults to true, so deactivated records come with "estado": "no_vigente" (send incluir_no_vigentes=false to leave them out). Every row carries fecha_modificacion: store the highest one and ask for the next sync with modificado_desde set to it (it is included). Details: incremental sync.

.../marcas?modificado_desde=2026-10-07%2009:15:00&limite=1000

Reference

Generated from the API's own schema, so it always reflects the real state.

Available fields

cantidad_productosestadoidnombre

Can be filtered by

incluir_no_vigentesmodificado_desdemodificado_hasta

Can be sorted by

—

Use a hyphen and a direction: orden=fecha-desc, orden=id-asc. An orden the resource does not recognise — including the field:desc form, which belongs to raw tables — raises no error: you get the default order back. If the order matters, check the first row.

Text search looks at

—

Date field (for desde/hasta)

—

Limits

Own rate limityour plan's
Max range per query366 days
Max pagination depth50,000 skipped rows
Rows per pageup to 1000

Code examples

curl -H "X-API-Key: TU_KEY" \
  "https://api.cianbox.uno/v1/TU_CUENTA/marcas?limit=50"
import requests

r = requests.get(
    "https://api.cianbox.uno/v1/TU_CUENTA/marcas",
    headers={"X-API-Key": "TU_KEY"},
    params={"limit": 50},
    timeout=30,
)
r.raise_for_status()
for fila in r.json()["body"]:
    print(fila)
const r = await fetch(
  "https://api.cianbox.uno/v1/TU_CUENTA/marcas?limit=50",
  { headers: { "X-API-Key": "TU_KEY" } }
);
if (!r.ok) throw new Error(`HTTP ${r.status}`);
const { body } = await r.json();
console.log(body);