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

# Popular Pages

> Popular Pages — SimilarWeb

> [!NOTE]
>
> **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
> Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
> opens a browser, you click Allow once, and there is no key to paste. Your
> agent then reaches every endpoint through a few meta tools: `search`,
> `list_categories`, `get_details` and `batch_quote` are free, `batch_use` is
> billed per call. Setup per client is in
> [Connect via MCP](https://aisa.one/docs/agent-quickstart.md); the live tool list and what each call
> costs are on [aisa.one/mcp](https://aisa.one/mcp#connect).

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/similarweb/get_similarweb-website-popular-pages)

## Request contract

* **Method and path:** GET /apis/v1/similarweb/website/popular-pages
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/similarweb/website/popular-pages`
* **country:** query; optional
* **domain:** query; required
* **end\_date:** query; required
* **granularity:** query; optional
* **limit:** query; required
* **main\_domain\_only:** query; optional
* **offset:** query; optional
* **start\_date:** query; required
* **traffic\_source:** query; optional
* **web\_source:** query; optional

[Complete OpenAPI definition](https://aisa.one/docs/openapi/similarweb.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "get_similarweb_popular_pages",
  "method": "GET",
  "path": "/apis/v1/similarweb/website/popular-pages",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "examples": {
        "default": {
          "value": "ww"
        }
      },
      "in": "query",
      "name": "country",
      "required": false,
      "schema": {
        "default": "ww",
        "description": "Worldwide data only; values are case-insensitive.",
        "enum": [
          "ww"
        ],
        "type": "string"
      }
    },
    {
      "examples": {
        "default": {
          "value": "example.com"
        },
        "minimal": {
          "value": "example.com"
        }
      },
      "in": "query",
      "name": "domain",
      "required": true,
      "schema": {
        "maxLength": 253,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "examples": {
        "default": {
          "value": "2026-10"
        },
        "minimal": {
          "value": "2026-10"
        }
      },
      "in": "query",
      "name": "end_date",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "granularity",
      "required": false,
      "schema": {
        "enum": [
          "monthly"
        ],
        "type": "string"
      }
    },
    {
      "examples": {
        "default": {
          "value": 1
        },
        "minimal": {
          "value": 1
        }
      },
      "in": "query",
      "name": "limit",
      "required": true,
      "schema": {
        "maximum": 20,
        "minimum": 1,
        "type": "integer"
      }
    },
    {
      "in": "query",
      "name": "main_domain_only",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "in": "query",
      "name": "offset",
      "required": false,
      "schema": {
        "maximum": 100000,
        "minimum": 0,
        "type": "integer"
      }
    },
    {
      "examples": {
        "default": {
          "value": "2026-10"
        },
        "minimal": {
          "value": "2026-10"
        }
      },
      "in": "query",
      "name": "start_date",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "traffic_source",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "web_source",
      "required": false,
      "schema": {
        "enum": [
          "desktop",
          "mobile_web",
          "total"
        ],
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Charged for the actual billable results. Default request estimate: \$0.225 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

### Request constraints and usage notes

* country supports ww only; default ww. State-level filtering is not supported.


## OpenAPI

````yaml openapi/similarweb.json GET /apis/v1/similarweb/website/popular-pages
openapi: 3.1.0
info:
  description: ''
  title: SimilarWeb
  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:
    similarweb:
      description: ''
      title: SimilarWeb
      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: 82432d27d73a88ae91d051dcb75c63cade810c975f5d9a7299e5837a51f822ba
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
        seed_month: 2026-10
      x-aisa-plans:
        builder: 1
        display_plan: similarweb_payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/similarweb/keyword-analysis/keywords/overview
    - /apis/v1/similarweb/search/keyword-competitors
    - /apis/v1/similarweb/search/landing-pages
    - /apis/v1/similarweb/search/serp-players-aggregated
    - /apis/v1/similarweb/search/serp-players-timeseries
    - /apis/v1/similarweb/search/website-keywords
    - /apis/v1/similarweb/segment-analysis/segments/traffic-and-engagement
    - /apis/v1/similarweb/segment-analysis/segments/traffic-sources
    - /apis/v1/similarweb/website-analysis/websites/conversion-rates
    - /apis/v1/similarweb/website-analysis/websites/conversion-rates/aggregated
    - >-
      /apis/v1/similarweb/website-analysis/websites/traffic-by-demographics/aggregated
    - /apis/v1/similarweb/website-top-geographies
    - /apis/v1/similarweb/website-traffic-snapshot
    - /apis/v1/similarweb/website-traffic-trend
    - /apis/v1/similarweb/website/ad-networks
    - /apis/v1/similarweb/website/audience-interest
    - /apis/v1/similarweb/website/audience-overlap
    - /apis/v1/similarweb/website/deduplicated-audience
    - /apis/v1/similarweb/website/demographics
    - /apis/v1/similarweb/website/folders
    - /apis/v1/similarweb/website/marketing-channel-sources-legacy
    - /apis/v1/similarweb/website/popular-pages
    - /apis/v1/similarweb/website/ppc-spend
    - /apis/v1/similarweb/website/ranking
    - /apis/v1/similarweb/website/referrals
    - /apis/v1/similarweb/website/similar-sites
    - /apis/v1/similarweb/website/subdomains
    - /apis/v1/similarweb/website/technologies
    - /apis/v1/similarweb/website/top-sites-ranking
    - /apis/v1/similarweb/website/traffic-engagement
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:21db840935adbdc3acb62fe521d80ff6826bf2ca7096b08fc059c8f9a986f9a9
    facts_hash: 82432d27d73a88ae91d051dcb75c63cade810c975f5d9a7299e5837a51f822ba
    generator_version: '3'
    protocol_version: '1'
    response_pending:
      - method: GET
        operation_id: similarwebFolders
        path: /apis/v1/similarweb/website/folders
        reason: public success response has no authoritative payload declaration
        statuses:
          - '200'
    schema_version: '1'
    seed_month: 2026-10
  x-aisa-plans:
    builder: 1
    display_plan: similarweb_payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: similarweb
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/similarweb/website/popular-pages:
    get:
      tags:
        - default
      summary: Popular Pages
      operationId: get_similarweb_popular_pages
      parameters:
        - examples:
            default:
              value: ww
          in: query
          name: country
          required: false
          schema:
            default: ww
            description: Worldwide data only; values are case-insensitive.
            enum:
              - ww
            type: string
        - examples:
            default:
              value: example.com
            minimal:
              value: example.com
          in: query
          name: domain
          required: true
          schema:
            maxLength: 253
            minLength: 1
            type: string
        - examples:
            default:
              value: 2026-10
            minimal:
              value: 2026-10
          in: query
          name: end_date
          required: true
          schema:
            type: string
        - in: query
          name: granularity
          required: false
          schema:
            enum:
              - monthly
            type: string
        - examples:
            default:
              value: 1
            minimal:
              value: 1
          in: query
          name: limit
          required: true
          schema:
            maximum: 20
            minimum: 1
            type: integer
        - in: query
          name: main_domain_only
          required: false
          schema:
            type: boolean
        - in: query
          name: offset
          required: false
          schema:
            maximum: 100000
            minimum: 0
            type: integer
        - examples:
            default:
              value: 2026-10
            minimal:
              value: 2026-10
          in: query
          name: start_date
          required: true
          schema:
            type: string
        - in: query
          name: traffic_source
          required: false
          schema:
            type: string
        - in: query
          name: web_source
          required: false
          schema:
            enum:
              - desktop
              - mobile_web
              - total
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    items:
                      properties:
                        change:
                          type: number
                        page:
                          type: string
                        share:
                          type: number
                      type: object
                    type: array
                  meta:
                    $ref: '#/components/schemas/Response73D081Cabc11_SimilarWebMeta'
                type: object
          description: SimilarWeb v5 envelope (meta + data).
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
      x-codeSamples:
        - label: Reference example
          lang: text
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request GET \
              --url 'https://api.aisa.one/apis/v1/similarweb/website/popular-pages?country=ww&domain=example.com&end_date=2026-10&limit=1&start_date=2026-10' \
              --header 'Authorization: Bearer <token>'
components:
  schemas:
    Response73D081Cabc11_SimilarWebMeta:
      description: SimilarWeb v5 response envelope metadata.
      properties:
        last_updated:
          description: Date of the most recent data point available upstream (YYYY-MM-DD).
          example: '2026-06-30'
          type: string
        query:
          description: Pagination/sort echo when applicable (limit, offset, asc, sort).
          type: object
        request:
          description: >-
            Full echo of the normalized upstream request (parameters as
            received).
          type: object
        status:
          description: Upstream status; 'success' on a successful call.
          example: success
          type: string
      required:
        - status
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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