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

# Mercury Integration for AI Agents & Workflows

> Business banking platform for startups and scaling companies

{/* Self-hosted logo — build-time vendored from modulex.json / Iconify (see scripts/lib/logo.js). */}

<img src="https://mintcdn.com/modulexaillc/df8MOr-hXotYLTh5/logos/placeholder.svg?fit=max&auto=format&n=df8MOr-hXotYLTh5&q=85&s=a4046f9cd6d738c81259050e9833913c" alt="Mercury logo" width="72" height="72" data-path="logos/placeholder.svg" />

## Overview

Add **Mercury** to any ModuleX agent or workflow. Business banking platform for startups and scaling companies. Integrates with the Mercury REST API (`backend.mercury.com/api/v1`).

<Info>
  **Categories**: Finance · Banking · **Auth**: API Token · **Actions**: 1
</Info>

## Authentication

### API Token

Use your Mercury API token to authenticate

<Steps>
  <Step title="Step 1">
    Log in to your Mercury dashboard at [https://app.mercury.com](https://app.mercury.com)
  </Step>

  <Step title="Step 2">
    Navigate to Settings -> API Tokens
  </Step>

  <Step title="Step 3">
    Generate a new API token and copy it
  </Step>
</Steps>

#### Required Credentials

| Field     | Description                               | Required | Format                          |
| --------- | ----------------------------------------- | -------- | ------------------------------- |
| API Token | Your Mercury API token from the dashboard | Yes      | `xxxxxxxxxxxxxxxxxxxxxxxxxxxxx` |

## Available Actions

<AccordionGroup>
  <Accordion title="get_account_info — Retrieve information about a specific Mercury bank account">
    ### Parameters

    <ResponseField name="account_id" type="string" required>
      The unique ID of the Mercury account to retrieve
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "account_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Account Id"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Status"
        },
        "account_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Account Type"
        },
        "current_balance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Current Balance"
        },
        "available_balance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Available Balance"
        },
        "routing_number": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Routing Number"
        },
        "account_number": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Account Number"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Created At"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetAccountInfoOutput",
      "type": "object"
    }
    ```
  </Accordion>
</AccordionGroup>

## Limits & Quotas

* No publicly documented rate limits for the Mercury API.
* Access is limited to accounts with API access enabled by Mercury support.
* Error model: non-2xx responses and timeouts are caught and returned as
  `success=False` + `error` rather than raising.

## Related integrations

<CardGroup cols={3}>
  <Card title="CoinMarketCap" href="/integrations/tools/coinmarketcap" />
</CardGroup>

## Links

* [Mercury](https://mercury.com)
