Getting Started
Last OHLC Endpoint
GET http://charts.mnt07.com:8005/last_ohlc/?symbol=XAUUSD&resolution=1m&token=YOUR_API_KEY
Resolution Values
"1m", "5m", "15m", "30m", "60m", "240m", "1d", "1w", "1month", "3month", "6month", "1year"
Authentication
Query parameter: token=YOUR_API_KEY
Optional header: X-API-KEY: YOUR_API_KEY
Response
{ "symbol": "XAUUSD", "price": 3375.22, "timestamp": "2026-06-15T12:34:56Z" }
Example
curl "http://charts.mnt07.com:8005/last_ohlc/?symbol=XAUUSD&resolution=1m&token=YOUR_API_KEY"
Authentication
Use the API key generated in your dashboard as the token query parameter or X-API-KEY request header.
Rate Limits
Each plan includes a monthly request limit. Exceeding your limit may return a 429 response status.
Data Coverage
Realtime forex, cryptocurrency and commodity prices are available via a single endpoint.
Support
Need help? Visit the support section in your dashboard or contact sales for custom plans.
Code Sample
Quick examples showing how to call the data endpoint in several popular languages.
Replace YOUR_API_KEY, symbol, and resolution as needed.
cURL (command line)
curl "http://charts.mnt07.com:8005/last_ohlc/?symbol=XAUUSD&resolution=1m&token=YOUR_API_KEY"
JavaScript (fetch)
fetch('http://charts.mnt07.com:8005/last_ohlc/?symbol=XAUUSD&resolution=1m&token=YOUR_API_KEY')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
Node.js (axios)
const axios = require('axios');
axios.get('http://charts.mnt07.com:8005/last_ohlc/', {
params: { symbol: 'XAUUSD', resolution: '1m', token: 'YOUR_API_KEY' }
}).then(response => console.log(response.data))
.catch(error => console.error(error));
Python (requests)
import requests
response = requests.get(
'http://charts.mnt07.com:8005/last_ohlc/',
params={'symbol': 'XAUUSD', 'resolution': '1m', 'token': 'YOUR_API_KEY'}
)
print(response.json())
PHP (Guzzle)
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'http://charts.mnt07.com:8005/last_ohlc/', [
'query' => [
'symbol' => 'XAUUSD',
'resolution' => '1m',
'token' => 'YOUR_API_KEY',
],
]);
echo $response->getBody();
Go (net/http)
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
response, _ := http.Get("http://charts.mnt07.com:8005/last_ohlc/?symbol=XAUUSD&resolution=1m&token=YOUR_API_KEY")
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}