# Miniprogram

> Ein WeChat-Miniprogramm oder Minispiel.

Canonical page: https://okdata.online/docs/objects/miniprogram/

The same shape on every platform. A field a platform does not have is null, and meta.unavailable says why. Use fields= to keep only what you need.

| Field | Type | Description |
|---|---|---|
| `id` | string | Original-ID (gh_…). |
| `app_id` | string \| null | AppID (wx…), used to open or link to it; null where none is given. |
| `name` | string | Name. |
| `description` | string \| null | Beschreibung. |
| `icon_url` | string \| null | Icon. |
| `owner_name` | string \| null | Das betreibende Unternehmen oder die betreibende Stelle. |
| `owner_verified` | boolean \| null | Ob der Betreiber verifiziert ist. |
| `recent_users` | integer \| null | Recent users as the platform shows them; a figure like 1万+ is a lower bound; null where none is shown. |
| `is_game` | boolean \| null | Ob es ein Mini Game ist. |
| `ext` | object | Plattformspezifische Zusatzfelder. Nur mit view=full. |

## Endpoints that return a Miniprogram

- [WeChat-Mini-Programm-Suche](https://okdata.online/apis/wechat/miniprograms/search/) (`wechat.miniprograms.search`): $0.15 per call · about 25 results per page

## Fields by view

Each view includes the fields of the views above it. `view=compact` is the smallest; `full` adds platform extras under `ext`.

- compact: `id`, `app_id`, `name`, `description`, `owner_name`
- standard: `icon_url`, `owner_verified`, `recent_users`, `is_game`
- full: `ext`
