> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Search

> Find candidate apps by name or topic before calling `app` for compatibility and subscription detail.

## Request contract

* **Method and path:** POST /apis/v1/apple-app-store/apps/search
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/apple-app-store/apps/search`

[Complete OpenAPI definition](https://aisa.one/docs/openapi-public/apple-app-store.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "apple-app-store.apps.search",
  "method": "POST",
  "path": "/apis/v1/apple-app-store/apps/search",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "limit": 5,
              "term": "sleep tracker"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "country": {
              "description": "Two-letter App Store storefront code (lowercase, e.g. `us`, `gb`, `de`). Default `us`. Prices and availability are storefront specific. Pattern: ^[a-zA-Z]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "limit": {
              "description": "Maximum results (default 25). The source has no offset paging.\n\nProvider reference: minimum 1; maximum 200.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 200,
                "min": 1
              }
            },
            "term": {
              "description": "Search words.",
              "type": "string"
            }
          },
          "required": [
            "term"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi-public/apple-app-store.json POST /apis/v1/apple-app-store/apps/search
openapi: 3.1.0
info:
  description: ''
  title: Apple App Store
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    apple-app-store:
      description: ''
      title: Apple App Store
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: a3ac0ffa2d8cb2e551225eef6792740fe80ef3c0ed3cdb66a8952555c66e1c35
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/apple-app-store/apps/app
    - /apis/v1/apple-app-store/apps/developer-apps
    - /apis/v1/apple-app-store/apps/reviews
    - /apis/v1/apple-app-store/apps/search
    - /apis/v1/apple-app-store/apps/top-charts
    - /apis/v1/apple-app-store/product
    - /apis/v1/apple-app-store/reviews
    - /apis/v1/apple-app-store/search-apps
  x-aisa-document:
    composer_version: '31'
    facts_hash: a3ac0ffa2d8cb2e551225eef6792740fe80ef3c0ed3cdb66a8952555c66e1c35
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:25175c94e614116fed275abc657074eba9e8a88b425e018a46c0a0aa753590df
    document_hash: sha256:5e80b2e4c6fda489cc908bbf863ca9edf875f35ed862e6e7df19644992ff6c65
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: apple-app-store
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/apple-app-store/apps/search:
    post:
      tags:
        - Apple App Store
      summary: Search
      description: >-
        Find candidate apps by name or topic before calling `app` for
        compatibility and subscription detail.
      operationId: apple-app-store.apps.search
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  limit: 5
                  term: sleep tracker
            schema:
              additionalProperties: true
              properties:
                country:
                  description: >-
                    Two-letter App Store storefront code (lowercase, e.g. `us`,
                    `gb`, `de`). Default `us`. Prices and availability are
                    storefront specific. Pattern: ^[a-zA-Z]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                limit:
                  description: >-
                    Maximum results (default 25). The source has no offset
                    paging.


                    Provider reference: minimum 1; maximum 200.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 200
                    min: 1
                term:
                  description: Search words.
                  type: string
              required:
                - term
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-22.
                  summary: Official provider example
                  value:
                    apps:
                      - app_id: '1138066420'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/1f/5f/2e/1f5f2e73-1015-6c26-3f62-1d7a2c00606f/AppIcon-0-0-1x_U007emarketing-0-6-0-85-220.png/512x512bb.jpg
                        bundle_id: io.bodymatter.SleepWatch
                        content_rating: 17+
                        currency: USD
                        current_version_release_date: '2026-07-24T15:01:43Z'
                        developer:
                          id: '1138066419'
                          name: Bodymatter, Inc.
                          url: >-
                            https://apps.apple.com/us/developer/bodymatter-inc/id1138066419
                        file_size_bytes: 417416192
                        formatted_price: Free
                        genres:
                          - Health & Fitness
                          - Lifestyle
                        languages:
                          - EN
                        minimum_os_version: '15.0'
                        name: SleepWatch - Top Sleep Tracker
                        price: 0
                        primary_genre:
                          id: '6013'
                          name: Health & Fitness
                        rating:
                          average: 4.65238
                          count: 328435
                        release_date: '2016-08-07T15:57:32Z'
                        seller_name: Bodymatter, Inc.
                        supported_devices_count: 51
                        url: >-
                          https://apps.apple.com/us/app/sleepwatch-top-sleep-tracker/id1138066420
                        version: 8.7.4
                      - app_id: '1490078804'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/da/2b/9e/da2b9e0e-7e24-1d6a-3a20-dd7dd162673a/AppIcon-0-0-1x_U007emarketing-0-8-0-85-220.png/512x512bb.jpg
                        bundle_id: health.sleep.sounds.tracker.alarm.calm
                        content_rating: 12+
                        currency: USD
                        current_version_release_date: '2026-09-20T20:05:05Z'
                        developer:
                          id: '1693552461'
                          name: Enerjoy Pte. Ltd.
                          url: >-
                            https://apps.apple.com/us/developer/enerjoy-pte-ltd/id1693552461
                        file_size_bytes: 610094080
                        formatted_price: Free
                        genres:
                          - Health & Fitness
                        languages:
                          - EN
                          - FR
                          - DE
                          - JA
                          - PT
                          - ZH
                          - ES
                          - ZH
                        minimum_os_version: '16.0'
                        name: 'ShutEye®: Sleep Tracker, Sound'
                        price: 0
                        primary_genre:
                          id: '6013'
                          name: Health & Fitness
                        rating:
                          average: 4.76463
                          count: 349681
                        release_date: '2019-12-09T08:00:00Z'
                        seller_name: ENERJOY PTE. LTD.
                        supported_devices_count: 130
                        url: >-
                          https://apps.apple.com/us/app/shuteye-sleep-tracker-sound/id1490078804
                        version: 3.5.4
                      - app_id: '320606217'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/ac/92/45/ac92458a-75f4-a916-434f-cfa12090c72e/AppIconSleepCycle-0-0-1x_U007epad-0-1-0-0-sRGB-85-220.png/512x512bb.jpg
                        bundle_id: com.lexwarelabs.goodmorning
                        content_rating: 4+
                        currency: USD
                        current_version_release_date: '2026-09-11T08:03:07Z'
                        developer:
                          id: '320606220'
                          name: Sleep Cycle AB
                          url: >-
                            https://apps.apple.com/us/developer/sleep-cycle-ab/id320606220
                        file_size_bytes: 315420672
                        formatted_price: Free
                        genres:
                          - Health & Fitness
                          - Lifestyle
                        languages:
                          - NL
                          - EN
                          - FR
                          - DE
                          - IT
                          - JA
                          - KO
                          - PT
                          - RU
                          - ZH
                          - ES
                          - SV
                          - ZH
                          - TR
                        minimum_os_version: '16.2'
                        name: Sleep Cycle - Tracker & Sounds
                        price: 0
                        primary_genre:
                          id: '6013'
                          name: Health & Fitness
                        rating:
                          average: 4.67778
                          count: 29340
                        release_date: '2009-07-23T23:52:39Z'
                        seller_name: Sleep Cycle AB
                        supported_devices_count: 131
                        url: >-
                          https://apps.apple.com/us/app/sleep-cycle-tracker-sounds/id320606217
                        version: 6.26.37
                      - app_id: '1551928101'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/42/6b/ef/426beffb-7ebd-8b4b-b7e8-00f03b84ae9f/AppIcon-0-0-1x_U007emarketing-0-6-0-sRGB-85-220.png/512x512bb.jpg
                        bundle_id: com.leapfitness.Sleeptracker
                        content_rating: 4+
                        currency: USD
                        current_version_release_date: '2026-09-15T01:57:50Z'
                        developer:
                          id: '1687598595'
                          name: Leap Health
                          url: >-
                            https://apps.apple.com/us/developer/leap-health/id1687598595
                        file_size_bytes: 215204864
                        formatted_price: Free
                        genres:
                          - Health & Fitness
                        languages:
                          - AR
                          - NL
                          - EN
                          - FR
                          - DE
                          - ID
                          - IT
                          - JA
                          - KO
                          - FA
                          - PL
                          - PT
                          - RU
                          - ZH
                          - ES
                          - ZH
                          - TR
                        minimum_os_version: '15.0'
                        name: 'Sleep Tracker: Recorder, Sound'
                        price: 0
                        primary_genre:
                          id: '6013'
                          name: Health & Fitness
                        rating:
                          average: 4.74911
                          count: 7916
                        release_date: '2021-09-23T07:00:00Z'
                        seller_name: Leap Health Fitness Limited
                        supported_devices_count: 131
                        url: >-
                          https://apps.apple.com/us/app/sleep-tracker-recorder-sound/id1551928101
                        version: 2.36.0
                    count: 4
                    country: us
                    limit: 5
                    observed_at_ms: 1790116899262
                    source_url: >-
                      https://itunes.apple.com/search?term=sleep+tracker&country=us&entity=software&limit=5
                    term: sleep tracker
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Keyword search for iOS apps on a storefront via the iTunes Search
            API: id, bundle id, developer, price, rating, current version,
            minimum iOS version, genres, size and device count per app.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `apps` | object[] |  |

            | `count` | number |  |

            | `country` | string |  |

            | `limit` | number |  |

            | `observed_at_ms` | number | Milliseconds since the Unix epoch when
            the source answered. |

            | `source_url` | string |  |

            | `term` | string |  |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.