Affiliate integration

Monitor integration

How to get a referral link

Sign in and open Profile → Affiliate program: your affiliate link is there.

The exchanger accepts GET parameters cur_from and cur_to — short codes of the currencies the user chose on the monitor. The site opens that direction straight away.

Example link with parameters:

https://111obmen.com/ref/XXXXXX/?cur_from=PMUSD&cur_to=BTC

Rate export

FormatURL
XMLhttps://111obmen.com/service/export/xml/:code
JSONhttps://111obmen.com/service/export/json/:code
TXThttps://111obmen.com/service/export/txt/:code

API for partners

How to get an API key

Sign in, open Profile → API and press “Create API access”. Copy the KEY from the block that appears.

Request URL

https://111obmen.com/service/partner/api.php

GET parameters:

  • api_action — pp;
  • api_key — your personal key;
  • method — API method.

Request example:

https://111obmen.com/service/partner/api.php?api_action=pp&api_key={api_key}&method={method}

get_info — account and payment method information

Parameters:

No other parameters are accepted.

Result:

{
  status: "success",
  error: 0,
  error_text: "",
  data: {
    balance: 15,
    totalReceived: 0,
    link: "test",
    min_payout: 99999999,
    items: { }
  }
}

get_exchanges — your affiliate exchanges

Parameters:

First nameTypeRequiredDescription
start_timeIntegerNotime to return data from (unix)
end_timeIntegerNotime to return data until (unix)

Result:

{
  status: "success",
  error: 0,
  error_text: "",
  data: {
    items: {
      1895: {
        id: 1895,
        time: 1590356264,
        date: "2020-05-24 21:37:44",
        course_give: 0,
        course_get: 241.57,
        amount_give: 0,
        amount_get: 241.57,
        exchange_success: 1,
        accrued: 1,
        partner_reward: 0,
        user_hash: "1r7"
      }
    }
  }
}

get_links — affiliate clicks

Parameters:

First nameTypeRequiredDescription
start_timeIntegerNotime to return data from (unix)
end_timeIntegerNotime to return data until (unix)

Result:

{
  status: "success",
  error: 0,
  error_text: "",
  data: {
    items: {
      1631577600: {
        id: 1631577600,
        time: 1631577600,
        date: "2021-09-14 00:00:00",
        browser: "Unknown",
        ip: "0.0.0.0",
        referrer: "",
        user_hash: "613fe600",
        query_string: ""
      }
    }
  }
}