Compute Batch Scan Costing

Check Balance

This endpoint returns a JSON object containing the balance of the API Key/Account.

https://api.rahnmonitor.co.za/computebatchscancosting?NewRecordsToScreen=100&ExistingRecordsToScreen=100

Path Parameters

ParameterTypeDescriptionRequired?Default
NewRecordsToScreenintNumber of records to screenYes
ExistingRecordsToScreenintNumber of records to screenYes

Request Samples

import axios from "axios";
 
const url = "https://api.rahnmonitor.co.za/computebatchscancosting?NewRecordsToScreen=100&ExistingRecordsToScreen=100?NewRecordsToScreen=100&ExistingRecordsToScreen=100";
const data = async () => {
    try {
        const { data } = await axios.get(url, 
            {
                headers: {
                    "Content-Type": "application/json",
                },
            }
        );
        return data;
    } catch (err) {
        throw new Error(err.message);
    }
};
 
console.log(data);

Sample Response Schema

MIME Type: application/json

  { 
      'cost': 1000.00
  }