> ## 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.

# /airbnb/hosts

> Get an Airbnb host (user) profile by host id (or profile URL): name, photo, superhost and identity verification status, host rating and review count, location, about text, hosting tenure, past trips, identity verifications, interests, and the host's managed listings (each with name, photo, room and property type, rating, reviews and capacity) plus the total listing count.

**Price:** 1 credit

**⚠️ Common errors:** 412: Host not found, private or inaccessible profile (well-formed but nonexistent/withdrawn host id)



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/airbnb/hosts
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/airbnb/hosts:
    post:
      tags:
        - /airbnb
      summary: /airbnb/hosts
      description: >-
        Get an Airbnb host (user) profile by host id (or profile URL): name,
        photo, superhost and identity verification status, host rating and
        review count, location, about text, hosting tenure, past trips, identity
        verifications, interests, and the host's managed listings (each with
        name, photo, room and property type, rating, reviews and capacity) plus
        the total listing count.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Host not found, private or inaccessible
        profile (well-formed but nonexistent/withdrawn host id)
      operationId: __api_airbnb_hosts_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AirbnbHostsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirbnbHostProfile'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AirbnbHostsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        host:
          type: string
          minLength: 1
      type: object
      required:
        - host
    AirbnbHostProfile:
      properties:
        '@type':
          type: string
          default: AirbnbHostProfile
        id:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_superhost:
          anyOf:
            - type: boolean
            - type: 'null'
        is_verified:
          anyOf:
            - type: boolean
            - type: 'null'
        is_home_host:
          anyOf:
            - type: boolean
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        about:
          anyOf:
            - type: string
            - type: 'null'
        years_hosting:
          anyOf:
            - type: integer
            - type: 'null'
        months_hosting:
          anyOf:
            - type: integer
            - type: 'null'
        verified_since:
          anyOf:
            - type: string
            - type: 'null'
        past_trips_count:
          anyOf:
            - type: integer
            - type: 'null'
        identity_verifications:
          items:
            type: string
          type: array
          default: []
        interests:
          items:
            type: string
          type: array
          default: []
        listing_count:
          anyOf:
            - type: integer
            - type: 'null'
        listings:
          items:
            $ref: '#/components/schemas/AirbnbHostListing'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AirbnbHostListing:
      properties:
        '@type':
          type: string
          default: AirbnbHostListing
        id:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        room_type:
          anyOf:
            - type: string
            - type: 'null'
        property_type:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        bedroom_count:
          anyOf:
            - type: integer
            - type: 'null'
        bed_count:
          anyOf:
            - type: integer
            - type: 'null'
        bathroom_count:
          anyOf:
            - type: number
            - type: 'null'
        is_superhost:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
      required:
        - id
    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

````