Forex
GET/api/v1/forex
Fetch the latest forex rate.
Request
Query Parameters
symbol string
Specifies symbol
Example: USD-KRW
Header Parameters
X-DTMX-APIKEY stringrequired
Your DataMaxi+ API key
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
d integer
specifies the unix timestamp of the forex rate
Example:
1722913391794
r number
specifies the forex rate
Example:
1372.31
s string
specifies the name of the forex symbol
Example:
USD-KRW
{
"d": 1722913391794,
"r": 1372.31,
"s": "USD-KRW"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Loading...