GET
/
ping
import Fiatwebservices from 'fiatwebservices';

const client = new Fiatwebservices({
  apiKey: process.env['FWS_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const response = await client.ping();

  console.log(response.message);
}

main();
{
  "message": "pong"
}

Response

200 - application/json
A successful ping response.
message
string
required

A ping response.

Example:

"pong"