Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: AI2Fin Financial Management AI Services API
description: Financial management platform with AI-powered categorization, tax optimization, and bill management.
version: 1.0.0
contact:
name: AI2Fin Support
url: https://ai2fin.com
license:
name: Proprietary
servers:
- url: https://api.ai2fin.com
description: Production
- url: http://localhost:3001
description: Local Development
security:
- bearerAuth: []
- cookieAuth: []
tags:
- name: AI Services
description: AI-powered categorization and tax analysis
paths:
/api/ai/classify-transaction:
get:
tags:
- AI Services
summary: Classify transaction
description: AI-powered transaction categorization with tax deduction analysis
parameters:
- name: description
in: query
required: true
schema:
type: string
- name: amount
in: query
schema:
type: number
responses:
'200':
description: Transaction classified
content:
application/json:
schema:
type: object
properties:
category:
type: string
confidence:
type: number
minimum: 0
maximum: 1
isTaxDeductible:
type: boolean
taxCategory:
type: string
reasoning:
type: string
operationId: getApiAiClassifyTransaction
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: First-party access token for your own signed-in session, obtained from the /api/enterprise-auth/login endpoint. The REST API returns your own account data to you — it is a first-party consumer surface, not a third-party integration channel. Data from connected bank feeds (open-banking / CDR data) is your own data, returned only to you in your own authenticated session.
cookieAuth:
type: apiKey
in: cookie
name: ai2_sess
description: Session cookie for web applications
apiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: 'API key for the MCP Inspector endpoint (/mcp/inspector) only. Generate your own key via /api/api-keys. Format: mcp_<64 hex characters>. API keys carry mcp:* scopes and authenticate MCP Inspector operations — they are not accepted on the REST API (/api/...) or the main MCP endpoint (/mcp), which use OAuth bearer tokens.'