# User API

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

### **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?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 %}

### Example API Response

```json
{
  "status": "200",
  "data": [
    {
      "offer_id": "111001",
      "affiliate_id": "11012",
      "user_id": "49h3S8",
      "email": "",
      "user_segment": "direct",
      "type": "",
      "address": {
        "city": "North Las Vegas",
        "state": "Las Vegas",
        "country": "US"
      },
      "status": "approved",
      "coupon": [],
      "product_id": "",
      "advertiser_id": "10011",
      "user_attribute": {
        "tid": "D-1111-1712919271-34G126G155G34-WKBNI",
        "adv_sub1": "",
        "adv_sub2": "",
        "adv_sub3": "",
        "adv_sub4": "",
        "adv_sub5": ""
      },
      "currency": "INR",
      "signup_datetime": "2024-04-12 10:54:31",
      "affiliate_payout": "0",
      "advertiser_price": "5",
      "sale": "",
      "payout": "",
      "advertiser_model": "CPR",
      "affiliate_model": "CPR"
    }
  ]
}
```
