Moneyhub · Schema

SpendingAnalysisPost

PaymentsUnited KingdomOpen BankingOpen FinanceAccount-to-AccountPayment InitiationData AggregationAISPPISPFintech

Properties

Name Type Description
dates array List of date ranges to calculate spending analysis for. This allows retrieving spending analysis of up to three different date ranges in one request.
accountIds array
categoryIds array
projectIds array
View JSON Schema on GitHub

JSON Schema

moneyhub-spending-analysis-post-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moneyhub/main/json-schema/moneyhub-spending-analysis-post-schema.json",
  "title": "SpendingAnalysisPost",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moneyhub-spending-analysis-api-openapi.yml#/components/schemas/SpendingAnalysisPost",
  "type": "object",
  "properties": {
    "dates": {
      "type": "array",
      "description": "List of date ranges to calculate spending analysis for. This allows retrieving spending analysis of up to three different date ranges in one request.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "format": "[a-zA-Z0-9_-]{1,50}",
            "description": "Descriptive name for the date range. The name will be used in the response payload to identify it."
          },
          "from": {
            "type": "string",
            "format": "date",
            "description": "Start date to perform spending analysis."
          },
          "to": {
            "type": "string",
            "format": "date",
            "description": "End date to perform spending analysis."
          }
        },
        "required": [
          "name",
          "from",
          "to"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 3
    },
    "accountIds": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Account ids to be included in the spending analysis. If none are given the analysis will include all accounts."
      }
    },
    "categoryIds": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Category ids to be included in the spending analysis. If none are given the analysis will include all categories."
      }
    },
    "projectIds": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Project ids to be included in the spending analysis. If none are given the analysis will include all projects."
      }
    }
  },
  "required": [
    "dates"
  ],
  "additionalProperties": false
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/moneyhub-spending-analysis-post"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.