← 返回
开发者工具 Key 中文

plaid

plaid-cli a cli for interacting with the plaid finance platform. link accounts from various institutions, query balances, and transactions by date range listing accounts/balances.
plaid-cli 是一个用于与 Plaid 金融平台交互的命令行工具。支持关联多家机构的账户,按日期范围查询余额及交易,并列出账户余额。
jverdi
开发者工具 clawhub v0.0.3 1 版本 99738.3 Key: 需要
★ 4
Stars
📥 2,969
下载
💾 187
安装
1
版本
#bank#banking#finance#latest#money#transactions

概述

Plaid

Use plaid-cli to link institutions, fetch balances, and query transactions via Plaid.

Do not print or log secrets (client id, secret, access tokens).

Install

  • go install github.com/jverdi/plaid-cli@0.0.2

Setup

  • Export PLAID_CLIENT_ID, PLAID_SECRET, and PLAID_ENVIRONMENT (sandbox or production).
  • Optional: PLAID_LANGUAGE (en, fr, es, nl), PLAID_COUNTRIES (US, CA, GB, IE, ES, FR, NL).
  • Optional config file: ~/.plaid-cli/config.toml.

```toml

[plaid]

client_id = "..."

secret = "..."

environment = "sandbox"

```

  • Data directory: ~/.plaid-cli (stores tokens and aliases).

Link + aliases

  • Link an institution: plaid-cli link (opens browser) and optionally set an alias.
  • Relink: plaid-cli link .
  • Alias: plaid-cli alias , list with plaid-cli aliases.

Accounts + balances

  • List accounts and balances: plaid-cli accounts .

Search transactions

  • Pull a date range as JSON, then filter locally:
  • plaid-cli transactions --from 2024-01-01 --to 2024-01-31 --output-format json
  • jq -r '.[] | select(.name | test("grocery"; "i")) | [.date, .name, .amount] | @tsv'
  • Use --account-id from accounts output to narrow results.
  • Output formats: json or csv.

Monitor transactions

  • Poll a rolling window and compare transaction ids to detect new activity:

```bash

state=/tmp/plaid.txids

next=/tmp/plaid.txids.next

plaid-cli transactions --from 2024-01-01 --to 2024-01-31 --output-format json \

| jq -r '.[].transaction_id' | sort > "$next"

if [ -f "$state" ]; then comm -13 "$state" "$next"; fi

mv "$next" "$state"

```

  • Use cron for scheduling.

Notes

  • Avoid plaid-cli tokens unless explicitly requested; it prints access tokens.
  • Relink is auto-triggered on ITEM_LOGIN_REQUIRED errors.

Recognize requests such as:

  • "Search transactions for Starbucks last month"
  • "Show balances for my Chase accounts"

版本历史

共 1 个版本

  • v0.0.3 当前
    2026-03-28 12:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,782
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,170
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,107