API Documentation

We have released a new API version! Select v1 to see the old version.

Forex Currency Prices

Forex Currency Prices

Provides a list of forex price quotes for a given forex currency pair and timeframe.

Endpoint:
https://api-v2.intrinio.com/forex/prices/{pair}/{timeframe}
Available in Sandbox

Parameters

Name Description Example
pair
* required
The Forex Currency Pair code EURUSD
timeframe
* required
The time interval for the quotes
Options:
m1
m5
m15
m30
H1
H2
H3
H4
H6
H8
D1
W1
M1
show more show less
D1
timezone
Returns trading times in this timezone
Options:
Africa/Algiers
Africa/Cairo
Africa/Casablanca
Africa/Harare
Africa/Johannesburg
Africa/Monrovia
Africa/Nairobi
America/Argentina/Buenos_Aires
America/Bogota
America/Caracas
America/Chicago
America/Chihuahua
America/Denver
America/Godthab
America/Guatemala
America/Guyana
America/Halifax
America/Indiana/Indianapolis
America/Juneau
America/La_Paz
America/Lima
America/Lima
America/Los_Angeles
America/Mazatlan
America/Mexico_City
America/Mexico_City
America/Monterrey
America/Montevideo
America/New_York
America/Phoenix
America/Regina
America/Santiago
America/Sao_Paulo
America/St_Johns
America/Tijuana
Asia/Almaty
Asia/Baghdad
Asia/Baku
Asia/Bangkok
Asia/Bangkok
Asia/Chongqing
Asia/Colombo
Asia/Dhaka
Asia/Dhaka
Asia/Hong_Kong
Asia/Irkutsk
Asia/Jakarta
Asia/Jerusalem
Asia/Kabul
Asia/Kamchatka
Asia/Karachi
Asia/Karachi
Asia/Kathmandu
Asia/Kolkata
Asia/Kolkata
Asia/Kolkata
Asia/Kolkata
Asia/Krasnoyarsk
Asia/Kuala_Lumpur
Asia/Kuwait
Asia/Magadan
Asia/Muscat
Asia/Muscat
Asia/Novosibirsk
Asia/Rangoon
Asia/Riyadh
Asia/Seoul
Asia/Shanghai
Asia/Singapore
Asia/Srednekolymsk
Asia/Taipei
Asia/Tashkent
Asia/Tbilisi
Asia/Tehran
Asia/Tokyo
Asia/Tokyo
Asia/Tokyo
Asia/Ulaanbaatar
Asia/Urumqi
Asia/Vladivostok
Asia/Yakutsk
Asia/Yekaterinburg
Asia/Yerevan
Atlantic/Azores
Atlantic/Cape_Verde
Atlantic/South_Georgia
Australia/Adelaide
Australia/Brisbane
Australia/Darwin
Australia/Hobart
Australia/Melbourne
Australia/Melbourne
Australia/Perth
Australia/Sydney
Etc/UTC
UTC
Europe/Amsterdam
Europe/Athens
Europe/Belgrade
Europe/Berlin
Europe/Berlin
Europe/Bratislava
Europe/Brussels
Europe/Bucharest
Europe/Budapest
Europe/Copenhagen
Europe/Dublin
Europe/Helsinki
Europe/Istanbul
Europe/Kaliningrad
Europe/Kiev
Europe/Lisbon
Europe/Ljubljana
Europe/London
Europe/London
Europe/Madrid
Europe/Minsk
Europe/Moscow
Europe/Moscow
Europe/Paris
Europe/Prague
Europe/Riga
Europe/Rome
Europe/Samara
Europe/Sarajevo
Europe/Skopje
Europe/Sofia
Europe/Stockholm
Europe/Tallinn
Europe/Vienna
Europe/Vilnius
Europe/Volgograd
Europe/Warsaw
Europe/Zagreb
Pacific/Apia
Pacific/Auckland
Pacific/Auckland
Pacific/Chatham
Pacific/Fakaofo
Pacific/Fiji
Pacific/Guadalcanal
Pacific/Guam
Pacific/Honolulu
Pacific/Majuro
Pacific/Midway
Pacific/Midway
Pacific/Noumea
Pacific/Pago_Pago
Pacific/Port_Moresby
Pacific/Tongatapu
show more show less
UTC
start_date
Return Forex Prices on or after this date 2018-01-01
start_time
Return Forex Prices at or after this time (24-hour) 14:20:00
end_date
Return Forex Prices on or before this date 2019-01-01
end_time
Return Forex Prices at or before this time (24-hour) 21:01:21
page_size
The number of results to return 100
next_page
Gets the next page of data from a previous API call -
pair
* required
The Forex Currency Pair code
timeframe
* required
The time interval for the quotes
timezone
* required
Returns trading times in this timezone
start_date
* required
Return Forex Prices on or after this date
start_time
* required
Return Forex Prices at or after this time (24-hour)
end_date
* required
Return Forex Prices on or before this date
end_time
* required
Return Forex Prices at or before this time (24-hour)
page_size
* required
The number of results to return
next_page
* required
Gets the next page of data from a previous API call

Output Fields

Name Description Type Example
prices
array -
occurred_at
The timestamp of the beginning of the timeframe. The open prices would be at this time, while close prices would be at this time plus the timeframe. string
open_bid
Open bid number
high_bid
High bid number
low_bid
Low bid number
close_bid
Close bid number
open_ask
Open ask number
high_ask
High ask number
low_ask
Low ask number
close_ask
Close ask number
total_ticks
Total ticks integer
pair
The Forex currency pair for which prices were requested object -
code
The common code of the currency pair string
base_currency
The ISO 4217 currency code of the base currency string
quote_currency
The ISO 4217 currency code of the quote currency string
next_page The token required to request the next page of the data string -
prices
pair
The Forex currency pair for which prices were requested
next_page
The token required to request the next page of the data