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

# Top charts

> Rankings: what is popular now in a category or overall on a storefront.

## 请求规范

* **方法与路径:** POST /apis/v1/apple-app-store/apps/top-charts
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/apple-app-store/apps/top-charts`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/apple-app-store.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "apple-app-store.apps.top-charts",
  "method": "POST",
  "path": "/apis/v1/apple-app-store/apps/top-charts",
  "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": {
              "chart": "top-free",
              "genre_id": "6013",
              "limit": 10
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "chart": {
              "description": "Default `top-free`.\n\nProvider reference: allowed values [\"top-free\", \"top-paid\", \"top-grossing\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "top-free",
                  "top-paid",
                  "top-grossing"
                ]
              }
            },
            "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"
              }
            },
            "genre_id": {
              "description": "App Store genre id: 6000-6027 (categories, e.g. 6013 Health & Fitness, 6014 Games), 7001-7019 (Games sub-genres). Omit for all apps. Pattern: ^[0-9]{4}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "limit": {
              "description": "Number of ranks (default 25).\n\nProvider reference: minimum 1; maximum 200.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 200,
                "min": 1
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi-public/zh/apple-app-store.json POST /apis/v1/apple-app-store/apps/top-charts
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:4cee2f0bebc27a147a907e8177be36443ecd32693891a56c3fe41179a92449fa
  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/top-charts:
    post:
      tags:
        - Apple App Store
      summary: Top charts
      description: 'Rankings: what is popular now in a category or overall on a storefront.'
      operationId: apple-app-store.apps.top-charts
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  chart: top-free
                  genre_id: '6013'
                  limit: 10
            schema:
              additionalProperties: true
              properties:
                chart:
                  description: >-
                    Default `top-free`.


                    Provider reference: allowed values ["top-free", "top-paid",
                    "top-grossing"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - top-free
                      - top-paid
                      - top-grossing
                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
                genre_id:
                  description: >-
                    App Store genre id: 6000-6027 (categories, e.g. 6013 Health
                    & Fitness, 6014 Games), 7001-7019 (Games sub-genres). Omit
                    for all apps. Pattern: ^[0-9]{4}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                limit:
                  description: |-
                    Number of ranks (default 25).

                    Provider reference: minimum 1; maximum 200.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 200
                    min: 1
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-22.
                  summary: Official provider example
                  value:
                    chart: top-free
                    count: 10
                    country: us
                    entries:
                      - app_id: '426826309'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/a1/06/88/a106886b-215a-d2c8-b7d1-615cb53674ff/AppIcon-Primary-0-0-1x_U007ephone-0-1-0-0-sRGB-85-220.png/100x100bb.png
                        bundle_id: com.strava.stravaride
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: Strava, Inc.
                          url: >-
                            https://apps.apple.com/us/developer/strava-inc/id426826312
                        name: 'Strava: Run, Bike, Walk'
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 1
                        release_date: '2011-03-23T23:41:32-07:00'
                        url: >-
                          https://apps.apple.com/us/app/strava-run-bike-walk/id426826309
                      - app_id: '399857015'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/6c/fe/bb/6cfebb58-a687-0883-a357-5bd99e245f79/LogoIcon-0-0-1x_U007ephone-0-1-0-sRGB-85-220.png/100x100bb.png
                        bundle_id: com.planetfitness.lunkinator
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: Planet Fitness Holdings, LLC
                          url: >-
                            https://apps.apple.com/us/developer/planet-fitness-holdings-llc/id1462794443
                        name: Planet Fitness
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 2
                        release_date: '2010-11-03T18:40:59-07:00'
                        url: >-
                          https://apps.apple.com/us/app/planet-fitness/id399857015
                      - app_id: '1038369065'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/4b/bc/82/4bbc8292-a1be-5241-c7df-d984b94553c1/AppIcon-0-0-1x_U007ephone-0-1-0-sRGB-85-220.png/100x100bb.png
                        bundle_id: org.iggymedia.periodtracker
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: FLO HEALTH UK LIMITED
                          url: >-
                            https://apps.apple.com/us/developer/flo-health-uk-limited/id1149787531
                        name: Flo Cycle & Period Tracker
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 3
                        release_date: '2015-10-03T15:28:36-07:00'
                        url: >-
                          https://apps.apple.com/us/app/flo-cycle-period-tracker/id1038369065
                      - app_id: '1502936453'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/41/52/d0/4152d040-f5c6-9146-124b-693b84953d91/AppIcon-0-0-1x_U007ephone-0-0-0-1-0-0-85-220.png/100x100bb.png
                        bundle_id: com.ladder.bootcamp
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: Ladder Technologies, Inc.
                          url: >-
                            https://apps.apple.com/us/developer/ladder-technologies-inc/id1208138697
                        name: LADDER Strength Training Plans
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 4
                        release_date: '2020-06-23T00:00:00-07:00'
                        url: >-
                          https://apps.apple.com/us/app/ladder-strength-training-plans/id1502936453
                      - app_id: '6759914925'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/26/a7/54/26a754ef-a583-c44a-6e59-73985672410a/AppIcon-0-1x_U007ephone-0-1-85-220-0.png/100x100bb.png
                        bundle_id: com.netpulse.eosfitnessapp
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: Fitness Alliance LLC
                          url: >-
                            https://apps.apple.com/us/developer/fitness-alliance-llc/id1564975388
                        name: New EōS Fitness
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 5
                        release_date: '2026-05-03T00:00:00-07:00'
                        url: >-
                          https://apps.apple.com/us/app/new-e%C5%8Ds-fitness/id6759914925
                      - app_id: '1092799236'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/86/69/02/8669027c-e2fa-d024-92ce-69d05859189c/AppIcon-0-0-1x_U007epad-0-1-0-sRGB-85-220.png/100x100bb.png
                        bundle_id: yuca.scanner
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: Yuca
                          url: >-
                            https://apps.apple.com/us/developer/yuca/id1460679283
                        name: Yuka - Food & Cosmetic Scanner
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 6
                        release_date: '2017-01-08T16:16:29-07:00'
                        url: >-
                          https://apps.apple.com/us/app/yuka-food-cosmetic-scanner/id1092799236
                      - app_id: '6480417616'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/10/ba/89/10ba893d-a39e-2475-eb06-990ed295c780/AppIcon-0-0-1x_U007ephone-0-1-85-220.png/100x100bb.png
                        bundle_id: com.viraldevelopment.CalAI
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: Viral Development LLC
                          url: >-
                            https://apps.apple.com/us/developer/viral-development-llc/id1738939499
                        name: Cal AI - Calorie Tracker
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 7
                        release_date: '2024-04-08T00:00:00-07:00'
                        url: >-
                          https://apps.apple.com/us/app/cal-ai-calorie-tracker/id6480417616
                      - app_id: '341232718'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/19/64/be/1964be77-d44f-29c3-7602-dcc246f0b7ec/AppIcon-0-0-1x_U007emarketing-0-8-0-85-220.png/100x100bb.png
                        bundle_id: com.myfitnesspal.mfp
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: MyFitnessPal, Inc.
                          url: >-
                            https://apps.apple.com/us/developer/myfitnesspal-inc/id341232721
                        name: 'MyFitnessPal: Calorie Counter'
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 8
                        release_date: '2009-12-07T18:04:45-07:00'
                        url: >-
                          https://apps.apple.com/us/app/myfitnesspal-calorie-counter/id341232718
                      - app_id: '1528595748'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/11/f9/c0/11f9c06d-d586-9f47-64ed-cb199d41b8e6/AppIcon-0-0-1x_U007emarketing-0-8-0-85-220.png/100x100bb.png
                        bundle_id: com.finch.finch
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: Finch Care Public Benefit Corporation
                          url: >-
                            https://apps.apple.com/us/developer/finch-care-public-benefit-corporation/id1528595750
                        name: 'Finch: Self-Care Pet'
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 9
                        release_date: '2021-05-12T00:00:00-07:00'
                        url: >-
                          https://apps.apple.com/us/app/finch-self-care-pet/id1528595748
                      - app_id: '6746144481'
                        artwork_url: >-
                          https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/d9/ad/b4/d9adb4e5-e5f4-c793-6272-351c45929c52/AppIcon-0-0-1x_U007ephone-0-1-0-85-220.png/100x100bb.png
                        bundle_id: com.myhealthymenu.app
                        category:
                          id: '6013'
                          name: Health & Fitness
                        developer:
                          name: Kosco Digital LLC
                          url: >-
                            https://apps.apple.com/us/developer/kosco-digital-llc/id1815427547
                        name: MenuFit - Healthy Eating Out
                        price:
                          amount: 0
                          currency: USD
                          label: Get
                        rank: 10
                        release_date: '2025-08-06T00:00:00-07:00'
                        url: >-
                          https://apps.apple.com/us/app/menufit-healthy-eating-out/id6746144481
                    genre_id: '6013'
                    limit: 10
                    observed_at_ms: 1790116902186
                    source_url: >-
                      https://itunes.apple.com/us/rss/topfreeapplications/limit=10/genre=6013/json
                    title: 'iTunes Store: Top Free Applications in Health & Fitness'
                    updated: '2026-09-22T15:41:42-07:00'
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Top free, top paid or top grossing iPhone apps on a storefront,
            optionally within one App Store genre, from Apple's RSS chart feeds
            (up to 200 ranks).


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `chart` | string |  |

            | `count` | number |  |

            | `country` | string |  |

            | `entries` | object[] |  |

            | `genre_id` | string |  |

            | `limit` | number |  |

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

            | `source_url` | string |  |

            | `title` | string | Feed title as the source states it. |

            | `updated` | string | Feed update timestamp. |



            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.