# Marketing Channel Sources

**API:** Data API

**Endpoint:** `GET /v1/beta/similarweb/website/marketing-channel-sources-legacy`

**Tags:** Website Analytics

Marketing Channel Sources. Response follows the SimilarWeb v5 envelope (meta + data). Date constraint: the start_date-end_date span must cover between 1 and 120 monthly buckets.

### Pricing reference

- Metering: Plan resource units.
- Reference request estimate: USD 0.525.
- Unit cost basis: USD 0.075.
- Resource unit: `similarweb_credit`.
- Reference customer multiplier: 1.0. Do not apply it again to a settled customer amount.
- Cost bases do not establish the final customer price, including when zero.

Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `country` | query | no | string, enum: "ww", default: "ww" |  |
| `domain` | query | yes | string |  |
| `end_date` | query | yes | string |  |
| `granularity` | query | no | string, enum: "monthly", default: "monthly" |  |
| `main_domain_only` | query | no | boolean, default: true |  |
| `start_date` | query | yes | string |  |
| `web_source` | query | no | string, enum: "desktop", "mobile_web", "total" |  |

## Responses

### 200 — SimilarWeb v5 envelope (meta + data).

Headers:
- `X-Request-Id` (string) — Request identifier to include when contacting Felo support.

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "meta": {
      "$ref": "#/components/schemas/Response80775Eb82C8B_SimilarWebMeta"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "source_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "visits": {
            "type": [
              "number",
              "null"
            ],
            "format": "double",
            "description": "Estimated number of visits to the website"
          },
          "bounce_rate": {
            "type": [
              "string",
              "null"
            ]
          },
          "average_visit_duration": {
            "type": [
              "string",
              "null"
            ]
          },
          "pages_per_visit": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  }
}
```

### 400 — The request could not be processed. Check the request parameters.

### 401 — A valid Felo API key is required.

### 402 — The request cannot proceed because a billing requirement is not met.

### 403 — The account is not permitted to perform this operation.

### 429 — A request or spending limit has been reached.

### 502 — The service could not complete the request.

### 503 — The API or billing service is temporarily unavailable.

### 504 — The service timed out while processing the request.

### default — Error response; upstream passthrough responses may use provider formats

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response80775Eb82C8B_SimilarWebMeta

`#/components/schemas/Response80775Eb82C8B_SimilarWebMeta`

```json
{
  "type": "object",
  "description": "SimilarWeb v5 response envelope metadata.",
  "properties": {
    "status": {
      "type": "string",
      "description": "Upstream status; 'success' on a successful call.",
      "example": "success"
    },
    "last_updated": {
      "type": "string",
      "description": "Date of the most recent data point available upstream (YYYY-MM-DD).",
      "example": "2026-06-30"
    },
    "request": {
      "type": "object",
      "description": "Full echo of the normalized upstream request (parameters as received)."
    },
    "query": {
      "type": "object",
      "description": "Pagination/sort echo when applicable (limit, offset, asc, sort)."
    }
  },
  "required": [
    "status"
  ]
}
```
