> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# finage-crypto

> Finage Crypto - real-time trades, quotes, and OHLCV data for cryptocurrencies

**Server path:** `/finage-crypto` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                              | Description                      |
| --------------------------------------------------------------------------------- | -------------------------------- |
| [`finage_crypto_convert_crypto_currency`](#finage_crypto_convert_crypto_currency) | Convert between cryptocurrencies |
| [`finage_crypto_get_aggregates`](#finage_crypto_get_aggregates)                   | Get crypto OHLCV aggregate bars  |
| [`finage_crypto_get_last_quote`](#finage_crypto_get_last_quote)                   | Get last crypto quote            |
| [`finage_crypto_get_last_trade`](#finage_crypto_get_last_trade)                   | Get last crypto trade            |
| [`finage_crypto_get_previous_close`](#finage_crypto_get_previous_close)           | Get crypto previous close        |
| [`finage_crypto_get_snapshot`](#finage_crypto_get_snapshot)                       | Get crypto market snapshot       |

***

## finage\_crypto\_convert\_crypto\_currency

Convert between cryptocurrencies

**Parameters:**

| Parameter | Type   | Required | Default | Description                                         |
| --------- | ------ | -------- | ------- | --------------------------------------------------- |
| `from`    | string | Yes      | —       | Source cryptocurrency code (e.g. BTC, ETH)          |
| `to`      | string | Yes      | —       | Target cryptocurrency or fiat code (e.g. USD, SHIB) |
| `amount`  | number | Yes      | —       | Amount to convert                                   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "Source cryptocurrency code (e.g. BTC, ETH)"
      },
      "to": {
        "type": "string",
        "description": "Target cryptocurrency or fiat code (e.g. USD, SHIB)"
      },
      "amount": {
        "type": "number",
        "description": "Amount to convert"
      }
    },
    "required": [
      "PCID",
      "from",
      "to",
      "amount"
    ]
  }
  ```
</Expandable>

***

## finage\_crypto\_get\_aggregates

Get crypto OHLCV aggregate bars

**Parameters:**

| Parameter    | Type    | Required | Default | Description                                  |
| ------------ | ------- | -------- | ------- | -------------------------------------------- |
| `symbol`     | string  | Yes      | —       | Crypto pair symbol (e.g. BTCUSD)             |
| `multiplier` | integer | Yes      | —       | Time multiplier (e.g. 1, 5, 15)              |
| `timespan`   | string  | Yes      | —       | Time unit: minute, hour, day, week, or month |
| `from`       | string  | Yes      | —       | Start date in YYYY-MM-DD format              |
| `to`         | string  | Yes      | —       | End date in YYYY-MM-DD format                |
| `limit`      | integer | No       | —       | Maximum number of results                    |
| `sort`       | string  | No       | —       | Sort order by timestamp: asc or desc         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "symbol": {
        "type": "string",
        "description": "Crypto pair symbol (e.g. BTCUSD)"
      },
      "multiplier": {
        "type": "integer",
        "description": "Time multiplier (e.g. 1, 5, 15)"
      },
      "timespan": {
        "type": "string",
        "description": "Time unit: minute, hour, day, week, or month",
        "enum": [
          "minute",
          "hour",
          "day",
          "week",
          "month"
        ]
      },
      "from": {
        "type": "string",
        "description": "Start date in YYYY-MM-DD format"
      },
      "to": {
        "type": "string",
        "description": "End date in YYYY-MM-DD format"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of results"
      },
      "sort": {
        "type": "string",
        "description": "Sort order by timestamp: asc or desc",
        "enum": [
          "asc",
          "desc"
        ]
      }
    },
    "required": [
      "PCID",
      "symbol",
      "multiplier",
      "timespan",
      "from",
      "to"
    ]
  }
  ```
</Expandable>

***

## finage\_crypto\_get\_last\_quote

Get last crypto quote

**Parameters:**

| Parameter | Type   | Required | Default | Description                      |
| --------- | ------ | -------- | ------- | -------------------------------- |
| `symbol`  | string | Yes      | —       | Crypto pair symbol (e.g. BTCUSD) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "symbol": {
        "type": "string",
        "description": "Crypto pair symbol (e.g. BTCUSD)"
      }
    },
    "required": [
      "PCID",
      "symbol"
    ]
  }
  ```
</Expandable>

***

## finage\_crypto\_get\_last\_trade

Get last crypto trade

**Parameters:**

| Parameter | Type   | Required | Default | Description                              |
| --------- | ------ | -------- | ------- | ---------------------------------------- |
| `symbol`  | string | Yes      | —       | Crypto pair symbol (e.g. BTCUSD, ETHUSD) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "symbol": {
        "type": "string",
        "description": "Crypto pair symbol (e.g. BTCUSD, ETHUSD)"
      }
    },
    "required": [
      "PCID",
      "symbol"
    ]
  }
  ```
</Expandable>

***

## finage\_crypto\_get\_previous\_close

Get crypto previous close

**Parameters:**

| Parameter | Type   | Required | Default | Description                      |
| --------- | ------ | -------- | ------- | -------------------------------- |
| `symbol`  | string | Yes      | —       | Crypto pair symbol (e.g. BTCUSD) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "symbol": {
        "type": "string",
        "description": "Crypto pair symbol (e.g. BTCUSD)"
      }
    },
    "required": [
      "PCID",
      "symbol"
    ]
  }
  ```
</Expandable>

***

## finage\_crypto\_get\_snapshot

Get crypto market snapshot

**Parameters:**

| Parameter | Type   | Required | Default | Description                                          |
| --------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `symbols` | string | No       | —       | Comma-separated crypto pairs. If empty, returns all. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "symbols": {
        "type": "string",
        "description": "Comma-separated crypto pairs. If empty, returns all."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>
