# ওয়েবসাইট ট্রাফিক প্রবণতা

**API:** Data API

**Endpoint:** `GET /v1/beta/similarweb/website-traffic-trend`

**Tags:** Website Analytics

সাম্প্রতিক উপলব্ধ উইন্ডোতে ডোমেইনের মাসিক traffic time series (data.points, প্রতি মাসে একটি এন্ট্রি)। উইন্ডো স্বয়ংক্রিয়ভাবে বেছে নেওয়া হয় এবং meta.start_date / meta.end_date-এ প্রতিফলিত হয়।

### মূল্য রেফারেন্স

- মিটারিং: প্ল্যান রিসোর্স ইউনিট
- রেফারেন্স রিকোয়েস্ট অনুমান: USD 0.45
- ইউনিট খরচের ভিত্তি: USD 0.075
- রিসোর্স ইউনিট: `similarweb_credit`
- রেফারেন্স গ্রাহক গুণক: 1.0। নিষ্পত্তিকৃত গ্রাহক অঙ্কে এটি আবার প্রয়োগ করবেন না।
- খরচের ভিত্তি চূড়ান্ত গ্রাহক মূল্য নির্ধারণ করে না, শূন্য হলেও

এটি কেবল রেফারেন্স মেটাডেটা; অ্যাকাউন্টের কোটেশন, নিশ্চিত মূল্য বা ব্যয়সীমা নয়। রিসোর্স ক্রেডিট Felo ক্রেডিট নয়। চূড়ান্ত চার্জ Felo-এর বিলিং রেকর্ড অনুযায়ী হয়।

## 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 | no | string |  |
| `metrics` | query | no | string, default: "visits" |  |
| `start_date` | query | no | string |  |

## Responses

### 200 — স্বাভাবিকীকৃত সফল রেসপন্স

Headers:
- `X-Request-Id` (string) — Felo সাপোর্টে যোগাযোগের সময় অন্তর্ভুক্ত করার জন্য রিকোয়েস্ট আইডেন্টিফায়ার।

**application/json**

Schema: object

```json
{
  "additionalProperties": false,
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "domain": {
          "type": "string"
        },
        "metrics": {
          "items": {
            "enum": [
              "average_visit_duration",
              "bounce_rate",
              "new_users",
              "page_views",
              "pages_per_visit",
              "returning_users",
              "unique_visitors",
              "visits"
            ],
            "type": "string"
          },
          "maxItems": 4,
          "minItems": 1,
          "type": "array",
          "uniqueItems": true
        },
        "points": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "month": {
                "pattern": "^[0-9]{4}-[0-9]{2}$",
                "type": "string"
              },
              "values": {
                "additionalProperties": false,
                "properties": {
                  "average_visit_duration": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "bounce_rate": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "new_users": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "page_views": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "pages_per_visit": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "returning_users": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "unique_visitors": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "visits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": "object"
              }
            },
            "required": [
              "month",
              "values"
            ],
            "type": "object"
          },
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "domain",
        "metrics",
        "points"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "country": {
          "enum": [
            "ww"
          ],
          "type": "string"
        },
        "end_date": {
          "pattern": "^[0-9]{4}-[0-9]{2}$",
          "type": "string"
        },
        "granularity": {
          "const": "monthly",
          "type": "string"
        },
        "request_id": {
          "type": "string"
        },
        "retrieved_at": {
          "format": "date-time",
          "type": "string"
        },
        "source": {
          "const": "similarweb",
          "type": "string"
        },
        "start_date": {
          "pattern": "^[0-9]{4}-[0-9]{2}$",
          "type": "string"
        }
      },
      "required": [
        "source",
        "request_id",
        "retrieved_at",
        "country",
        "granularity",
        "start_date",
        "end_date"
      ],
      "type": "object"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### 400 — রিকোয়েস্ট প্রক্রিয়া করা যায়নি। রিকোয়েস্ট প্যারামিটার যাচাই করুন।

### 401 — একটি বৈধ Felo API key আবশ্যক।

### 402 — বিলিং শর্ত পূরণ না হওয়ায় রিকোয়েস্ট এগোতে পারছে না।

### 403 — অ্যাকাউন্টটিকে এই অপারেশন করার অনুমতি নেই।

### 429 — রিকোয়েস্ট বা ব্যয়ের সীমায় পৌঁছে গেছে।

### 502 — পরিষেবা রিকোয়েস্টটি সম্পন্ন করতে পারেনি।

### 503 — API বা বিলিং পরিষেবা সাময়িকভাবে অনুপলভ্য।

### 504 — রিকোয়েস্ট প্রক্রিয়াকরণের সময় পরিষেবার সময় শেষ হয়ে গেছে।

### default — ত্রুটি রেসপন্স; আপস্ট্রিম passthrough রেসপন্স প্রোভাইডারের ফর্ম্যাট ব্যবহার করতে পারে।

**application/json**

Schema:

```json
{}
```
