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

# Website Traffic Trend

> Website Traffic Trend — SimilarWeb



## OpenAPI

````yaml openapi/similarweb.json GET /similarweb/website-traffic-trend
openapi: 3.0.3
info:
  title: SimilarWeb API
  version: 1.0.0
  description: >-
    SimilarWeb digital-intelligence data routed through the AIsa gateway:
    website traffic & engagement, ranking, traffic sources, audience, website
    content, and keyword/search insights.


    **Billing model**: SimilarWeb uses a two-phase (pre-authorization ->
    settlement) credit-based model, not a fixed unit price. (1) Before the call,
    an upper bound is estimated from the request dimensions and pre-authorized
    (response header `X-AISA-Estimated-Credits`); (2) the upstream call is made;
    (3) actual consumption is settled (response headers
    `X-AISA-Accounted-Credits`, `X-AISA-Price-USD`).

    - Billing dimensions: metrics x countries x time buckets (time-series
    endpoints); number of returned rows (list endpoints, capped at 20 rows,
    excess auto-truncated).

    - Countries: each country multiplies the cost once; world/global is
    normalized to world.

    - Settlement rounds up to whole credits; charged only when HTTP 2xx and data
    is non-empty; 4xx/5xx or empty data is not charged.
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /similarweb/website-traffic-trend:
    get:
      summary: Website Traffic Trend
      description: >-
        Monthly traffic time series for a domain over the recent available
        window (data.points, one entry per month). The window is selected
        automatically and echoed in meta.start_date / meta.end_date.
      operationId: similarwebWebsiteTrafficTrend
      parameters:
        - name: domain
          in: query
          required: true
          description: Target domain, e.g. example.com.
          schema:
            type: string
        - name: country
          in: query
          required: false
          description: >-
            Two-letter country code. Allowed: us, ww. Default: ww. Coverage is
            limited to ww and us on the current plan.
          schema:
            type: string
            enum:
              - us
              - ww
            default: ww
      responses:
        '200':
          description: >-
            SimilarWeb traffic response (meta + data). data.points is an array
            of monthly data points.
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    type: object
                    properties:
                      country:
                        type: string
                      end_date:
                        type: string
                      granularity:
                        type: string
                      request_id:
                        type: string
                      retrieved_at:
                        type: string
                      source:
                        type: string
                      start_date:
                        type: string
                  data:
                    type: object
                    properties:
                      domain:
                        type: string
                      metrics:
                        type: array
                        items:
                          type: string
                      points:
                        type: array
                        items:
                          type: object
                          properties:
                            month:
                              type: string
                            values:
                              type: object
                              properties:
                                visits:
                                  type: number
              example:
                data:
                  domain: cnn.com
                  metrics:
                    - visits
                  points:
                    - month: 2026-02
                      values:
                        visits: 281819265.12642866
                    - month: 2026-03
                      values:
                        visits: 331983472.9258732
                    - month: 2026-04
                      values:
                        visits: 297093461.6820024
                    - month: 2026-05
                      values:
                        visits: 233813785.58586735
                    - month: 2026-06
                      values:
                        visits: 223877755.99760738
                    - month: 2026-07
                      values:
                        visits: 227227320.82816133
                meta:
                  country: ww
                  end_date: 2026-07
                  granularity: monthly
                  request_id: >-
                    imc_23295fabad90ffc413b20f39065b623cdd86946787ddbda5fe1270c7842ca2dc
                  retrieved_at: '2026-08-27T14:47:56.413728046Z'
                  source: similarweb
                  start_date: 2026-02
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: AISA API Key

````