amil baba kala jadu expert uk amil baba kala jadu removal uk amil baba in mal...
Api docs for egypt rates
1. API Documentation
Version:1.0.2
Last Update:20/06/2018
Table of Contents
API DOCUMENTATION.....................................................................................................................................1
INTRODUCTION...............................................................................................................................................2
API END POINTS DOCUMENTATION.................................................................................................................3
GET CURRENCY RATES IN ALL BANKS...............................................................................................................4
CURRENCY RATES KEYS EXPLANATION ............................................................................................................4
GET BEST RATE FOR THIS CURRENCY IN ALL BANKS.........................................................................................5
GET GOLD PRICE ..............................................................................................................................................6
GOLD RATES KEY EXPLANATION ......................................................................................................................6
GET YOUR BALANCE AND EXPIRY DATE ...........................................................................................................7
BALANCE KEY EXPLANATION ...........................................................................................................................7
NOTES..............................................................................................................................................................7
2. https://egyptrates.com API Documentation 2
Introduction
As one of the first websites to provide currency exchange API in Egyptian banks.
EgyptRates is collecting the currency exchange from all available online banks in Egypt
directly from their currency exchange page.
What makes us in EgyptRates Reliable is the periodically updates and following bank pages
structure change over time.
EgyptRates also provide API services for all websites and applications which requires
currency exchange updates periodically.
In this document we will provide the required documentation to use the API for easy
integration within your application.
3. https://egyptrates.com API Documentation 3
API End Points Documentation
Get List of Banks?token={TOKEN}s://egyptrates.com/api/v1/bankshttp
Rates for one currency in
all banks
*https://egyptrates.com/api/v1/prices/{CURR}?token={TOKEN}
Best price for currencyhttps://egyptrates.com/api/v1/prices/{CURR}/best?token={TOKEN}
Gold price={TOKEN}https://egyptrates.com/api/v1/gold?token
Get current balancehttps://egyptrates.com/api/v1/balance?token={TOKEN}
Variables
• { CURR} Cur r enc y c ode, i.e. f or Dollar us e USD
• { TOKEN} Your account token provided by us.
• You can add lang variable for any request to get results in (en = English, ar=
Arabic)
* You can filter by bank, just add bank_id variable to the request and pass the bank_id from
get list of banks request.
4. https://egyptrates.com API Documentation 4
Get Currency rates in all banks
You need to call this end point and change the variables with the proper values
https://egyptrates.com/api/v1/prices/{CURR}?token={TOKEN}
Response Example
"data":[
{
"id":28,
"name":" اﻟﻣﺻرفاﻟﻌرﺑﻰاﻟدوﻟﻰ ",
"logo":"https://egyptrates.com/img/banks/aib_logo.png",
"currency_code":"USD",
"last_update":"2018-03-26 03:40:07 PM",
"bank_update":"2018-03-21 01:20:04 PM",
"old_sell":"17.660",
"old_buy":"17.560",
"sell":"17.680",
"buy":"17.580",
"currency":" دوﻻراﻣرﯾﻛﻲ ",
"sell_bars":"17.680,17.660,17.680,17.660,17.680",
"buy_bars":"17.580,17.560,17.580,17.560,17.580"
}]
rates keys explanationCurrency
idBank id
nameBank name
logoBank logo LINK
Currency_codeCurrency code
Last_updateLast crawl at EgyptRates
Bank_updateLast update in the bank
Old_sellOld buy price
Old_buyOld sell price
sellCurrent sell price
buyCurrent buy price
currencyCurrency name
Sell_barsLast five changes in this currency sell rates
Buy_barsLast fice changes in this currency buy rates
5. https://egyptrates.com API Documentation 5
Get best rate for this currency in all Banks
You need to call this end point and change the variables with the proper values
https://egyptrates.com/api/v1/prices/{CURR}/best?token={TOKEN}
Response Example
{
"data":{
"best_buy":{
"id":4,
"name":" اﻟﺒﻨﻚاﻷھﻠﻲاﻟﻤﺼﺮي ",
"logo":"banks/ahli.png",
"currency_code":"USD",
"last_update":"2018-03-26 03:50:03 PM",
"bank_update":"2018-03-04 16:20:11",
"old_sell":"17.660",
"old_buy":"17.560",
"sell":"17.650",
"buy":"17.550",
"currency":" دوﻻراﻣﺮﯾﻜﻲ ",
"sell_bars":"17.650,17.660,17.670,17.680,17.690",
"buy_bars":"17.550,17.560,17.570,17.580,17.590"
},
"best_sell":{
"id":18,
"name":" ﻣﺼﺮفأﺑﻮﻇﺒﻰاﻹﺳﻼﻣﻰ ",
"logo":"banks/abudabi.jpg",
"currency_code":"USD",
"last_update":"2018-03-26 03:50:15 PM",
"bank_update":"2018-03-26 10:50:28",
"old_sell":"17.690",
"old_buy":"17.610",
"sell":"17.700",
"buy":"17.610",
"currency":" دوﻻراﻣﺮﯾﻜﻲ ",
"sell_bars":"17.700,17.690,17.690,17.680,17.680",
"buy_bars":"17.610,17.610,17.620,17.600,17.580"
}
}
}
6. https://egyptrates.com API Documentation 6
Get Gold Price
You need to call this end point and change the variables with the proper values
={TOKEN}https://egyptrates.com/api/v1/gold?token
"data":[
{
"id":1,
"type_ar":" ﻋﯿﺎر24 ",
"type":" ﻋﯿﺎر24 ",
"price":"762.78",
"old_price":"762.78",
"usd_price":"43.36",
"usd_old_price":"43.32",
"last_update":"2018-03-26 16:00:01"
},
{
"id":2,
"type_ar":" ﻋﯿﺎر22 ",
"type":" ﻋﯿﺎر22 ",
"price":"699.22",
"old_price":"699.22",
"usd_price":"39.75",
"usd_old_price":"39.71",
"last_update":"2018-03-26 16:00:01"
}]
Gold rates Key explanation
idId
Type_arType in Arabic
typeType in English *
pricePrice in Egyptian pound
Old_priceOld price in Egyptian pound
Usd_pricePrice in dollar
Usd_old_priceOld price in dollar
Last_updateLast update
*Currently this value in Arabic only, we will provide multi-lang in the next version.
7. https://egyptrates.com API Documentation 7
Get your balance and expiry date
You need to call this end point and change the variables with the proper values
https://egyptrates.com/api/v1/balance?token={TOKEN}
{
"data":{
"balance":15000,
"expiry":"2018-05-27"
}
}
Balance key explanation
balanceRemaining points in your account
expiryExpiry date*
* This is subject to which package you choose.
Notes
The API supports the JSON format as the default format for the response, also we support
XML-RSS format, which you can use it by adding format variable to your request as follows.
https://egyptrates.com/api/v1/balance?token={TOKEN}&format=xml
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title> أﺳﻌﺎراﻟﻌﻤﻼت EgyptRates</title>
<link>http://www.egyptrates.com</link>
<description> أﺳﻌﺎراﻟﻌﻤﻼتﻣﻦﻣﻮﻗﻊ EgyptRates</description>
<language>en-us</language>
<copyright>Copyright (C) 2018 egyptrates.com</copyright>
<item>
<balance>45</balance>
<expiry>2018-04-26</expiry>
</item>
</channel>
</rss>
You can contact us to get trial account from here
us-https://egyptrates.com/contact