> For the complete documentation index, see [llms.txt](https://knowledgebase.offer18.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.offer18.com/igaming/igaming-api/activity-api.md).

# Activity API

```
GET https://api.offer18.com/api/m/user_activity
```

### **Common Parameters**

<table data-header-hidden><thead><tr><th></th><th width="202"></th><th></th></tr></thead><tbody><tr><td><strong>Query</strong></td><td><strong>Type</strong></td><td><strong>Description</strong></td></tr><tr><td>mid</td><td>Integer</td><td>Network Account ID</td></tr><tr><td>api-key</td><td>String</td><td>Network API Key</td></tr><tr><td>secret-key</td><td>String</td><td>Network Secret Key</td></tr></tbody></table>

***

### Filters

| **Query**      | **Type** | **Description**       |
| -------------- | -------- | --------------------- |
| user\_id       | String   | Unique ID of the user |
| offer\_id      | Integer  | Offer ID              |
| affiliate\_id  | Integer  | Affiliate ID          |
| advertiser\_id | Integer  | Advertiser ID         |
| product\_id    | Integer  | Product ID            |
| tid            | String   | Unique click ID       |
| currency       | String   | Currency              |
| limit          | Integer  | Number of results     |
| date\_from     | String   | Start date            |
| date\_end      | String   | End Date              |

***

{% code overflow="wrap" %}

```
https://api.offer18.com/api/m/user_activity?mid=0000&secret-key=000000000000000&api-key=0000000000000000&user_id=49382349&offer_id=110001&affiliate_id=11011&advertiser_id=110022&product_id=11100&tid=D-110001-173749323-FG00XGFD-68GS0G&currency=USD&limit=100&date_from=01-03-2024&date_end=30-03-2024
```

{% endcode %}

***

#### Specify fields to view

<table data-header-hidden><thead><tr><th width="180"></th><th width="143"></th><th></th></tr></thead><tbody><tr><td><strong>Query</strong></td><td><strong>Type</strong></td><td><strong>Description</strong></td></tr><tr><td>fields</td><td>String</td><td>registration, deposit, deposit_amount, ftd, ftd_amount, rec_deposit, rec_deposit_amount, bet, bet_amount, win, win_amount, withdrawal, withdrawal_amount, bonus, bonus_amount, ggr, ngr, cr_registration, cr_deposit, cr_registration_deposit, user_id, product_id<br><br>For additional fields <span data-gb-custom-inline data-tag="emoji" data-code="1f517">🔗</span> <a href="/pages/ytQjT8cViRfxea7uvzlN#report-fields">View More</a></td></tr></tbody></table>

{% code overflow="wrap" %}

```
https://api.offer18.com/api/m/user_activity?mid=0000&secret-key=000000000000000&api-key=0000000000000000&fields=tid,offer_name,advertiser,affiliate,advertiser_model,affiliate_model,advertiser_price,clicks,conversion,registration,deposit,deposit_amount,bet,bet_amount,win,win_amount,withdrawal,withdrawal_amount,bonus,bonus_amount,ggr,ngr,coupon_id,cr_registration,cr_deposit,cr_registration_deposit,user_id,product_id,ftd,ftd_amount,rec_deposit,rec_deposit_amount
```

{% endcode %}

### Example API Response&#x20;

```json
{
  "status": 200,
  "records": 2,
  "timezone": "+5:30",
  "reports": [
    {
      "TID": "D-110001-173749323-FG00XGFD-68GS0G",
      "Clicks": 0,
      "Coupon": "",
      "User_ID": "a9dcb6",
      "Product_ID": "",
      "Registration_Total": 0,
      "CR_Registration": 0,
      "Deposit_Total": 3,
      "Deposit_Amount": 30,
      "FTD_Total": 1,
      "FTD_Amount": 10,
      "Re_Deposit_Total": 2,
      "Re_Deposit_Amount": 20,
      "CR_Deposit": 0,
      "CR_Registration_Deposit": 0,
      "Bet_Total": 3,
      "Bet_Amount": 27,
      "Win_Total": 3,
      "Win_Amount": 13.5,
      "Withdrawal_Total": 3,
      "Withdrawal_Amount": 10.5,
      "Bonus_Total": 3,
      "Bonus_Amount": 3.6,
      "GGR": 13.5,
      "NGR": 9.9
    }
  ]
}
```
