up-api
8
总安装量
6
周安装量
#33909
全站排名
安装命令
npx skills add https://github.com/tcn33/up-banking-api-skill --skill up-api
Agent 安装分布
claude-code
5
gemini-cli
3
windsurf
2
trae
2
opencode
2
codex
2
Skill 文档
Up Banking API
Setup
Requires UP_API_TOKEN environment variable. Get your token at api.up.com.au by scanning the QR code with your Up app.
Verify setup: python3 scripts/up_api.py ping
CLI Usage
All commands support --json flag for raw output.
Accounts
# List all accounts
python3 scripts/up_api.py accounts
# Filter by type
python3 scripts/up_api.py accounts --type saver
# Get specific account
python3 scripts/up_api.py account <account_id>
Transactions
# Recent transactions (default 30)
python3 scripts/up_api.py transactions
# Filter by date range (RFC-3339 format required)
python3 scripts/up_api.py transactions --since 2024-01-01T00:00:00Z --until 2024-02-01T00:00:00Z
# Filter by category or tag
python3 scripts/up_api.py transactions --category groceries
python3 scripts/up_api.py transactions --tag "holiday"
# All transactions (paginated)
python3 scripts/up_api.py transactions --all --since 2024-01-01T00:00:00Z
Categories and Tags
# List categories
python3 scripts/up_api.py categories
# List subcategories
python3 scripts/up_api.py categories --parent good-life
# Categorize a transaction
python3 scripts/up_api.py categorize <tx_id> <category_id>
# List tags
python3 scripts/up_api.py tags
# Add/remove tags
python3 scripts/up_api.py tag <tx_id> "trip" "business"
python3 scripts/up_api.py untag <tx_id> "trip"
Webhooks
python3 scripts/up_api.py webhooks
python3 scripts/up_api.py webhook-create https://example.com/hook "My webhook"
python3 scripts/up_api.py webhook-ping <webhook_id>
python3 scripts/up_api.py webhook-logs <webhook_id>
python3 scripts/up_api.py webhook-delete <webhook_id>
Spending Analysis
For spending summaries, fetch transactions with --json --all and process the output:
# Get all transactions for a month as JSON
python3 scripts/up_api.py transactions --json --all --since 2024-01-01T00:00:00Z --until 2024-02-01T00:00:00Z
Parse the JSON to aggregate by category, calculate totals, or identify patterns.
Reference
For endpoint details, filters, and response schemas, see api-reference.md.