Converts an amount between LATAM and reference currencies at live edge-cached rates: MXN, ARS, CLP, COP, PEN, UYU, BRL, USD and EUR. One call can fan out to several targets at once, or to every supported currency when you omit the target list, and each conversion returns the converted amount with the rate and its inverse. Use it to price a cross-border invoice, normalise a multi-country report to one currency, or estimate a payout. Do not use it to settle a payment or to book an FX trade: the rates are indicative and come from public sources, so always check the source field, which reports 'fallback-reference' when every live upstream timed out and static reference rates were used. Do not use it for validation either, which the three sibling tools handle, although latam_validate_batch can bundle an FX conversion into the same charge. Read-only and non-destructive, but NOT deterministic: it reads live market data, so two identical calls minutes apart can legitimately return different figures, and a retry is safe but will not necessarily reproduce the earlier numbers. Costs 0.008 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. One call is one charge no matter how many identifiers it carries, so batching is strictly cheaper than looping. It never throws on bad input: an unsupported currency code is replaced by the default and noted in fx.warnings rather than rejected, so read fx.base and fx.warnings to confirm the pair you actually got.
latam_validate_bank_accountread-only
Checks an interbank account key and names the institution behind it: the 18-digit Mexican CLABE with the Banxico Mod-10 check digit, and the 22-digit Argentine CBU with its two independent block checksums. It returns the bank name from the embedded institution code, the branch and account portions, and for a CLABE the plaza code. Use it before a first payout, when registering supplier or payroll bank details, or to reject a mistyped key at the point of entry instead of waiting for a returned transfer. Do not use it for tax IDs, which latam_validate_tax_id handles, do not loop it over a payout list when latam_validate_batch checks up to 100 keys for the same single charge, and do not read a pass as confirmation that the account exists, is open or belongs to the named holder: the checksum proves only that the key is well formed, so it catches typos, not fraud. Read-only, deterministic and fully offline at the edge, so a retry is safe. Costs 0.008 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. One call is one charge no matter how many identifiers it carries, so batching is strictly cheaper than looping. It never throws on bad input: a malformed key comes back with valid false and the reasons in errors, so branch on results[0].valid.
latam_validate_batchread-only
Checks a mixed list of up to 100 Latin American tax IDs and bank account keys across all seven supported countries in a single paid call, each line independently auto-detected or strictly typed, and returns the same decoded detail as the single-document tools plus aggregate counters: how many passed, how many failed, and which countries were found. Attach your own label to each line and it comes back on the matching result, so the response joins straight onto a spreadsheet row or a database id. Use it to clean a customer, supplier or payroll base, to screen an uploaded file, for periodic re-validation of a CRM, and in general whenever you have more than one identifier, since one call is one charge and looping the single-document tools over 100 rows costs 100 times as much for the same answer. Do not use it for a single identifier, where latam_validate_tax_id and latam_validate_bank_account give a clearer contract, and do not send more than 100 lines: the surplus is silently dropped and a note appears in warnings, so split a larger list into successive calls. Read-only, deterministic and fully offline at the edge unless you also request FX. Costs 0.008 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. One call is one charge no matter how many identifiers it carries, so batching is strictly cheaper than looping. It never throws on bad input: invalid lines are reported individually with valid false and their own errors while the rest are still processed, so always read summary.invalid and then filter results on valid.
latam_validate_tax_idread-only
Checks a single Latin American tax or personal identifier and decodes what it encodes: Mexican RFC and CURP, Argentine CUIT and CUIL, Chilean RUT, Colombian NIT, Peruvian RUC, Uruguayan RUT, and Brazilian CPF and CNPJ. It runs the official check-digit algorithm of each registry, confirms the structure, and returns the canonical format plus the data embedded in the number itself, such as whether an RFC belongs to a company or an individual, the birth date and state in a CURP, the DNI inside a CUIT, or whether a CNPJ is a head office or a branch. Use it at signup, in KYC and onboarding flows, to clean a supplier record, or before sending an identifier to a registry that charges per query. Do not use it for bank account keys, which latam_validate_bank_account handles, do not loop it over a list when latam_validate_batch checks up to 100 identifiers for the same single charge, and do not expect it to confirm that the holder exists or is active: this is an offline structural and checksum audit, not a registry lookup. Read-only, deterministic and fully offline at the edge, so the same input always returns the same verdict and a retry is safe. Costs 0.008 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. One call is one charge no matter how many identifiers it carries, so batching is strictly cheaper than looping. It never throws on bad input: an unrecognised value comes back with type 'UNKNOWN', valid false and the reasons in errors, so branch on results[0].valid and never on the HTTP status alone.