Toolrail Latam API

The Latam API from Toolrail — 6 operation(s) for latam.

GitHub OpenAPI

Operations 6

GET /latam/indexacion Latin American inflation-indexed units used in real contracts, mortgages and… #
GET /latam/dolar-argentina Argentine dollar quotes in one call: oficial, blue (parallel) and euro rates… #
GET /latam/fx LATAM exchange rates against USD in one call: CLP, ARS oficial+blue with gap… #
GET /latam/iva VAT (IVA) rates for 17 Latin American countries, including Argentina, Chile… #
GET /latam/unidades-tributarias Annual tax units used to express fines, thresholds and fees in Latin America… #
GET /latam/tasas-politica Latin American monetary policy rates in one call: Chile TPM, Brazil Selic… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/toolrail-dev:toolrail-dev-latam-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

toolrail-dev-latam-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Toolrail Latam API
  version: 1.0.0
  description: 'Pay-per-call utility API for AI agents: PDF generation, global holidays/business days, EU VAT, ECB FX rates, IBAN/phone validation, QR codes, Chilean operational data. x402/USDC on Base & Solana.'
  contact:
    name: Toolrail support
    email: roberto.mena.rodriguez@gmail.com
servers:
- url: https://toolrail.dev
tags:
- name: Latam
paths:
  /latam/indexacion:
    get:
      operationId: get_latam_indexacion
      summary: Latin American inflation-indexed units used in real contracts, mortgages and…
      description: 'Latin American inflation-indexed units used in real contracts, mortgages and rents: UF (Chile), UVA (Argentina), UVR (Colombia), UDI (Mexico) and UI (Uruguay) — live official values with local-currency conversion; UF and UI also for a given date. Use when a contract, rent or loan is expressed in UF, UVA, UVR, UDI or UI and you need its value in local currency. Price: $0.005 per call, paid in USDC via x402 (HTTP 402 flow).'
      x-price-usd: $0.005
      x-payment-protocol: x402
      x-example: curl "https://toolrail.dev/latam/indexacion?unidad=uva&monto=100"
      responses:
        '200':
          description: Resource returned after settled payment
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '402':
          description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: Base64-encoded x402 payment envelope
        '429':
          description: Rate limit exceeded
        '502':
          description: Upstream data source unavailable
      parameters:
      - name: unidad
        in: query
        required: false
        schema:
          type: string
        example: uva
      - name: monto
        in: query
        required: false
        schema:
          type: string
        example: '100'
      tags:
      - Latam
  /latam/dolar-argentina:
    get:
      operationId: get_latam_dolar_argentina
      summary: 'Argentine dollar quotes in one call: oficial, blue (parallel) and euro rates…'
      description: 'Argentine dollar quotes in one call: oficial, blue (parallel) and euro rates with the official-blue gap, plus MEP, contado con liquidación, mayorista, cripto and tarjeta quotes with their gap against the official rate. Use when you need the Argentine peso exchange rate, a specific Argentine dollar (blue, MEP, CCL, tarjeta) or the gaps between them. Price: $0.005 per call, paid in USDC via x402 (HTTP 402 flow).'
      x-price-usd: $0.005
      x-payment-protocol: x402
      x-example: curl "https://toolrail.dev/latam/dolar-argentina"
      responses:
        '200':
          description: Resource returned after settled payment
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '402':
          description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: Base64-encoded x402 payment envelope
        '429':
          description: Rate limit exceeded
        '502':
          description: Upstream data source unavailable
      tags:
      - Latam
  /latam/fx:
    get:
      operationId: get_latam_fx
      summary: 'LATAM exchange rates against USD in one call: CLP, ARS oficial+blue with gap…'
      description: 'LATAM exchange rates against USD in one call: CLP, ARS oficial+blue with gap, BRL PTAX, MXN FIX, COP TRM and PEN SBS. Returns source and observation information per currency; Argentine blue is a market quote, not an official central-bank rate. Partial results are identified. Use when you need official central-bank exchange rates for several Latin American currencies against the US dollar in a single call. Price: $0.015 per call, paid in USDC via x402 (HTTP 402 flow).'
      x-price-usd: $0.015
      x-payment-protocol: x402
      x-example: curl "https://toolrail.dev/latam/fx"
      responses:
        '200':
          description: Resource returned after settled payment
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '402':
          description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: Base64-encoded x402 payment envelope
        '429':
          description: Rate limit exceeded
        '502':
          description: Upstream data source unavailable
      tags:
      - Latam
  /latam/iva:
    get:
      operationId: get_latam_iva
      summary: VAT (IVA) rates for 17 Latin American countries, including Argentina, Chile…
      description: 'VAT (IVA) rates for 17 Latin American countries, including Argentina, Chile, Colombia, Mexico, Peru (IGV) and the Dominican Republic (ITBIS): standard and reduced rates, plus net-to-gross or gross-to-net calculation. Reviewed dataset with source and review date; Brazil is excluded because it has no single rate. Use when pricing, quoting or invoicing in Latin America and you need the local VAT rate or the amount with or without tax. Price: $0.002 per call, paid in USDC via x402 (HTTP 402 flow).'
      x-price-usd: $0.002
      x-payment-protocol: x402
      x-example: curl "https://toolrail.dev/latam/iva?pais=CL&monto=100000&direccion=neto-a-bruto"
      responses:
        '200':
          description: Resource returned after settled payment
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '402':
          description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: Base64-encoded x402 payment envelope
        '429':
          description: Rate limit exceeded
        '502':
          description: Upstream data source unavailable
      parameters:
      - name: pais
        in: query
        required: false
        schema:
          type: string
        example: CL
      - name: monto
        in: query
        required: false
        schema:
          type: string
        example: '100000'
      - name: direccion
        in: query
        required: false
        schema:
          type: string
        example: neto-a-bruto
      tags:
      - Latam
  /latam/unidades-tributarias:
    get:
      operationId: get_latam_unidades_tributarias
      summary: Annual tax units used to express fines, thresholds and fees in Latin America…
      description: 'Annual tax units used to express fines, thresholds and fees in Latin America: UIT (Peru), UVT (Colombia) and UMA (Mexico). Official value for a date with its legal act and validity window, plus conversion of N units to local currency. Use when a law, fine, tax threshold or fee is stated in UIT, UVT or UMA and you need the amount in local currency. Price: $0.003 per call, paid in USDC via x402 (HTTP 402 flow).'
      x-price-usd: $0.003
      x-payment-protocol: x402
      x-example: curl "https://toolrail.dev/latam/unidades-tributarias?unidad=uvt&cantidad=10"
      responses:
        '200':
          description: Resource returned after settled payment
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '402':
          description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: Base64-encoded x402 payment envelope
        '429':
          description: Rate limit exceeded
        '502':
          description: Upstream data source unavailable
      parameters:
      - name: unidad
        in: query
        required: false
        schema:
          type: string
        example: uvt
      - name: cantidad
        in: query
        required: false
        schema:
          type: string
        example: '10'
      tags:
      - Latam
  /latam/tasas-politica:
    get:
      operationId: get_latam_tasas_politica
      summary: 'Latin American monetary policy rates in one call: Chile TPM, Brazil Selic…'
      description: 'Latin American monetary policy rates in one call: Chile TPM, Brazil Selic target, Mexico target rate, Colombia and Peru policy rates, each with its central bank, date (Peru: monthly period) and source. Partial results are identified when a central bank does not answer. Use when you need current central-bank interest rates for several Latin American countries; filter with ?paises=CL,BR. Price: $0.01 per call, paid in USDC via x402 (HTTP 402 flow).'
      x-price-usd: $0.01
      x-payment-protocol: x402
      x-example: curl "https://toolrail.dev/latam/tasas-politica?paises=CL,BR,MX"
      responses:
        '200':
          description: Resource returned after settled payment
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '402':
          description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: Base64-encoded x402 payment envelope
        '429':
          description: Rate limit exceeded
        '502':
          description: Upstream data source unavailable
      parameters:
      - name: paises
        in: query
        required: false
        schema:
          type: string
        example: CL,BR,MX
      tags:
      - Latam