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

> Website Traffic Snapshot — SimilarWeb



## OpenAPI

````yaml openapi/similarweb.json GET /similarweb/website-traffic-snapshot
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-snapshot:
    get:
      summary: Website Traffic Snapshot
      description: >-
        Latest-month traffic snapshot for a domain: visits plus core engagement
        metrics (average visit duration, bounce rate, pages per visit) in a
        single object. The most recent available month is selected automatically
        and echoed in meta.start_date / meta.end_date.
      operationId: similarwebWebsiteTrafficSnapshot
      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 is a single object
            for the latest available month.
          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: object
                        properties:
                          average_visit_duration:
                            type: number
                          bounce_rate:
                            type: number
                          pages_per_visit:
                            type: number
                          visits:
                            type: number
                      month:
                        type: string
              example:
                data:
                  domain: cnn.com
                  metrics:
                    average_visit_duration: 186.18602691805518
                    bounce_rate: 0.6533879990143767
                    pages_per_visit: 1.9618751425218268
                    visits: 227227320.82816133
                  month: 2026-07
                meta:
                  country: ww
                  end_date: 2026-07
                  granularity: monthly
                  request_id: >-
                    imc_03ff6814856076c42c01a8ea4fd5d2a2d8b0629843037bdb907f883203c4ce5f
                  retrieved_at: '2026-08-27T14:47:55.963779366Z'
                  source: similarweb
                  start_date: 2026-07
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: AISA API Key

````