Overview
The Categories API allows you to create and manage categories for organizing your transactions. Categories help you group similar types of income and expenses for better financial insights.List All Categories
GET /v1/categories
Query Parameters
Page number for pagination
Start date for spent/earned amounts (YYYY-MM-DD)
End date for spent/earned amounts (YYYY-MM-DD)
Response Fields
Category ID
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update
Category name
Category notes
Always false for categories (categories don’t have currency settings)
Primary currency ID
Primary currency code
Primary currency name
Primary currency symbol
Decimal places for primary currency
Array of spent amounts per currency (for date range if provided)
Array of spent amounts in primary currency
Array of earned amounts per currency
Array of earned amounts in primary currency
Array of transferred amounts per currency
Array of transferred amounts in primary currency
Create Category
POST /v1/categories
Request Body
Category name (1-100 characters, must be unique)
Category notes (max 32,768 characters with newlines supported)
Category names must be unique per user. Attempting to create a duplicate category will result in a validation error.
Get Category by ID
GET /v1/categories/{id}
Returns the same response fields as the List endpoint.
Query Parameters
Start date for calculating spent/earned amounts (YYYY-MM-DD)
End date for calculating spent/earned amounts (YYYY-MM-DD)
Update Category
PUT /v1/categories/{id}
Accepts the same parameters as Create Category. All fields are optional.
Delete Category
DELETE /v1/categories/{id}
Deletes the category. Transactions associated with this category will have their category removed.
Related Endpoints
Get Category Transactions
GET /v1/categories/{id}/transactions
Returns all transactions associated with this category.
Query Parameters
Page number for pagination
Start date filter (YYYY-MM-DD)
End date filter (YYYY-MM-DD)
Transaction type filter:
withdrawal, deposit, transferGet Category Attachments
GET /v1/categories/{id}/attachments
Returns all attachments associated with this category.
Best Practices
Category Organization
- Keep it simple: Don’t over-categorize. Use broad categories that make sense for your spending habits.
- Consistent naming: Use consistent naming conventions for similar categories.
-
Common categories: Consider using these standard categories:
- Food & Dining (Groceries, Restaurants)
- Transportation (Gas, Public Transit, Parking)
- Housing (Rent, Mortgage, Utilities)
- Entertainment (Movies, Hobbies, Subscriptions)
- Healthcare (Medical, Pharmacy, Insurance)
- Shopping (Clothing, Electronics, Home)
- Income (Salary, Freelance, Investment)
- Review regularly: Periodically review your categories to ensure they’re still relevant.
Using with Budgets
Categories and budgets serve different purposes:- Categories: Organize and track where money goes (descriptive)
- Budgets: Set limits and control spending (prescriptive)