betteroff-finance Imports API

The imports API from betteroff-finance — 3 operation(s) for imports.

Operations 4

GET /imports/destinations Get imports destinations #
GET /imports Get imports #
POST /imports Post imports #
POST /imports/{id}/undo Post imports id undo #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/betteroff-finance:betteroff-finance-imports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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 Specification

betteroff-finance-imports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BetterOff Imports API
  version: 0.5.0+cd65185c
servers:
- url: https://api.betteroff.finance
tags:
- name: Imports
paths:
  /imports/destinations:
    get:
      operationId: getImportsDestinations
      tags:
      - Imports
      security:
      - session: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  accounts:
                    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)$
                        name:
                          type: string
                        mask:
                          type:
                          - string
                          - 'null'
                        syncedFrom:
                          description: The first day (YYYY-MM-DD) a bank-linked account has synced payments for. Imported rows from that day on are skipped unless includeSynced is true.
                          type:
                          - string
                          - 'null'
                      required:
                      - id
                      - name
                      - mask
                      - syncedFrom
                      additionalProperties: false
                required:
                - accounts
                additionalProperties: false
        default:
          description: Problem details
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Get imports destinations
      x-summary-source: derived
  /imports:
    get:
      operationId: getImports
      tags:
      - Imports
      security:
      - session: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  imports:
                    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)$
                        filename:
                          type: string
                        source:
                          type: string
                          enum:
                          - mint
                          - monarch
                        status:
                          type: string
                          enum:
                          - committed
                          - reverted
                        committedCount:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        committedAt:
                          type:
                          - string
                          - 'null'
                        revertedAt:
                          type:
                          - string
                          - 'null'
                        undoUntil:
                          type:
                          - string
                          - 'null'
                        canUndo:
                          type: boolean
                      required:
                      - id
                      - filename
                      - source
                      - status
                      - committedCount
                      - committedAt
                      - revertedAt
                      - undoUntil
                      - canUndo
                      additionalProperties: false
                required:
                - imports
                additionalProperties: false
        default:
          description: Problem details
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Get imports
      x-summary-source: derived
    post:
      operationId: postImports
      tags:
      - Imports
      security:
      - session: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                accountId:
                  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)$
                confirm:
                  type: boolean
                  const: true
                filename:
                  type: string
                  maxLength: 255
                csv:
                  type: string
                  maxLength: 500000
                includeSynced:
                  type: boolean
              required:
              - accountId
              - confirm
              - filename
              - csv
              additionalProperties: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  batchId:
                    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)$
                  message:
                    type: string
                required:
                - batchId
                - message
                additionalProperties: false
        default:
          description: Problem details
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Post imports
      x-summary-source: derived
  /imports/{id}/undo:
    post:
      operationId: postImportsIdUndo
      tags:
      - Imports
      security:
      - session: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  batchId:
                    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)$
                  message:
                    type: string
                required:
                - batchId
                - message
                additionalProperties: false
        default:
          description: Problem details
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Post imports id undo
      x-summary-source: derived
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.