# Get company trading address.

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /companies/{company-registration-number}/trading-address:
    get:
      summary: Get company trading address.
      deprecated: false
      description: >-
        Retrieve all trading addresses associated with a company using its
        registration number. This endpoint provides detailed geographic and
        administrative location data to help identify where a company operates
      operationId: getCompanyTradingAddress
      tags:
        - DataGardener API/Companies
        - Companies
      parameters:
        - name: company-registration-number
          in: path
          description: ''
          required: true
          example: '12559329'
          schema:
            type: string
        - name: x-api-key
          in: header
          description: ''
          required: true
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: Success|OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  companyRegistrationNumber:
                    type: string
                  businessName:
                    type: string
                  companyRegistrationDate:
                    type: string
                  companyStatus:
                    type: string
                  tradingAddres:
                    type: array
                    items:
                      type: object
                      properties:
                        postcode:
                          type: string
                        county:
                          type: string
                        district:
                          type: string
                        ward:
                          type: string
                        country:
                          type: string
                        constituency:
                          type: string
                        region:
                          type: string
                        postcode_area:
                          type: string
                        postcode_district:
                          type: string
                        police_force:
                          type: string
                        pin:
                          type: object
                          properties:
                            companyGeoLocation:
                              type: object
                              properties:
                                lat:
                                  type: integer
                                lon:
                                  type: integer
                              required:
                                - lat
                                - lon
                              x-apidog-orders:
                                - lat
                                - lon
                          required:
                            - companyGeoLocation
                          x-apidog-orders:
                            - companyGeoLocation
                      x-apidog-orders:
                        - postcode
                        - county
                        - district
                        - ward
                        - country
                        - constituency
                        - region
                        - postcode_area
                        - postcode_district
                        - police_force
                        - pin
                required:
                  - companyRegistrationNumber
                  - businessName
                  - companyRegistrationDate
                  - companyStatus
                  - tradingAddres
                x-apidog-orders:
                  - companyRegistrationNumber
                  - businessName
                  - companyRegistrationDate
                  - companyStatus
                  - tradingAddres
              example:
                companyRegistrationNumber: string
                businessName: string
                companyRegistrationDate: string
                companyStatus: string
                tradingAddres:
                  - postcode: string
                    county: string
                    district: string
                    ward: string
                    country: string
                    constituency: string
                    region: string
                    postcode_area: string
                    postcode_district: string
                    police_force: string
                    pin:
                      companyGeoLocation:
                        lat: 0
                        lon: 0
          headers: {}
          x-apidog-name: OK
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                type: string
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: string
          headers: {}
          x-apidog-name: Forbidden
        '404':
          description: Company not Found!!!
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Record Not Found
        '500':
          description: Internal Server Error!!!
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Server Error
      security: []
      x-apidog-folder: DataGardener API/Companies
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1064573/apis/api-21303221-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.datagardener.com
    description: Generated server url
security: []

```
