Docs / Qué datos hay disponiblesWhat data is availableMarkdown

Qué datos hay disponibles

GEThttps://pricto.dev/v1/coverage

Counts, freshness and history depth by country, retailer and category. Agents should call this when a search returns nothing, to tell the user whether the data does not exist or the query was wrong.

CréditosMCP
0get_coverage

Parámetros#

ParámetroEnTipoDescripción
countryquerystringISO 3166-1 alpha-2 country code. Defaults to all covered countries.
retailerquerystringOne or more retailer IDs, comma separated (e.g. cl-jumbo,cl-unimarc).
categoryquerystringCategory ID; includes subcategories (e.g. food.dairy).
langquerystringResponse language as a BCP 47 tag (es, es-CL, en, en-US...). Supported today: es, en. An unsupported language falls back to English with a warning, never an error. Falls back to Accept-Language, then to the account default. The resolved value is in meta.lang.

Respuesta#

200 Coverage.

CampoTipoDescripción
data requeridoobject
data.totals requeridoobject
data.totals.countriesinteger
data.totals.retailersinteger
data.totals.productsinteger
data.totals.offersinteger
data.totals.observationsinteger
data.totals.history_sincestring (date) | null
data.retailers requeridoobject[]
data.retailers[].retailerRetailerRef
data.retailers[].retailer.id requeridostring
data.retailers[].retailer.name requeridostring
data.retailers[].countrystring
data.retailers[].offersinteger
data.retailers[].matched_pctnumber
data.retailers[].last_observedstring (date-time) | null
data.retailers[].history_sincestring (date) | null
data.categories requeridoobject[]
data.categories[].categoryCategoryRef
data.categories[].category.id requeridostring
data.categories[].category.label requeridostring
data.categories[].category.pathstring[]
data.categories[].productsinteger
data.categories[].retailersinteger
data.plannedstring[]Retailers or countries announced but not yet available.
meta requeridoMeta

meta trae el costo, la fuente para citar, el idioma, la moneda y los avisos (ver Convenciones).

Errores#

What data is available

GEThttps://pricto.dev/v1/coverage

Counts, freshness and history depth by country, retailer and category. Agents should call this when a search returns nothing, to tell the user whether the data does not exist or the query was wrong.

CreditsMCP
0get_coverage

Parameters#

ParameterInTypeDescription
countryquerystringISO 3166-1 alpha-2 country code. Defaults to all covered countries.
retailerquerystringOne or more retailer IDs, comma separated (e.g. cl-jumbo,cl-unimarc).
categoryquerystringCategory ID; includes subcategories (e.g. food.dairy).
langquerystringResponse language as a BCP 47 tag (es, es-CL, en, en-US...). Supported today: es, en. An unsupported language falls back to English with a warning, never an error. Falls back to Accept-Language, then to the account default. The resolved value is in meta.lang.

Response#

200 Coverage.

FieldTypeDescription
data requiredobject
data.totals requiredobject
data.totals.countriesinteger
data.totals.retailersinteger
data.totals.productsinteger
data.totals.offersinteger
data.totals.observationsinteger
data.totals.history_sincestring (date) | null
data.retailers requiredobject[]
data.retailers[].retailerRetailerRef
data.retailers[].retailer.id requiredstring
data.retailers[].retailer.name requiredstring
data.retailers[].countrystring
data.retailers[].offersinteger
data.retailers[].matched_pctnumber
data.retailers[].last_observedstring (date-time) | null
data.retailers[].history_sincestring (date) | null
data.categories requiredobject[]
data.categories[].categoryCategoryRef
data.categories[].category.id requiredstring
data.categories[].category.label requiredstring
data.categories[].category.pathstring[]
data.categories[].productsinteger
data.categories[].retailersinteger
data.plannedstring[]Retailers or countries announced but not yet available.
meta requiredMeta

meta carries the cost, the source line to quote, the language, the currency and notices (see Conventions).

Errors#