💰 Forex Latest Quote API
Get the latest forex quote data, including bid price, ask price and other real-time quote information
🔗 API Information
| Item | Value |
|---|---|
| API Endpoint | https://api.dataapi.io/v1/fx/latest_quote |
| Request Method | GET |
| Data Format | JSON |
📋 Request Parameters
Required Parameters ✅
| Parameter | Type | Description | Example |
|---|---|---|---|
ticker | string | Forex pair symbol | GBP/USD, EUR/USD, AUD/USD |
token | string | API access token | your_api_token |
📊 Response Parameters
Response Structure
| Field | Type | Description |
|---|---|---|
code | number | Response status code |
status | string | Response status |
message | string | Response message |
data | object | Quote data object |
Data Fields
| Field | Type | Description | Example |
|---|---|---|---|
ticker | string | Forex pair symbol | GBP/USD |
time | string | Quote timestamp | 2025-07-27 10:35:52 |
ask | number | Ask price (sell price) | 1.34892 |
bid | number | Bid price (buy price) | 1.34886 |
📈 Response Example
Success Response
{
"code": 200,
"status": "success",
"message": "ok",
"data": {
"ticker": "GBP/USD",
"time": "2025-07-27 10:35:52",
"ask": 1.34892,
"bid": 1.34886
}
}🚀 Quick Start
Request Example
curl -X GET "https://api.dataapi.io/v1/fx/latest_quote?ticker=GBP/USD&token=your_token"