betteroff-finance Categories API
The categories API from betteroff-finance — 4 operation(s) for categories.
The categories API from betteroff-finance — 4 operation(s) for categories.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/betteroff-finance:betteroff-finance-categories-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Betteroff Finance Categories API
version: 0.5.0+cd65185c
description: 'Operations tagged categories across 2 of this provider''s published API definitions: betteroff-finance-openapi.json, betteroff-finance-public.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.betteroff.finance
tags:
- name: Categories
paths:
/categories:
get:
operationId: getCategories
tags:
- Categories
security:
- session: []
- apiToken:
- transactions:read
x-stability: beta
responses:
'200':
description: Success
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
categories:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
userId:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
key:
type: string
identity:
type: string
label:
type: string
colorVar:
type: string
colorHex:
type:
- string
- 'null'
icon:
type:
- string
- 'null'
sortOrder:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
createdAt:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
updatedAt:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
required:
- id
- userId
- key
- identity
- label
- colorVar
- colorHex
- icon
- sortOrder
- createdAt
- updatedAt
additionalProperties: false
description: 'Every category the org has not archived, in one response. Not paginated: the list grows only when a member creates a category.'
required:
- categories
additionalProperties: false
headers:
RateLimit-Limit:
description: 'Sent to API tokens and agent grants: requests per minute in the tighter bucket.'
schema:
type: integer
RateLimit-Remaining:
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: integer
default:
description: Problem details
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Get categories
x-summary-source: derived
post:
operationId: postCategories
tags:
- Categories
security:
- session: []
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
label:
type: string
minLength: 1
maxLength: 200
colorVar:
type: string
colorHex:
type: string
icon:
type: string
required:
- label
additionalProperties: false
responses:
'200':
description: Success
default:
description: Problem details
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Post categories
x-summary-source: derived
servers:
- url: https://api.betteroff.finance
/categories/assign:
post:
operationId: postCategoriesAssign
tags:
- Categories
security:
- session: []
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
label:
type: string
minLength: 1
maxLength: 200
colorVar:
type: string
colorHex:
type: string
icon:
type: string
transactionId:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
required:
- label
- transactionId
additionalProperties: false
responses:
'200':
description: Success
default:
description: Problem details
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Post categories assign
x-summary-source: derived
servers:
- url: https://api.betteroff.finance
/categories/{id}:
patch:
operationId: patchCategoriesId
tags:
- Categories
security:
- session: []
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: If-Match
in: header
required: false
description: 'The record''s ETag, or "<epoch-ms>" of its updatedAt. The write applies only while the record still has that version; otherwise 412 PRECONDITION_FAILED and nothing changes. Optional for compatibility: without it the write applies unconditionally.'
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
label:
type: string
minLength: 1
maxLength: 200
colorVar:
type: string
colorHex:
type:
- string
- 'null'
icon:
type:
- string
- 'null'
additionalProperties: false
responses:
'200':
description: Success
headers:
ETag:
description: The record's new version; send it as If-Match on the next write.
schema:
type: string
'412':
description: The record changed since the If-Match version. Fetch it again and retry.
content:
application/problem+json: {}
default:
description: Problem details
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Patch categories id
x-summary-source: derived
delete:
operationId: deleteCategoriesId
tags:
- Categories
security:
- session: []
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: If-Match
in: header
required: false
description: 'The record''s ETag, or "<epoch-ms>" of its updatedAt. The write applies only while the record still has that version; otherwise 412 PRECONDITION_FAILED and nothing changes. Optional for compatibility: without it the write applies unconditionally.'
schema:
type: string
responses:
'200':
description: Success
'412':
description: The record changed since the If-Match version. Fetch it again and retry.
content:
application/problem+json: {}
default:
description: Problem details
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Delete categories id
x-summary-source: derived
servers:
- url: https://api.betteroff.finance
/categories/merge:
post:
operationId: postCategoriesMerge
tags:
- Categories
security:
- session: []
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
sourceKey:
type: string
minLength: 1
maxLength: 200
targetKey:
type: string
minLength: 1
maxLength: 200
required:
- sourceKey
- targetKey
additionalProperties: false
responses:
'200':
description: Success
default:
description: Problem details
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Post categories merge
x-summary-source: derived
servers:
- url: https://api.betteroff.finance
components:
schemas:
ProblemDetails:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
type:
type: string
description: Always "about:blank"; branch on `code`.
title:
type: string
status:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
detail:
type: string
code:
type: string
description: Stable UPPER_SNAKE code.
error:
type: string
description: Older clients' copy of `detail`.
message:
type: string
description: Older clients' copy of `detail`.
requestId:
description: Diagnostic only; quote it to support.
type: string
instance:
type: string
details:
type: object
propertyNames:
type: string
additionalProperties: {}
required:
- type
- title
- status
- detail
- code
- error
- message
additionalProperties: {}
description: RFC 9457 problem details. Some refusals add fields; ignore ones you don't know.
securitySchemes:
session:
type: http
scheme: bearer
description: 'The BetterOff app acting for its signed-in user. Not available to integrations: Better Auth session tokens and browser session cookies are rejected. Use an API token or agent OAuth.'
apiToken:
type: http
scheme: bearer
description: Personal API token (bo_pat_), created in BetterOff settings with the scopes it may use.
agentOAuth:
type: openIdConnect
openIdConnectUrl: https://app.betteroff.finance/api/auth/.well-known/openid-configuration
description: Agent OAuth grant; the same token and scopes as /mcp.
x-refined-from:
- betteroff-finance-openapi.json
- betteroff-finance-public.json