EGYPT FX

FREE
By amrfarid140
Updated 4 months ago
Commerce
2.1/10
Popularity Score
4639ms
Latency
-
Success Rate

EGYPT FX API Documentation

A RESTful API to get latest foreign exchange prices in major Egyptian Banks.

View API Details
GETGet FX Rates for a bank
GETGet currency rates in a specific bank
GETGet FX Rates for a bank

Use this Endpoint to get list of currencies and rates for a certain bank

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
bank_codeSTRING
REQUIREDBank Codes abbreviations of the bank name for a full list go to : https://gist.github.com/amrfarid140/bd65a40f101cda713716930135b82304
Code Snippet
unirest.get("https://amrfarid140-egypt-fx-v1.p.rapidapi.com/banks/{bank_code}")
.header("X-RapidAPI-Host", "amrfarid140-egypt-fx-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://amrfarid140-egypt-fx-v1.p.rapidapi.com/banks/{bank_code}
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://amrfarid140-egypt-fx-v1.p.rapidapi.com/banks/{bank_code}")
.header("X-RapidAPI-Host", "amrfarid140-egypt-fx-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication