Connect calculated rates to your exchanger website

Updated November 8, 2026

Check that your exchanger platform can import a file by URL in XML, JSON, CSV or TXT format. Exrule publishes one file per panel, with XML as the default format. The operator needs to test their importer’s compatibility on one direction.

Identify the file your platform reads

Exrule calculates rates according to your rules. Your website or bot platform fetches the result and applies it to its own directions. The platform's incoming rates XML and the file it serves to a monitoring service have different jobs. An outgoing file setting does not prove that the platform can import external rates.

Ask your platform administrator for documentation specifically covering import by URL. Identify the module that reads the file and its installed version. If import requires development on your platform, agree that work before switching from manual rate management. Exrule works alongside the existing website; orders and customer accounts stay in your system.

Check the separate outgoing file for BestChange

Prepare the import requirements

Superadmin selects the format and field dictionary. Exrule provides full (from,to,in,out), compact (from,to,rate) and pair (pair_id,rate) dictionaries. The in value is always 1. Public URLs /courses.xml, /courses.json, /courses.csv or /courses.txt support ETag, Last-Modified and 304 responses. The server limits requests per IP. Each successful export replaces the file atomically.

  • Obtain a sample XML file accepted by the installed importer. Remove private addresses and credentials.
  • Record how the importer identifies the source and destination currencies. Check city mapping for directions that use a city.
  • Establish whether the rate means destination units per source unit or the inverse ratio.
  • Check numeric precision, the fetch schedule and what the importer does when a direction is missing from the file.
  • Assign responsibility for importer configuration on your platform and for confirming the result on the website.

Test one direction from file to website

Illustrative example: the XML expresses 1 unit of A for 2.5 units of B. At that ratio, 40 units of A correspond to 100 units of B before any separate platform conditions. If the importer expects the inverse rate, that value is 0.4 units of A per unit of B. A and B are placeholders.

Compare the file value with the value your platform stored after fetching it. Then check the exchange page. If the platform applies its own rounding or other conditions, record their effect. Identical rate text in the panel and on the website does not yet prove an identical order calculation.

Choose a controlled rate change to test an update. Record XML publication and the next import in the same time zone. Saving a rule and previewing a calculation in Exrule do not publish the file. Use the result of a completed export run for this test.

Agree what a missing direction means

Ask your platform developer what happens when XML is available but a required row is missing. The importer may have its own policy for keeping the previous value. Do not assume that removing a row automatically removes a direction from the website. Test that behaviour under agreed conditions.

Test the importer with an omitted pair. The guide below explains the grace period and exclusion of stale rates.

Understand the stale-data lifecycle

Common integration mistakes

Keep the agreed format sample and test result for the next administrator. Record the importer version, control pair and expected result. That record lets the team repeat the check after a platform update without reconstructing the original agreement from memory.

  • Giving the importer your platform's outgoing file address instead of the Exrule XML address.
  • Accepting the word XML in documentation as proof of compatibility without checking the direction of data flow.
  • Mapping an inverse direction as a direct one, or dropping the city during mapping.
  • Enabling import for every pair before testing a missing row and a second update of the control pair.

Repeat the check after importer updates

After an importer version change, repeat the control fetch with the agreed format. An earlier successful test confirms the previous version, not new mapping or precision rules.

Integration references

Give the integration team your XML requirements and control-pair results. If the file contains the correct rate but the website shows another value, continue investigating the import stage.

Exrule XML integration requirements

Let's talk about setup

Write to us by email or on Telegram and we'll answer your questions and help you choose a plan.

Telegram @exrule_support
Email support@exrule.com