> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thedatacity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get company locations

> Returns one operating-location record as JSON, or 404.



## OpenAPI

````yaml /global-api/de.openapi.json get /v1/de/companies/location/{companyNumber}
openapi: 3.1.0
info:
  title: The Data City — Germany company data
  description: >-
    Company data for Germany, served through The Data City public API gateway.


    Authenticate with an API key as a bearer token. Rate limit is 60 requests
    per minute per key. Call GET /v1/de/filters before filtering: sector codes
    and location values cannot be guessed, and an unrecognised value returns an
    empty result rather than an error.
  termsOfService: https://thedatacity.com/terms-and-conditions/
  contact:
    name: The Data City
    email: hello@thedatacity.com
  version: v1
servers:
  - url: https://global-api.thedatacity.com
    description: Production
security:
  - ApiKey: []
tags:
  - name: Companies
  - name: Search
  - name: Filters
  - name: Lookups
  - name: Classification
  - name: Metadata
paths:
  /v1/de/companies/location/{companyNumber}:
    get:
      tags:
        - Companies
      summary: Get company locations
      description: Returns one operating-location record as JSON, or 404.
      operationId: de_get_companies_location_companyNumber
      parameters:
        - name: companyNumber
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProcessedCompanyLocation'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: No API key was supplied, or it is not valid for this environment.
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            Rate limit exceeded — 60 requests per minute per key. The
            retry-after header gives the number of seconds to wait.
          headers:
            retry-after:
              description: Seconds to wait before retrying.
              schema:
                type: integer
        '500':
          description: Internal Server Error
components:
  schemas:
    ProcessedCompanyLocation:
      required:
        - CompanyNumber
      type: object
      properties:
        CompanyNumber:
          type: string
          description: Unique company identifier from the data source for this location
          nullable: true
        Name:
          type: string
          description: Official company name for this location
          nullable: true
        Website:
          type: string
          description: Company website URL for this location
          nullable: true
        Description:
          type: string
          description: Business description or summary of activities for this location
          nullable: true
        Country:
          type: string
          description: Country where this location is registered (defaults to "USA")
          nullable: true
        Address:
          type: string
          description: Street address of this specific location
          nullable: true
        Town:
          type: string
          description: City or town where this location is situated
          nullable: true
        State:
          type: string
          description: State where this location is registered
          nullable: true
        Phone:
          type: string
          description: Primary business phone number for this location
          nullable: true
        Zipcode:
          type: string
          description: Postal code for this location
          nullable: true
        Latitude:
          type: number
          description: Latitude of the location
          format: double
          nullable: true
        Longitude:
          type: number
          description: Longitude of the location
          format: double
          nullable: true
        LegalForm:
          type: string
          description: >-
            Legal form of business entity for this location (e.g., Corporation,
            LLC, Partnership)
          nullable: true
        Employees:
          type: integer
          description: Exact number of employees at this location
          format: int32
          nullable: true
        Turnover:
          type: integer
          description: Annual revenue/turnover for this specific location
          format: int64
          nullable: true
        LogoURL:
          type: string
          description: >-
            Resolved logo URL derived from website (populated after loading from
            DuckDB).
          nullable: true
        ParentCompanyNumber:
          type: string
          description: >-
            Parent company number when this row is a location tied to a parent
            entity.
          nullable: true
        ParentCompanyName:
          type: string
          description: >-
            Parent company display name when
            TDC_Global_Server_API_DE.Models.ProcessedCompanyLocation.ParentCompanyNumber
            is set.
          nullable: true
        WZs:
          type: array
          items:
            type: string
          description: Primary industry classification rows associated with the company
          nullable: true
          readOnly: true
      additionalProperties: false
      description: Operating location information for a company
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
    Problem:
      type: object
      description: Error response, following RFC 9457 (problem details for HTTP APIs).
      properties:
        type:
          type: string
          description: URI identifying the problem type.
        title:
          type: string
          description: Short, human-readable summary.
        status:
          type: integer
          description: HTTP status code.
        detail:
          type: string
          description: Explanation specific to this occurrence.
        instance:
          type: string
          description: The path that produced the error.
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        An API key issued by The Data City, sent as: Authorization: Bearer
        YOUR_KEY

````