---
title: "Huawei AppGallery API: app search, app details as JSON"
description: "Huawei AppGallery API for app search, app details with ratings, installs and versions, and package lookups as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/appgallery
---

[APIs](https://perceptlayer.com/apis) / [Apps and media](https://perceptlayer.com/verticals/apps) / Huawei AppGallery

1 credit per call 3 endpoints 5 datapoints 

# Huawei AppGallery API

Huawei AppGallery API for app search, app details with ratings, installs and versions, and package lookups as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Huawei AppGallery

GET /v1/appgallery/search?q=snapchat 

```
{
  "success": true,
  "data": {
    "search_parameters": {
      "engine": "appgallery_search",
      "q": "snapchat",
      "page": 1
    },
    "apps": [
      {
        "app_id": "C101585519",
        "title": "Snapchat",
        "package": "com.snapchat.android",
        "developer": "",
        "icon": "https://appimg-dre.dbankcdn.com/application/icon144/65/34f1f733cbcc4a78a41ddd18b51ed837.png"
      },
      {
        "app_id": "C100315379",
        "title": "TikTok - Make Your Day",
        "package": "com.zhiliaoapp.musically",
        "developer": "",
        "icon": "https://appimg-dre.dbankcdn.com/application/icon144/65/b18c204a12d5489b85d32e8d821a9a8d.png"
      },
      {
        "app_id": "C101184875",
        "title": "Telegram",
        "package": "org.telegram.messenger",
        "developer": "",
        "icon": "https://appimg-dre.dbankcdn.com/application/icon144/65/a3106c441f684754892e80225621ad8e.png"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 25
    },
    "note": "Search returns ids and hints only; read ratings and full data from the detail endpoint. The developer hint is empty and an empty result is not billed."
  },
  "meta": {
    "endpoint_family": "appgallery_search",
    "request_id": "req_f54bf96cae544ee4861eefe33442c176",
    "credits_charged": 1,
    "credits_remaining": 4988
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | app\_id string | title string | package string | developer string | icon url |
| --- | --- | --- | --- | --- | --- |
| 1 | C101585519 | Snapchat | com.snapchat.android |  | https://appimg-dre.dbankcdn.com/application/icon144/65/34f1f733cbcc4a78a41ddd18b51ed837.png |
| 2 | C100315379 | TikTok - Make Your Day | com.zhiliaoapp.musically |  | https://appimg-dre.dbankcdn.com/application/icon144/65/b18c204a12d5489b85d32e8d821a9a8d.png |
| 3 | C101184875 | Telegram | org.telegram.messenger |  | https://appimg-dre.dbankcdn.com/application/icon144/65/a3106c441f684754892e80225621ad8e.png |

Recorded from our API · 3 items shown · 5 datapoints per item GET /v1/appgallery/search?q=snapchat

5 datapoints

### Identity

-   app\_id string
-   title string

### Other

-   package string
-   developer string
-   icon url

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/appgallery/search?q=snapchat" \
  -H "X-API-Key: $API_KEY"
```

Huawei AppGallery · 3 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/appgallery/detail`](https://perceptlayer.com/apis/appgallery/detail) | `id` | `search_parameters` `app` `product_info` `media` `screenshots` | 1 credit |
| [GET `/v1/appgallery/package`](https://perceptlayer.com/apis/appgallery/package) | `package` | `search_parameters` `app` | 1 credit |
| [GET `/v1/appgallery/search`](https://perceptlayer.com/apis/appgallery/search) | `q` +1 optional | `search_parameters` `apps` `pagination` `note` | 1 credit |

Overview

## About the Huawei AppGallery API

## What you can get

The Huawei AppGallery API returns Huawei AppGallery app data as JSON through 3 endpoints.

-   **Search:** `search` takes a `q`, with `page`.
-   **Apps:** `detail` takes an app `id` (such as `C101585519`). `package` takes an Android `package` name.

The recorded `detail` call for Snapchat returns `app` ( `app_id`, `title`, `package`, `developer`, `icon`, `url`, `sha256`), `product_info` ( `rating`, `reviews`, `downloads`, `downloads_text`, `version`, `size`, `size_text`, `description`, `release_date`, `age_rating`, `tariff`) and `screenshots`. That recording showed 627,000,000 installs ("627M installs"), a 3.3 rating from 27 reviews and version 14.32.0.54.

## How a call works

Search, then look up: `GET /v1/appgallery/search?q=snapchat` with your key in the `X-API-Key` header returns `apps`, each with `app_id`, `title`, `package` and `icon`. Pass the `app_id` to `detail` as `id`. If you already know the Android package name, `GET /v1/appgallery/package?package=com.huawei.appmarket` returns the `app_id`, `version`, `size` and `sha256` directly. Search pages hold 25 apps; ask for the next with `page`. Every successful call costs 1 credit; failed calls cost nothing, and an empty search result is not billed.

Apps and media JSON REST MCP

### More apps and media APIs

[Apple App Store](https://perceptlayer.com/apis/apple-app-store) [Apple Podcasts](https://perceptlayer.com/apis/apple-podcasts) [arXiv](https://perceptlayer.com/apis/arxiv) [Audible](https://perceptlayer.com/apis/audible) [Bandcamp](https://perceptlayer.com/apis/bandcamp) [Chrome Web Store](https://perceptlayer.com/apis/chrome-web-store) [CISA KEV](https://perceptlayer.com/apis/cisa-kev) [ClinicalTrials.gov](https://perceptlayer.com/apis/clinicaltrials) [Coursera](https://perceptlayer.com/apis/coursera) [crates.io](https://perceptlayer.com/apis/crates-io) [Crossref](https://perceptlayer.com/apis/crossref) [Discogs](https://perceptlayer.com/apis/discogs)

Use cases

### Track an app's installs, rating and version on Huawei AppGallery

`Use the Huawei AppGallery API to track an app's installs, rating and version on Huawei AppGallery` 

### Map Android package names to AppGallery app ids

`Use the Huawei AppGallery API to map Android package names to AppGallery app ids` 

### Check the latest version, size and SHA-256 of an APK listing

`Use the Huawei AppGallery API to check the latest version, size and SHA-256 of an APK listing` 

### Monitor competitor apps' release dates and descriptions

`Use the Huawei AppGallery API to monitor competitor apps' release dates and descriptions` 

FAQ

## Questions

**How much does the Huawei AppGallery API cost?**

Each successful call costs 1 credit, on every endpoint. Failed calls and empty searches cost nothing.

**Why is the developer empty in search results?**

Search returns ids and hints only, and its \`developer\` field is empty. Call \`detail\` with the \`app\_id\` for the developer, ratings, installs and the full description.

**Which id goes where?**

\`detail\` takes the AppGallery \`app\_id\` (it starts with C), and \`package\` takes the Android package name, such as \`com.snapchat.android\`. Both come back in \`search\` results.

**Do I need a Huawei account?**

No. You call this Huawei AppGallery API with your Perceptlayer key in the \`X-API-Key\` header, with no Huawei login.

**Is this the official Huawei AppGallery API?**

No. Perceptlayer is an independent service and is not affiliated with Huawei AppGallery. It returns Huawei AppGallery data as JSON with a Perceptlayer key, so there is no Huawei AppGallery developer account, app review or partner approval to get first. It only reads data: if Huawei AppGallery has an official API and you need to act on your own Huawei AppGallery account, such as posting, managing orders or reading private data, use that one.

**Should I build a Huawei AppGallery scraper instead?**

You can, but a Huawei AppGallery scraper is code you maintain: page changes break it, requests get blocked, and Huawei AppGallery's terms govern how you collect data. The Huawei AppGallery API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Huawei AppGallery API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
