Commonwealth Bank Customer API

Access a customer's basic contact details. The customer may choose to share their personal or organisation details. Customer API is a consumer API. To access data you'll need the customer's consent.Host URLCommBank requests are passed to the URL https://secure.api.commbank.com.au/api/cds-au/v1/banking/common/customerCBA – CommBiz requests are passed to the URL https://secure.cdr.commbiz.api.commbank.com.au/cbzapi/cds-au/v1/common/customer

GitHub OpenAPI
Business capability
Consumer Data Access AE-190.50

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /common/customer Get a customer's basic details · Get customer #
Ask an LLM
“How do I get a customer's name, address and contact details?”
“What basic information can I pull about a customer?”
Tell an agent
Get the customer's basic details.
Show me the customer's name and contact information.
GET /common/customer/detail Get a customer's detailed information · Get Customer Detail #
Ask an LLM
“Can I get a customer's full personal or organisation details?”
“What detailed information is available for a customer?”
Tell an agent
Get the customer's detailed information.
Show me the full customer detail record.

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/commonwealth-bank:commonwealth-bank-customer-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

commonwealth-bank-customer-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: ''
  title: CommBank Customer Customer API
  description: 'Access a customer''s basic contact details. The customer may choose to share their personal or organisation details.


    Customer API is a consumer API. To access data you''ll need the customer''s consent.


    Host URL


    CommBank requests are passed to the URL https://secure.api.commbank.com.au/api/cds-au/v1/banking/common/customer


    CBA – CommBiz requests are passed to the URL https://secure.cdr.commbiz.api.commbank.com.au/cbzapi/cds-au/v1/common/customer'
  x-provenance: First-party CommBank OpenAPI (Swagger 2.0) harvested verbatim from the CommBank developer portal. These are Commonwealth Bank's own renderings of its CDR / Open Banking Consumer Data Standards endpoints.
  x-source-url: https://www.commbank.com.au/developer/Documentation/specification/Customer
  x-doc-url: https://www.commbank.com.au/developer/documentation/Customer
  x-harvested: '2026-07-21'
servers:
- url: https://secure.api.commbank.com.au/api/cds-au/v1/banking
tags:
- name: Customer API
  description: 'Access a customer''s basic contact details. The customer may choose to share their personal or organisation details.


    Customer API is a consumer API. To access data you''ll need the customer''s consent.


    Host URL


    CommBank requests are passed to the URL https://secure.api.commbank.com.au/api/cds-au/v1/banking/common/customer


    CBA – CommBiz requests are passed to the URL https://secure.cdr.commbiz.api.commbank.com.au/cbzapi/cds-au/v1/common/customer'
paths:
  /common/customer:
    get:
      summary: Get customer
      description: Obtain basic information on the customer
      operationId: getCustomer
      tags:
      - Customer API
      parameters:
      - $ref: '#/components/parameters/ParamAcceptHeader'
      - $ref: '#/components/parameters/ParamXVHeader'
      - $ref: '#/components/parameters/ParamXMinVHeader'
      - $ref: '#/components/parameters/ParamXFapiInterationId'
      - $ref: '#/components/parameters/ParamXFapiAuthDate'
      - $ref: '#/components/parameters/ParamXFapiCustomerIpAddress'
      - $ref: '#/components/parameters/ParamXCdsClientHeaders'
      x-scopes:
      - common:customer.detail:read
      responses:
        '200':
          description: Success
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseCommonCustomer'
        '400':
          description: Not Acceptable
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse406'
        '406':
          description: Not Acceptable
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse406'
        '429':
          description: Too Many Requests
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            Retry-After:
              description: Amount of time the client should wait before re-trying the operation.
              schema:
                type: integer
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request, if provided.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseNoBody'
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse500'
  /common/customer/detail:
    get:
      summary: Get Customer Detail
      description: Obtain detailed information on the customer.
      operationId: getCustomerDetail
      tags:
      - Customer API
      parameters:
      - $ref: '#/components/parameters/ParamAcceptHeader'
      - $ref: '#/components/parameters/ParamXVHeader'
      - $ref: '#/components/parameters/ParamXMinVHeader'
      - $ref: '#/components/parameters/ParamXFapiInterationId'
      - $ref: '#/components/parameters/ParamXFapiAuthDate'
      - $ref: '#/components/parameters/ParamXFapiCustomerIpAddress'
      - $ref: '#/components/parameters/ParamXCdsClientHeaders'
      responses:
        '200':
          description: Success
          headers:
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseCommonCustomerDetail'
        '400':
          description: Not Acceptable
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse406'
        '406':
          description: Not Acceptable
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse406'
        '429':
          description: Too Many Requests
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            Retry-After:
              description: Amount of time the client should wait before re-trying the operation.
              schema:
                type: integer
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request, if provided.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseNoBody'
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse500'
      x-scopes:
      - common:customer.detail:read
      x-version: '1'
components:
  schemas:
    ResponseCommonCustomerDetail_data:
      required:
      - customerUType
      properties:
        customerUType:
          type: string
          description: The type of customer object that is present
          enum:
          - person
          - organisation
        person:
          $ref: '#/components/schemas/CommonPersonDetail'
        organisation:
          $ref: '#/components/schemas/CommonOrganisationDetail'
    ErrorResponse500:
      type: object
      properties:
        errors:
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/Error'
      example:
        errors:
        - code: CA-IS-01
          title: Server Error
          detail: An error has occurred whilst processing your request. Please try again later.
    CommonPersonDetail:
      allOf:
      - $ref: '#/components/schemas/CommonPerson'
      - type: object
        required:
        - emailAddresses
        - phoneNumbers
        - physicalAddresses
        properties:
          phoneNumbers:
            type: array
            description: An array of phone numbers.
            items:
              $ref: '#/components/schemas/CommonPhoneNumber'
          emailAddresses:
            type: array
            description: An array of emails.
            items:
              $ref: '#/components/schemas/CommonEmailAddress'
          physicalAddresses:
            type: array
            description: An array of physical addresses.
            items:
              $ref: '#/components/schemas/CommonPhysicalAddressWithPurpose'
    CommonOrganisationDetail:
      allOf:
      - $ref: '#/components/schemas/CommonOrganisation'
      - type: object
        required:
        - physicalAddresses
        properties:
          physicalAddresses:
            type: array
            description: A list of addresses.
            items:
              $ref: '#/components/schemas/CommonPhysicalAddressWithPurpose'
    Error:
      type: object
      properties:
        code:
          type: string
        title:
          type: string
        detail:
          type: string
    ErrorResponse406:
      type: object
      properties:
        errors:
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/Error'
      example:
        errors:
        - code: CA-RH-03
          title: x-v is invalid
          detail: x-v header must be a supported version number.
    CommonPAFAddress:
      type: object
      required:
      - localityName
      - postcode
      - state
      properties:
        dpid:
          type: string
          description: Unique identifier for an address as defined by Australia Post
        thoroughfareNumber1:
          type: integer
          description: Thoroughfare number for a property.
          x-cds-type: PositiveInteger
        thoroughfareNumber1Suffix:
          type: string
          description: Suffix for the thoroughfare number.
        thoroughfareNumber2:
          type: integer
          description: Second thoroughfare number.
          x-cds-type: PositiveInteger
        thoroughfareNumber2Suffix:
          type: string
          description: Suffix for the second thoroughfare number.
        flatUnitType:
          type: string
          description: Type of flat or unit for the address.
        flatUnitNumber:
          type: string
          description: Unit number.
        floorLevelType:
          type: string
          description: Type of floor or level for the address.
        floorLevelNumber:
          type: string
          description: Floor or level number.
        lotNumber:
          type: string
          description: Allotment number for the address.
        buildingName1:
          type: string
          description: Building/Property name 1.
        buildingName2:
          type: string
          description: Building/Property name 2.
        streetName:
          type: string
          description: The name of the street.
        streetType:
          type: string
          description: The street type.
        streetSuffix:
          type: string
          description: The street type suffix.
        postalDeliveryType:
          type: string
          description: Postal delivery type.
        postalDeliveryNumber:
          type: integer
          description: Postal delivery number.
          x-cds-type: PositiveInteger
        postalDeliveryNumberPrefix:
          type: string
          description: Postal delivery number prefix related to the postal delivery number.
        postalDeliveryNumberSuffix:
          type: string
          description: Postal delivery number suffix related to the postal delivery number.
        localityName:
          type: string
          description: Full name of locality.
        postcode:
          type: string
          description: Postcode for the locality.
        state:
          type: string
          description: State in which the address belongs.
      description: Australian address. <br><i>CommBank does not currently return this value.</i></br>
    CommonPhoneNumber:
      type: object
      required:
      - fullNumber
      - number
      - purpose
      properties:
        isPreferred:
          type: boolean
          description: Indication of the preferred phone number.
          x-cds-type: Boolean
        purpose:
          type: string
          description: The purpose of the number as specified by the customer.
          enum:
          - MOBILE
          - HOME
          - WORK
          - OTHER
          - INTERNATIONAL
          - UNSPECIFIED
        countryCode:
          type: string
          description: If absent, assumed to be Australia (+61).
        areaCode:
          type: string
          description: The area code of the phone number.
        number:
          type: string
          description: The actual phone number.
        extension:
          type: string
          description: An extension number.
        fullNumber:
          type: string
          description: Fully formatted phone number with country code, area code, number and extension incorporated.
          x-cds-type: ExternalRef
      x-conditional:
      - areaCode
    ResponseCommonCustomerDetail:
      type: object
      required:
      - data
      - links
      example:
        data:
          customerUType: person
          person:
            phoneNumbers:
            - isPreferred: false
              purpose: INTERNATIONAL
              countryCode: '+91'
              areaCode: '020'
              number: '27653158'
              extension: '42'
              fullNumber: '+91202765315842'
            - isPreferred: false
              purpose: HOME
              countryCode: '+61'
              areaCode: '02'
              number: '96341857'
              extension: ''
              fullNumber: '+61296341857'
            - isPreferred: true
              purpose: MOBILE
              countryCode: '+61'
              number: 0495297185
              extension: ''
              fullNumber: '+61495297185'
            emailAddresses:
            - isPreferred: true
              purpose: UNSPECIFIED
              address: courtney@cba.com.au
            physicalAddresses:
            - addressUType: simple
              purpose: REGISTERED
              simple:
                addressLine1: 111 SPENCE HWY
                addressLine2: ''
                postcode: '2575'
                city: COLO VALE
                state: NSW
                country: AUS
            lastUpdateTime: '2020-09-24T05:28:32Z'
            firstName: COURTNEY
            lastName: COMPTON
            middleNames: []
            prefix: Mrs
        links:
          self: https://secure.api.commbank.com.au/api/cds-au/v1/banking/common/customer/detail
        meta: {}
      properties:
        data:
          $ref: '#/components/schemas/ResponseCommonCustomerDetail_data'
        links:
          $ref: '#/components/schemas/Links'
        meta:
          $ref: '#/components/schemas/Meta'
      x-conditional:
      - person
      - organisation
    ResponseCommonCustomer:
      type: object
      required:
      - data
      - links
      example:
        data:
          customerUType: person
          person:
            lastUpdateTime: '2019-06-06T05:33:57Z'
            firstName: SODOR
            lastName: SODO
            middleNames: []
            prefix: ''
            suffix: ''
        links:
          self: https://secure.api.commbank.com.au/api/cds-au/v1/banking/common/customer
        meta: {}
      properties:
        data:
          $ref: '#/components/schemas/ResponseCommonCustomer_data'
        links:
          $ref: '#/components/schemas/Links'
        meta:
          $ref: '#/components/schemas/Meta'
      x-conditional:
      - person
      - organisation
    CommonPerson:
      type: object
      required:
      - lastName
      - middleNames
      properties:
        lastUpdateTime:
          type: string
          description: The date and time that this record was last updated by the customer.
          x-cds-type: DateTimeString
        firstName:
          type: string
          description: For people with single names this field need not be present.
        lastName:
          type: string
          description: For people with single names the single name should be in this field.
        middleNames:
          type: array
          description: Field is mandatory but array may be empty.
          items:
            type: string
        prefix:
          type: string
          description: Title or salutation.
        suffix:
          type: string
          description: Used for a trailing suffix to the name.
        occupationCode:
          type: string
          description: Value is a valid ANZSCO v1.2 Standard Occupation classification. <br><i>CommBank does not currently return this value.</i></br>
    CommonOrganisation:
      type: object
      required:
      - agentLastName
      - agentRole
      - businessName
      - organisationType
      properties:
        lastUpdateTime:
          type: string
          description: The date and time that this record was last updated by the customer.
          x-cds-type: DateTimeString
        agentFirstName:
          type: string
          description: The first name of the individual providing access on behalf of the organisation.
        agentLastName:
          type: string
          description: The last name of the individual providing access on behalf of the organisation.
        agentRole:
          type: string
          description: The role of the individual identified as the agent who is providing authorisation.
        businessName:
          type: string
          description: Name of the organisation.
        legalName:
          type: string
          description: Legal name, if different to the business name. <br><i>CommBank does not currently return this value.</i></br>
        shortName:
          type: string
          description: Short name used for communication, if different to the business name. <br><i>CommBank does not currently return this value.</i></br>
        abn:
          type: string
          description: Australian Business Number for the organisation.
        acn:
          type: string
          description: Australian Company Number for the organisation. Required only if an ACN is applicable for the organisation type. <br><i>CommBank does not currently return this value.</i></br>
        isACNCRegistered:
          type: boolean
          description: True if registered with the ACNC.  False if not. Absent or null if not confirmed. <br><i>CommBank does not currently return this value.</i></br>
          x-cds-type: Boolean
        industryCode:
          type: string
          description: '[ANZSIC (2006)](http://www.abs.gov.au/anzsic) code for the organisation. <br><i>CommBank does not currently return this value.</i></br>'
        organisationType:
          type: string
          description: Legal organisation type.
          enum:
          - SOLE_TRADER
          - COMPANY
          - PARTNERSHIP
          - TRUST
          - GOVERNMENT_ENTITY
          - OTHER
        registeredCountry:
          type: string
          description: ''
          x-cds-type: ExternalRef
        establishmentDate:
          type: string
          description: The date the organisation described was established.
          x-cds-type: DateString
    CommonPhysicalAddressWithPurpose:
      allOf:
      - $ref: '#/components/schemas/CommonPhysicalAddress'
      - type: object
        required:
        - purpose
        properties:
          purpose:
            type: string
            description: The purpose of the physical address.
            enum:
            - REGISTERED
            - MAIL
            - PHYSICAL
            - WORK
            - OTHER
    CommonPhysicalAddress:
      type: object
      required:
      - addressUType
      properties:
        addressUType:
          type: string
          description: The type of address object present.
          enum:
          - simple
          - paf
        simple:
          $ref: '#/components/schemas/CommonSimpleAddress'
        paf:
          $ref: '#/components/schemas/CommonPAFAddress'
      x-conditional:
      - simple
      - paf
    ResponseNoBody:
      type: object
      properties: {}
      example: {}
    ResponseCommonCustomer_data:
      required:
      - customerUType
      properties:
        customerUType:
          type: string
          description: The type of customer object that is present
          enum:
          - person
          - organisation
        person:
          $ref: '#/components/schemas/CommonPerson'
        organisation:
          $ref: '#/components/schemas/CommonOrganisation'
    Meta:
      type: object
    Links:
      type: object
      required:
      - self
      properties:
        self:
          type: string
          description: Fully qualified link to this API call.
    CommonEmailAddress:
      type: object
      required:
      - address
      - purpose
      properties:
        isPreferred:
          type: boolean
          description: Indication of the preferred email address.
          x-cds-type: Boolean
        purpose:
          type: string
          description: The purpose for the email, as specified by the customer.
          enum:
          - WORK
          - HOME
          - OTHER
          - UNSPECIFIED
        address:
          type: string
          description: A correctly formatted email address.
          x-cds-type: ExternalRef
    CommonSimpleAddress:
      type: object
      required:
      - addressLine1
      - city
      - state
      properties:
        mailingName:
          type: string
          description: Name of the individual or business formatted address. <br><i>CommBank does not currently return this value.</i></br>
        addressLine1:
          type: string
          description: First line of the standard address.
        addressLine2:
          type: string
          description: Second line of the standard address.
        addressLine3:
          type: string
          description: Third line of the standard address.
        postcode:
          type: string
          description: Postcode for the locality.
        city:
          type: string
          description: Name of the city or locality.
        state:
          type: string
          description: State in which the address belongs.
        country:
          type: string
          description: A valid country code.
          default: AUS
          x-cds-type: ExternalRef
      x-conditional:
      - postcode
  parameters:
    ParamAcceptHeader:
      name: Accept
      in: header
      description: Content-Type that is acceptable for the server's response.
      required: true
      schema:
        type: string
        enum:
        - application/json
    ParamXMinVHeader:
      name: x-min-v
      in: header
      description: Minimum version of the API end point you are requesting.
      example: 1
      required: false
      schema:
        type: integer
    ParamXCdsClientHeaders:
      name: x-cds-client-headers
      in: header
      description: The customer's original standard http headers encoded, including the original User Agent header, if the customer is currently logged in to the data recipient.
      required: false
      example: Q3VzdG9tZXJzRGV2OkN1c3RvbWVyc0Rldg==
      x-cds-type: Base64
      schema:
        type: string
    ParamXVHeader:
      name: x-v
      in: header
      description: Version of the API end point being requested.
      example: 1
      required: false
      schema:
        type: integer
    ParamXFapiCustomerIpAddress:
      name: x-fapi-customer-ip-address
      in: header
      description: The customer's original IP address if the customer is currently logged in to the data recipient.
      required: false
      example: 192.168.1.1
      schema:
        type: string
    ParamXFapiInterationId:
      name: x-fapi-interaction-id
      in: header
      description: Reflects the value of the Interaction ID in the request.
      required: false
      example: f688ae24-9719-4975-9f58-f6b7e655c37d
      schema:
        type: string
    ParamXFapiAuthDate:
      name: x-fapi-auth-date
      in: header
      description: The time when the customer last logged in to the data recipient.
      required: false
      example: '2002-10-03T01:00:00+10:00'
      schema:
        type: string
x-tagGroups:
- name: ''
  tags:
  - Customer API