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

# /immowelt/agencies

> Get an immowelt real estate agency profile by profile id (or profile URL): company name, legal name, registration and VAT numbers, legal representative, description, email and phone, website, address, spoken languages, memberships, services, opening hours, logo and cover image, rating and the team members with their contacts.

**Price:** 10 credits

**⚠️ Common errors:** 412: Agency not found for the given profile id



## OpenAPI

````yaml /openapi/real-estate.json post /api/immowelt/agencies
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/immowelt/agencies:
    post:
      tags:
        - /immowelt
      summary: /immowelt/agencies
      description: >-
        Get an immowelt real estate agency profile by profile id (or profile
        URL): company name, legal name, registration and VAT numbers, legal
        representative, description, email and phone, website, address, spoken
        languages, memberships, services, opening hours, logo and cover image,
        rating and the team members with their contacts.


        **Price:** 10 credits


        **⚠️ Common errors:** 412: Agency not found for the given profile id
      operationId: __api_immowelt_agencies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImmoweltAgenciesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ImmoweltAgency'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ImmoweltAgenciesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        agency:
          type: string
          minLength: 1
        domain:
          $ref: '#/components/schemas/ImmoweltDomain'
          default: immowelt.de
      type: object
      required:
        - agency
    ImmoweltAgency:
      properties:
        '@type':
          type: string
          default: ImmoweltAgency
        id:
          type: string
        profile_id:
          anyOf:
            - type: string
            - type: 'null'
        company_name:
          anyOf:
            - type: string
            - type: 'null'
        legal_company_name:
          anyOf:
            - type: string
            - type: 'null'
        registration_number:
          anyOf:
            - type: string
            - type: 'null'
        vat_number:
          anyOf:
            - type: string
            - type: 'null'
        legal_representative:
          anyOf:
            - type: string
            - type: 'null'
        intermediary_type:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        mobile:
          anyOf:
            - type: string
            - type: 'null'
        website:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - $ref: '#/components/schemas/ImmoweltAgencyAddress'
            - type: 'null'
        spoken_languages:
          items:
            type: string
          type: array
          default: []
        memberships:
          items:
            type: string
          type: array
          default: []
        services:
          items:
            type: string
          type: array
          default: []
        opening_hours:
          items:
            $ref: '#/components/schemas/ImmoweltOpeningHours'
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        cover:
          anyOf:
            - type: string
            - type: 'null'
        rating_average:
          anyOf:
            - type: number
            - type: 'null'
        rating_count:
          anyOf:
            - type: integer
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        badge:
          anyOf:
            - $ref: '#/components/schemas/ImmoweltAgencyBadge'
            - type: 'null'
        team:
          items:
            $ref: '#/components/schemas/ImmoweltTeamMember'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ImmoweltDomain:
      type: string
      enum:
        - immowelt.de
        - immowelt.at
    ImmoweltAgencyAddress:
      properties:
        '@type':
          type: string
          default: ImmoweltAgencyAddress
        street:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ImmoweltOpeningHours:
      properties:
        '@type':
          type: string
          default: ImmoweltOpeningHours
        day:
          anyOf:
            - type: string
            - type: 'null'
        morning_open:
          anyOf:
            - type: string
            - type: 'null'
        morning_close:
          anyOf:
            - type: string
            - type: 'null'
        afternoon_open:
          anyOf:
            - type: string
            - type: 'null'
        afternoon_close:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ImmoweltAgencyBadge:
      properties:
        '@type':
          type: string
          default: ImmoweltAgencyBadge
        name:
          anyOf:
            - type: string
            - type: 'null'
        level:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ImmoweltTeamMember:
      properties:
        '@type':
          type: string
          default: ImmoweltTeamMember
        first_name:
          anyOf:
            - type: string
            - type: 'null'
        last_name:
          anyOf:
            - type: string
            - type: 'null'
        salutation:
          anyOf:
            - type: string
            - type: 'null'
        role:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        mobile:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````