{
  "openapi": "3.1.0",
  "info": {
    "title": "AccountKit public website API",
    "version": "1.0.0",
    "x-api-version-policy": "path",
    "summary": "Read-only AccountKit pricing and tool data for agents and integrations.",
    "description": "Published AccountKit prices by region and the AccountKit tool list, the same data as www.account-kit.com/pricing and /tools. No authentication; responses are cached for an hour. Versioning: the version is in the path (/api/v1/). Breaking changes get a new version (/api/v2/) with at least 90 days' notice in /agents.md; /api/v1/ keeps working through that period, and retiring paths send Deprecation and Sunset headers (RFC 9745, RFC 8594). The unversioned /api/pricing and /api/tools are deprecated aliases that redirect to /api/v1/.",
    "contact": {
      "name": "AccountKit",
      "email": "support@account-kit.com",
      "url": "https://www.account-kit.com/contact"
    },
    "termsOfService": "https://www.account-kit.com/terms"
  },
  "servers": [
    {
      "url": "https://www.account-kit.com"
    }
  ],
  "externalDocs": {
    "description": "Instructions for AI agents",
    "url": "https://www.account-kit.com/agents.md"
  },
  "tags": [
    {
      "name": "pricing"
    },
    {
      "name": "tools"
    }
  ],
  "paths": {
    "/api/v1/pricing": {
      "get": {
        "operationId": "getPricing",
        "tags": [
          "pricing"
        ],
        "summary": "Published plan prices for one region",
        "description": "Compliance, Professional and Practice plans: monthly price for five users, extra-user price, accounting connections, onboarding hours and fee.",
        "parameters": [
          {
            "name": "region",
            "in": "query",
            "required": false,
            "description": "au = Australia (AUD, ex GST), uk = United Kingdom (GBP), nz = New Zealand (NZD), row = rest of world (USD).",
            "schema": {
              "type": "string",
              "enum": [
                "au",
                "uk",
                "nz",
                "row"
              ],
              "default": "au"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The price list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Pricing"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tools": {
      "get": {
        "operationId": "listTools",
        "tags": [
          "tools"
        ],
        "summary": "Every AccountKit tool, one page at a time",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Tools per page, 1 to 100.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The nextCursor from the previous page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Compliance",
                "Administration",
                "Consulting"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of tools",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolList"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      },
      "Plan": {
        "type": "object",
        "required": [
          "id",
          "name",
          "monthlyPrice",
          "usersIncluded"
        ],
        "properties": {
          "id": {
            "type": "string",
            "enum": [
              "compliance",
              "professional",
              "practice"
            ]
          },
          "name": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number",
            "description": "Per month, five users included."
          },
          "usersIncluded": {
            "type": "integer"
          },
          "extraUserPrice": {
            "type": "number"
          },
          "accountingConnections": {
            "type": "integer"
          },
          "onboardingHours": {
            "type": "integer"
          },
          "onboardingFee": {
            "type": "number",
            "description": "One-off."
          },
          "highlights": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Pricing": {
        "type": "object",
        "required": [
          "region",
          "currency",
          "plans"
        ],
        "properties": {
          "region": {
            "type": "string",
            "enum": [
              "au",
              "uk",
              "nz",
              "row"
            ]
          },
          "label": {
            "type": "string"
          },
          "currency": {
            "type": "string",
            "description": "ISO 4217"
          },
          "taxNote": {
            "type": [
              "string",
              "null"
            ]
          },
          "unit": {
            "type": "string"
          },
          "plans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Plan"
            }
          },
          "extras": {
            "type": "object",
            "properties": {
              "connectionPack": {
                "type": "object",
                "properties": {
                  "size": {
                    "type": "integer"
                  },
                  "price": {
                    "type": "number"
                  }
                }
              },
              "guestUser": {
                "type": "number"
              }
            }
          },
          "source": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "ToolList": {
        "type": "object",
        "required": [
          "tools",
          "total",
          "nextCursor"
        ],
        "properties": {
          "tools": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tool"
            }
          },
          "total": {
            "type": "integer"
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as cursor for the next page; null on the last page."
          }
        }
      },
      "Tool": {
        "type": "object",
        "required": [
          "slug",
          "name",
          "category",
          "summary",
          "url"
        ],
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "enum": [
              "Compliance",
              "Administration",
              "Consulting"
            ]
          },
          "summary": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          },
          "xero": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}