banrep_co_exchange_rates

Pack: banrep-co · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/banrep_co_exchange_rates for the schema, then POST the same URL with its arguments for the data.

Banco de la República representative market exchange rate (TRM): Colombian pesos per US dollar, the official reference rate. Latest by default, or a single “date”, or start_date/end_date (max 366 days).

Parameters

NameTypeRequiredDescription
currencystringnoOnly “USD” (the TRM is pesos per US dollar); may be omitted.
datestringnoOne date, YYYY-MM-DD.
start_datestringnoRange start, YYYY-MM-DD (default 7 days before end_date).
end_datestringnoRange end, YYYY-MM-DD (default today).

Example call

Arguments

{
  "start_date": "2026-11-02",
  "end_date": "2026-11-13"
}

curl

curl -X POST https://gateway.pipeworx.io/banrep-co/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"banrep_co_exchange_rates","arguments":{"start_date":"2026-11-02","end_date":"2026-11-13"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('banrep_co_exchange_rates', {
  "start_date": "2026-11-02",
  "end_date": "2026-11-13"
});

Response shape

FieldTypeDescription
sourcestring | null
currencystring | null
quotestring | null
requestedobject
countnumber | null
latest_observationstring | null
data_as_ofstring | null
observationsarray
empty_reasonstring | null
notestring | null
Full JSON Schema
{
  "type": "object",
  "properties": {
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "currency": {
      "type": [
        "string",
        "null"
      ]
    },
    "quote": {
      "type": [
        "string",
        "null"
      ]
    },
    "requested": {
      "type": "object",
      "properties": {
        "start_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "end_date": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "count": {
      "type": [
        "number",
        "null"
      ]
    },
    "latest_observation": {
      "type": [
        "string",
        "null"
      ]
    },
    "data_as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "observations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "cop_per_usd": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "empty_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the banrep-co pack
{
  "mcpServers": {
    "banrep-co": {
      "url": "https://gateway.pipeworx.io/banrep-co/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026