F.A.Q. on the use API

  1. URL for api requests https://chexch.com/api
  2. Requests must be sent by POST
  3. To receive all e-currencies available for exchange, send a POST request with the following parameters:
    type currencies Data acquisition type "Currency"
    key key API key
    format json, xml Optional - the format of the receive data (XML or JSON). If not specified, the default is JSON.
    lang ru, en, ch Data acquisition language
  4. To get a list of currencies available when giving any currency, send a POST-request with the parameters:
    type available_currencies Type of receiving data "Available currencies"
    from PRUSD Currency you will give
    systems 1 Include a list of exchangers for each available currency. Enable-1, disabled by default.
    key key API key
    format json, xml Optional - the format of the receive data (XML or JSON). If not specified, the default is JSON.
    lang ru, en, ch Data acquisition language
  5. To get a list of currencies available when you receive any currency, send a POST request with the parameters:
    type available_currencies Type of receiving data "Available currencies"
    to OKRUB The currency you will receive
    systems 1 Include a list of exchangers for each available currency. Enable-1, disabled by default.
    key key API key
    format json, xml Optional - the format of the receive data (XML or JSON). If not specified, the default is JSON.
    lang ru, en, ch Data acquisition language
  6. To receive all directions when exchanging specific e-currencies (for example, PRUSD to OKRUB), send a POST request with the parameters:
    type rates Data acquisition type "Rates"
    from PRUSD Currency you will give
    to OKRUB Currency you will receive
    key key API key
    format json, xml Optional - the format of the receive data (XML or JSON). If not specified, the default is JSON.
    lang ru, en, ch Data acquisition language