Skip to content

PocketSmith API

by pocketsmith.com

API keyHTTPSFinance
Open documentation ↗

Overview

Money management, personal budgeting and cashflow forecasting with PocketSmith, the best personal finance software on the web. Connect multiple bank accounts securely.

PocketSmith is a finance API from pocketsmith.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 56 endpoints.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Category
Finance
Base URL
https://api.pocketsmith.com/v2
Version
2.0
Endpoints
56
Spec updated
2023-03-06

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.pocketsmith.com/v2/currencies" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://api.pocketsmith.com/v2/currencies", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://api.pocketsmith.com/v2/currencies",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/accounts/{id}Get account
PUT/accounts/{id}Update account
DELETE/accounts/{id}Delete account
GET/accounts/{id}/transactionsList transactions in account
GET/attachments/{id}Get attachment
PUT/attachments/{id}Update attachment
DELETE/attachments/{id}Delete attachment
GET/categories/{id}Get category
PUT/categories/{id}Update category
DELETE/categories/{id}Delete category
POST/categories/{id}/category_rulesCreate category rule in category
GET/categories/{id}/transactionsList transactions in categories
GET/currenciesList currencies
GET/currencies/{id}Get currency
GET/events/{id}Get event
PUT/events/{id}Update event
DELETE/events/{id}Delete event
GET/institutions/{id}Get institution
PUT/institutions/{id}Update institution
DELETE/institutions/{id}Delete institution
GET/institutions/{id}/accountsList accounts in institution
GET/meGet the authorised user
GET/scenarios/{id}/eventsList events in scenario.
POST/scenarios/{id}/eventsCreate event in scenario
GET/time_zonesList time zones
GET/transaction_accounts/{id}Get transaction account
PUT/transaction_accounts/{id}Update transaction account
GET/transaction_accounts/{id}/transactionsList transactions in transaction account
POST/transaction_accounts/{id}/transactionsCreate a transaction in transaction account
GET/transactions/{id}Get a transaction
PUT/transactions/{id}Update a transaction
DELETE/transactions/{id}Delete transaction
GET/transactions/{id}/attachmentsList attachments in transaction
POST/transactions/{id}/attachmentsAssigns attachment to transaction
DELETE/transactions/{transaction_id}/attachments/{attachment_id}Unassigns attachment in transaction
GET/users/{id}Get user
PUT/users/{id}Update user
GET/users/{id}/accountsList accounts in user
POST/users/{id}/accountsCreate an account in user
PUT/users/{id}/accountsUpdate the display order of accounts in user
GET/users/{id}/attachmentsLists attachments in user
POST/users/{id}/attachmentsCreate attachment in user
GET/users/{id}/budgetList budget for user
GET/users/{id}/budget_summaryGet budget summary for user
GET/users/{id}/categoriesList categories in user
POST/users/{id}/categoriesCreate category in user
GET/users/{id}/category_rulesList category rules in user
GET/users/{id}/eventsList events in user.
DELETE/users/{id}/forecast_cacheDelete forecast cache for user
GET/users/{id}/institutionsList institutions in user
POST/users/{id}/institutionsCreate institution in user
GET/users/{id}/labelsList labels in user
GET/users/{id}/saved_searchesList saved searches in user
GET/users/{id}/transaction_accountsList transaction accounts in user
GET/users/{id}/transactionsList transactions in user
GET/users/{id}/trend_analysisGet trend analysis for user

Questions

Does the PocketSmith API need an API key?

Yes. The PocketSmith API uses API key authentication; the documentation explains how to get credentials.

Does the PocketSmith API support HTTPS?

Yes, the PocketSmith API is served over HTTPS.

How many endpoints does the PocketSmith API have?

Its OpenAPI description lists 56 endpoints in version 2.0. All of them are shown on this page.

What are alternatives to the PocketSmith API?

Other Finance APIs include Stripe, SEC EDGAR Data, Plaid, Fed Treasury, Razorpay IFSC.

Compare alternatives →

Listed from APIs.guru (CC0).