# App Store 关键词搜索 API (app_store.search)

- Canonical page: https://everyinfra.com/app-store-api/search
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "app_store", "action": "search", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 200 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=app_store&action=search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | App Store 应用搜索词，例如 habit tracker 或应用名称；不是 Bundle ID。搜索结果中的 app_id 可继续用于应用详情和评论。 |
| country | not declared | no | not declared | App Store 店面国家/地区，使用小写代码，例如 us、cn、jp，默认 us。详情与评论都按该店面查询；应用在其他店面可见不代表在当前店面同样上架。 |
| limit | integer (1–200) | no | 20 | 这次调用最多返回的条数，整数，1–200；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| app_id | App Store 数字 ID。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| url | 该记录在原平台上的可访问链接。 |
| bundle_id | 应用包名（com.xxx.yyy），开发侧唯一标识。 |
| developer | 开发者名称。 |
| developer_id | 开发者 ID。 |
| developer_url | 开发者页链接。 |
| description | 简介或描述，通常比 text 短。 |
| release_notes | 更新说明。 |
| version | 版本号。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| currency | 价格币种代码（如 CNY、USD）。price 存在但 currency 为 null 时不要假定币种。 |
| formatted_price | 价格展示文本（如「免费」或带币种符号的金额）。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| rating_count | 参与评分的人数。null 表示不公开，不等于 0。 |
| current_version_rating | 当前版本的评分。大改版后看它比总评分更准。 |
| current_version_rating_count | 当前版本的评分人数。 |
| content_rating | 年龄分级。 |
| category | 分类名称，取值为原平台的分类体系，未做跨平台归一。 |
| icon_url | 应用图标。 |
| min_os | 最低系统版本要求。 |
| file_size_bytes | 安装包大小，字节。 |
| released_at | 首次上架时间。 |
| updated_at | 最近更新时间。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |
| genres | 应用所属的分类，按 App Store 原文；没有时不出现这个字段。 |
| languages | 应用支持的语言列表，按 App Store 原文；没有时不出现这个字段。 |
| screenshot_urls | 应用截图链接数组，按商店展示顺序；没有时不出现这个字段。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "app_store",
  "action": "search",
  "params": {
    "keyword": "habit tracker"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "app_store",
        "action": "search",
        "params": {
            "keyword": "habit tracker",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 18. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "app_store",
  "action": "search",
  "results": [
    {
      "app_id": 1438388363,
      "name": "Habit Tracker",
      "url": "https://apps.apple.com/us/app/habit-tracker/id1438388363?uo=4",
      "bundle_id": "com.davetech.habit",
      "developer": "InnerGrow",
      "developer_url": "https://apps.apple.com/us/developer/innergrow/id1828382777?uo=4",
      "description": "Habit Tracker: A simple daily planner to schedule and track your routine, making it easy to build lasting habits. \nJoin 15M+ happy users, achieve your goals, and make every day count!\nMore than a self-care companion, it lets you share with others to grow and improve together. \n\n-…",
      "release_notes": "- add shortcut supports \n- add custom repeat interval \n- fix bugs\n----- Beta Tester needed -----\nIf you want to help us to test new version, contact us: •••\nIf your widget is not working, restart your iPhone.\nOur IG: Tiny Useful Apps",
      "version": "2.14.23",
      "price": 0,
      "currency": "USD",
      "formatted_price": "Free",
      "rating": 4.79,
      "rating_count": 147260,
      "current_version_rating_count": 147260,
      "content_rating": "4+",
      "category": "Productivity",
      "icon_url": "https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/d3/ef/00/d3ef00c2-9b1c-b5ef-0464-2e08231b80de/AppIcon-pink-gr-0-0-1x_U007epad-0-1-0-sRGB-85-220.png/512x512bb.jpg",
      "min_os": "15.0",
      "file_size_bytes": 339836928,
      "released_at": "2019-01-31T09:10:14+00:00",
      "updated_at": "2026-08-15T15:18:18+00:00",
      "platform": "app_store",
      "genres": [
        "Productivity",
        "Health & Fitness"
      ],
      "languages": [
        "EN",
        "FR",
        "DE"
      ],
      "screenshot_urls": [
        "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/5c/b8/05/5cb8051e-e125-e84e-f0b5-2551b6e9d69d/_U767d1.jpg/320x480bb.jpg",
        "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/13/5d/32/135d32df-678d-5c7e-d940-4f16d5c4e396/_U767d2.jpg/320x480bb.jpg",
        "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/2e/a8/66/2ea866a0-2271-4d8a-e380-8386b935283f/_U767d3.jpg/320x480bb.jpg"
      ],
      "rating_scale": 5
    },
    {
      "app_id": 6443918070,
      "name": "Habit Tracker - HabitKit",
      "url": "https://apps.apple.com/us/app/habit-tracker-habitkit/id6443918070?uo=4",
      "bundle_id": "com.roehl.habitkit",
      "developer": "Sebastian Roehl",
      "developer_url": "https://apps.apple.com/us/developer/sebastian-roehl/id1602956482?uo=4",
      "description": "Big life changes do not start big. They start with one small habit, done today, done again tomorrow. HabitKit turns those daily wins into a colorful grid of tiles, one square for every day you show up, so you can finally see yourself becoming the person you want to be.\n\nThat visi…",
      "release_notes": "- Choose Yes/No, Count or Measure with decimals and custom units\n- Change habit types without losing history or streaks\n- At a Count goal above 1, tap to edit instead of clearing\n- New iOS Shortcuts to log amounts and notes, get progress and open habits; translated labels and cle…",
      "version": "1.18.0",
      "price": 0,
      "currency": "USD",
      "formatted_price": "Free",
      "rating": 4.85,
      "rating_count": 2430,
      "current_version_rating_count": 2430,
      "content_rating": "4+",
      "category": "Productivity",
      "icon_url": "https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/79/91/fe/7991fe78-b459-1397-205f-54525a639bde/NewAppIcon-0-0-1x_U007ephone-0-1-sRGB-85-220.png/512x512bb.jpg",
      "min_os": "15.0",
      "file_size_bytes": 230910976,
      "released_at": "2022-11-26T08:00:00+00:00",
      "updated_at": "2026-09-21T08:40:41+00:00",
      "platform": "app_store",
      "genres": [
        "Productivity"
      ],
      "languages": [
        "AR",
        "BE",
        "CA"
      ],
      "screenshot_urls": [
        "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/cb/27/c1/cb27c143-49f7-12ba-a1f1-68fd4caf0634/Apple_iPhone_11_Pro_Max_Screenshot_0.png/320x480bb.jpg",
        "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/18/ba/4e/18ba4eac-d29a-94ae-88a5-92204e14eb24/Apple_iPhone_11_Pro_Max_Screenshot_1.png/320x480bb.jpg",
        "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/23/59/4e/23594e53-c451-7772-0dbb-7cd58b8470bb/Apple_iPhone_11_Pro_Max_Screenshot_2.png/320x480bb.jpg"
      ],
      "rating_scale": 5
    }
  ],
  "count": 18,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=app_store
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
