Skip to main content
GET
/
v1
/
macro
/
forex
/
real-time
Get Forex Real-Time Data
curl --request GET \
  --url https://data-tools.prd.arrays.org/api/v1/macro/forex/real-time \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "date": "2024-01-01",
      "price": 4756.5,
      "symbol": "^SPX"
    }
  ],
  "error": {
    "code": "RESOURCE_NOT_FOUND",
    "details": [
      {
        "field": "<string>",
        "got": "<string>",
        "reason": "<string>"
      }
    ],
    "docs_url": "<string>",
    "examples": [
      "<string>"
    ],
    "hint": "<string>",
    "message": "The requested resource was not found.",
    "suggestions": [
      "<string>"
    ]
  },
  "pagination": "<unknown>",
  "request_id": "<string>",
  "success": true
}

Authorizations

X-API-Key
string
header
required

API Key authentication. Example: "your-api-key-here"

Query Parameters

symbol
string
required

Forex symbol (e.g., EURUSD, GBPJPY)

Response

Successfully retrieved forex real-time data

data
object[]
error
object
pagination
any
request_id
string
success
boolean