Form3 Account Validation API

The AccountValidation API from Form3 — 2 operation(s) for accountvalidation.

Operations 2

GET /validations/gbdsc/sortcodes/{sortcode} Fetch sort code details
GET /validations/gbdsc/sortcodes/{sortcode}/accountnumbers/{accountnumber} Validate sortcode and account number details

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/form3-accountvalidation-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

form3-accountvalidation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Form3 Public Account Validation API
  version: '1'
servers:
- url: https://api.form3.tech/v1
security:
- OAuth2: []
tags:
- name: AccountValidation
paths:
  /validations/gbdsc/sortcodes/{sortcode}:
    get:
      parameters:
      - description: Sort code
        in: path
        name: sortcode
        required: true
        schema:
          type: string
      responses:
        200:
          description: Sort code details
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/SortCodeDetailsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/SortCodeDetailsResponse'
        400:
          description: Validation failed
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ApiError'
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        404:
          description: Validation failed
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ApiError'
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      summary: Fetch sort code details
      tags:
      - AccountValidation
      x-access:
      - Public
  /validations/gbdsc/sortcodes/{sortcode}/accountnumbers/{accountnumber}:
    get:
      parameters:
      - description: Sort code
        in: path
        name: sortcode
        required: true
        schema:
          type: string
      - description: Account number
        in: path
        name: accountnumber
        required: true
        schema:
          type: string
      responses:
        200:
          description: Sort code and account number details
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AccountNumberDetailsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AccountNumberDetailsResponse'
        400:
          description: Validation error
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ApiError'
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        404:
          description: Validation failed
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ApiError'
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      summary: Validate sortcode and account number details
      tags:
      - AccountValidation
      x-access:
      - Public
components:
  schemas:
    AccountNumber:
      properties:
        id:
          type: string
        relationships:
          properties:
            sort_code:
              $ref: '#/components/schemas/SortCode'
          type: object
        type:
          pattern: ^[A-Za-z_]*$
          type: string
      type: object
      x-access:
      - Public
    SortCode:
      properties:
        attributes:
          properties:
            bank_code:
              type: string
            bank_name:
              type: string
            bank_office_title:
              type: string
            supported_schemes:
              properties:
                BACS:
                  properties:
                    accepts_payments:
                      default: false
                      type: boolean
                    account_switching:
                      enum:
                      - full
                      - partial
                      - ineligible
                      type: string
                    allowed_transactions:
                      items:
                        $ref: '#/components/schemas/TransactionGroupCode'
                      type: array
                    service_status:
                      type: string
                  type: object
                CCC:
                  properties:
                    accepts_payments:
                      default: false
                      type: boolean
                    service_status:
                      type: string
                  type: object
                CHAPS:
                  properties:
                    accepts_payments:
                      default: false
                      type: boolean
                    service_status:
                      type: string
                  type: object
                FPS:
                  properties:
                    accepts_payments:
                      default: false
                      type: boolean
                    handling_bank_code:
                      type: string
                    handling_bank_connection:
                      type: string
                    service_status:
                      type: string
                  type: object
              type: object
          type: object
        id:
          type: string
        type:
          pattern: ^[A-Za-z_]*$
          type: string
      type: object
      x-access:
      - Public
    Links:
      properties:
        first:
          description: Link to the first resource in the list
          example: https://api.test.form3.tech/v1/api_name/resource_type
          type:
          - string
          - 'null'
        last:
          description: Link to the last resource in the list
          example: https://api.test.form3.tech/v1/api_name/resource_type
          type:
          - string
          - 'null'
        next:
          description: Link to the next resource in the list
          example: https://api.test.form3.tech/v1/api_name/resource_type
          type:
          - string
          - 'null'
        prev:
          description: Link to the previous resource in the list
          example: https://api.test.form3.tech/v1/api_name/resource_type
          type:
          - string
          - 'null'
        self:
          description: Link to this resource type
          example: https://api.test.form3.tech/v1/api_name/resource_type
          type: string
      required:
      - self
      type: object
      x-access:
      - Public
    TransactionGroupCode:
      enum:
      - DR
      - CR
      - CU
      - BS
      - DV
      - AU
      type: string
      x-access:
      - Public
    ApiError:
      properties:
        error_code:
          format: uuid
          type: string
        error_message:
          type: string
      type: object
      x-access:
      - Public
    AccountNumberDetailsResponse:
      properties:
        data:
          $ref: '#/components/schemas/AccountNumber'
        links:
          $ref: '#/components/schemas/Links'
      type: object
      x-access:
      - Public
    SortCodeDetailsResponse:
      properties:
        data:
          $ref: '#/components/schemas/SortCode'
        links:
          $ref: '#/components/schemas/Links'
      type: object
      x-access:
      - Public
  securitySchemes:
    Basic:
      type: http
      scheme: basic
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: https://api.form3.tech/v1/oauth2/token
      description: OAuth 2.0 with Client Credentials Grant type