Países, monedas e idiomas
GET
https://pricto.dev/v1/countriesCountries, currencies and languages
| Créditos | MCP |
|---|---|
| 0 | — |
Parámetros#
| Parámetro | En | Tipo | Descripción |
|---|---|---|---|
lang | query | string | Response 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 Countries.
| Campo | Tipo | Descripción |
|---|---|---|
data requerido | Country[] | |
data[].code requerido | string | |
data[].name requerido | string | |
data[].currency requerido | string | |
data[].currency_minor_unit | integer | |
data[].languages requerido | string[] | |
data[].timezones | string[] | |
data[].fx_source | string | null | Official source used for local currency to USD. |
data[].admin_area_scheme | string | null | |
data[].standard_vat_rate | number | null | Informative only. |
data[].status requerido | string | Valores / values: live, beta, planned. |
meta requerido | Meta |
meta trae el costo, la fuente para citar, el idioma, la moneda y los avisos (ver Convenciones).
Errores#
Countries, currencies and languages
GET
https://pricto.dev/v1/countriesCountries, currencies and languages
| Credits | MCP |
|---|---|
| 0 | — |
Parameters#
| Parameter | In | Type | Description |
|---|---|---|---|
lang | query | string | Response 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 Countries.
| Field | Type | Description |
|---|---|---|
data required | Country[] | |
data[].code required | string | |
data[].name required | string | |
data[].currency required | string | |
data[].currency_minor_unit | integer | |
data[].languages required | string[] | |
data[].timezones | string[] | |
data[].fx_source | string | null | Official source used for local currency to USD. |
data[].admin_area_scheme | string | null | |
data[].standard_vat_rate | number | null | Informative only. |
data[].status required | string | Valores / values: live, beta, planned. |
meta required | Meta |
meta carries the cost, the source line to quote, the language, the currency and notices (see Conventions).