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

# Check country customs and trade statistics coverage

> Global Trade & Customs API (trade.coverage)

## 请求规范

* **方法与路径:** GET /apis/v1/trade/coverage
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/trade/coverage`
* **country:** query; 可选

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/trade.json)

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

```json theme={null}
{
  "operationId": "trade.coverage",
  "method": "GET",
  "path": "/apis/v1/trade/coverage",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "examples": {
        "default": {
          "value": "US"
        },
        "minimal": {
          "value": "US"
        }
      },
      "in": "query",
      "name": "country",
      "required": false,
      "schema": {
        "maxLength": 80,
        "minLength": 1,
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

公开参考价格：每次成功请求 \$0.001 USD。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/trade.json GET /apis/v1/trade/coverage
openapi: 3.1.0
info:
  description: ''
  title: Global Trade & Customs
  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:
    trade:
      description: ''
      title: Global Trade & Customs
      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: 04609443cc30a0604ea1e6aabafe6ce20e6610145902fdad90731566707b2b23
        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/trade/companies/lookup
    - /apis/v1/trade/companies/search
    - /apis/v1/trade/companies/{id}
    - /apis/v1/trade/companies/{id}/contacts
    - /apis/v1/trade/companies/{id}/partners
    - /apis/v1/trade/companies/{id}/shipments
    - /apis/v1/trade/coverage
    - /apis/v1/trade/hs-codes
    - /apis/v1/trade/leads/find
    - /apis/v1/trade/markets/brief
    - /apis/v1/trade/shipments/search
    - /apis/v1/trade/stats/query
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:2701c7a014a31cae225348fbb39fce0f5996d7cf9e0f2480b35662ee4f9b1b6a
    facts_hash: 04609443cc30a0604ea1e6aabafe6ce20e6610145902fdad90731566707b2b23
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: trade
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/trade/coverage:
    get:
      tags:
        - Global Trade & Customs
      summary: Check country customs and trade statistics coverage
      description: Global Trade & Customs API (trade.coverage)
      operationId: trade.coverage
      parameters:
        - examples:
            default:
              value: US
            minimal:
              value: US
          in: query
          name: country
          required: false
          schema:
            maxLength: 80
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    description: One entry for each country.
                    items:
                      additionalProperties: false
                      properties:
                        country:
                          description: ISO 3166-1 alpha-2 country code, such as `US`.
                          type: string
                        exports:
                          additionalProperties: false
                          description: Records of goods exported from the country.
                          properties:
                            earliest:
                              description: Date of the earliest record seen, `YYYY-MM-DD`.
                              type:
                                - string
                                - 'null'
                            latest:
                              description: Date of the latest record seen, `YYYY-MM-DD`.
                              type:
                                - string
                                - 'null'
                            note:
                              description: >-
                                Something to know about these records, such as a
                                gap or a late start.
                              type:
                                - string
                                - 'null'
                            records:
                              description: >-
                                Whether shipment records declared in this
                                country exist. Null when not known yet.
                              type:
                                - boolean
                                - 'null'
                            values:
                              description: >-
                                Whether those records carry declared values.
                                Null when not known yet.
                              type:
                                - boolean
                                - 'null'
                          required:
                            - records
                            - values
                            - earliest
                            - latest
                            - note
                          type: object
                        imports:
                          additionalProperties: false
                          description: Records of goods imported into the country.
                          properties:
                            earliest:
                              description: Date of the earliest record seen, `YYYY-MM-DD`.
                              type:
                                - string
                                - 'null'
                            latest:
                              description: Date of the latest record seen, `YYYY-MM-DD`.
                              type:
                                - string
                                - 'null'
                            note:
                              description: >-
                                Something to know about these records, such as a
                                gap or a late start.
                              type:
                                - string
                                - 'null'
                            records:
                              description: >-
                                Whether shipment records declared in this
                                country exist. Null when not known yet.
                              type:
                                - boolean
                                - 'null'
                            values:
                              description: >-
                                Whether those records carry declared values.
                                Null when not known yet.
                              type:
                                - boolean
                                - 'null'
                          required:
                            - records
                            - values
                            - earliest
                            - latest
                            - note
                          type: object
                        official:
                          additionalProperties: false
                          description: >-
                            Official statistics with the country as importer or
                            exporter.
                          properties:
                            available:
                              description: >-
                                Whether official trade statistics can be
                                queried.
                              type: boolean
                            latest_month:
                              description: >-
                                Latest month published, `YYYY-MM`, among the
                                statistics fetched so far. The last six months
                                of every country are fetched once a day, so it
                                is null when its office published nothing in
                                that time or has not answered yet.
                              type:
                                - string
                                - 'null'
                            mirror:
                              description: >-
                                True when the country publishes no recent
                                statistics of its own, and they are what its
                                partners report about their trade with it.
                              type: boolean
                          required:
                            - available
                            - latest_month
                          type: object
                      required:
                        - country
                        - imports
                        - exports
                        - official
                      type: object
                    type: array
                  notice:
                    description: >-
                      A plain sentence when there is something to know about
                      this result: why a part is missing, or what to try next.
                      Null otherwise.
                    type:
                      - string
                      - 'null'
                  query:
                    additionalProperties: {}
                    description: >-
                      The request as it was understood: country names as codes,
                      the default dates filled in.
                    propertyNames:
                      type: string
                    type: object
                required:
                  - data
                  - query
                  - notice
                type: object
          description: Normalized successful response
        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.