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

# /xiaomigetapps/apps

> Get a Xiaomi GetApps app by its Android package name

**Price:** 1 credit

**⚠️ Common errors:** 412: No app with this package name is distributed to the requested region



## OpenAPI

````yaml /openapi/app-stores.json post /api/xiaomigetapps/apps
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/xiaomigetapps/apps:
    post:
      tags:
        - /xiaomigetapps
      summary: /xiaomigetapps/apps
      description: >-
        Get a Xiaomi GetApps app by its Android package name


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No app with this package name is distributed
        to the requested region
      operationId: __api_xiaomigetapps_apps_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/XiaomigetappsAppPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/XiaomigetappsApp'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    XiaomigetappsAppPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        package_name:
          type: string
          minLength: 1
        region:
          type: string
          maxLength: 2
          minLength: 2
          default: ID
        language:
          type: string
          minLength: 2
          default: en
      type: object
      required:
        - package_name
    XiaomigetappsApp:
      properties:
        '@type':
          type: string
          default: XiaomigetappsApp
        package_name:
          type: string
        app_id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        summary:
          anyOf:
            - type: string
            - type: 'null'
        changelog:
          anyOf:
            - type: string
            - type: 'null'
        developer:
          anyOf:
            - type: string
            - type: 'null'
        developer_id:
          anyOf:
            - type: string
            - type: 'null'
        publisher:
          anyOf:
            - type: string
            - type: 'null'
        category:
          anyOf:
            - type: string
            - type: 'null'
        category_id:
          anyOf:
            - type: string
            - type: 'null'
        category_rank:
          anyOf:
            - type: integer
            - type: 'null'
        version:
          anyOf:
            - type: string
            - type: 'null'
        version_code:
          anyOf:
            - type: string
            - type: 'null'
        apk_size:
          anyOf:
            - type: integer
            - type: 'null'
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        editor_rating:
          anyOf:
            - type: number
            - type: 'null'
        download_count:
          anyOf:
            - type: integer
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        regions:
          items:
            type: string
          type: array
          default: []
        region_ratings:
          items:
            $ref: '#/components/schemas/XiaomigetappsRegionRating'
          type: array
          default: []
        permissions:
          items:
            type: string
          type: array
          default: []
        web_url:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        screenshots:
          items:
            type: string
          type: array
          default: []
        package:
          anyOf:
            - $ref: '#/components/schemas/XiaomigetappsAppPackage'
            - type: 'null'
      type: object
      required:
        - package_name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    XiaomigetappsRegionRating:
      properties:
        '@type':
          type: string
          default: XiaomigetappsRegionRating
        region:
          type: string
        rating:
          anyOf:
            - type: number
            - type: 'null'
        google_play_rating:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - region
    XiaomigetappsAppPackage:
      properties:
        '@type':
          type: string
          default: XiaomigetappsAppPackage
        apk_hash:
          anyOf:
            - type: string
            - type: 'null'
        apk_size:
          anyOf:
            - type: integer
            - type: 'null'
        release_key_hash:
          anyOf:
            - type: string
            - type: 'null'
        version:
          anyOf:
            - type: string
            - type: 'null'
        version_code:
          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

````