SDKs & Libraries
Official client libraries to accelerate your integration. All SDKs handle authentication, rate limiting, retries, and error handling automatically.
Coming Soon: Official SDKs are under active development.
In the meantime, the REST API works perfectly with any HTTP client in any language.
See examples below.
PY
Python
Coming Soon Python
# Coming soon: pip install tickatlas
# For now, use requests:
import requests
class TickAtlas:
def __init__(self, api_key):
self.base_url = "https://tickatlas.com/v1"
self.headers = {"X-API-Key": api_key}
def indicator(self, symbol, indicator, timeframe):
r = requests.get(f"{self.base_url}/indicator",
headers=self.headers,
params={"symbol": symbol, "indicator": indicator, "timeframe": timeframe})
r.raise_for_status()
return r.json()
api = TickAtlas("YOUR_API_KEY")
rsi = api.indicator("EURUSD", "RSI_14", "H1")
print(f"RSI: {rsi['value']}") JS
JavaScript / Node.js
Coming Soon JavaScript
// Coming soon: npm install tickatlas
// For now, use fetch:
class TickAtlas {
constructor(apiKey) {
this.baseUrl = "https://tickatlas.com/v1";
this.headers = { "X-API-Key": apiKey };
}
async indicator(symbol, indicator, timeframe) {
const params = new URLSearchParams({ symbol, indicator, timeframe });
const res = await fetch(`${this.baseUrl}/indicator?${params}`, {
headers: this.headers,
});
if (!res.ok) throw new Error(`API error: ${res.status}`);
return res.json();
}
}
const api = new TickAtlas("YOUR_API_KEY");
const rsi = await api.indicator("EURUSD", "RSI_14", "H1");
console.log(`RSI: ${rsi.value}`); PHP
PHP
Coming Soon PHP
// Coming soon: composer require tickatlas/php-sdk
// For now, use cURL:
function tickatlas_indicator($symbol, $indicator, $timeframe) {
$url = "https://tickatlas.com/v1/indicator?" . http_build_query([
"symbol" => $symbol,
"indicator" => $indicator,
"timeframe" => $timeframe
]);
$ctx = stream_context_create(["http" => [
"header" => "X-API-Key: YOUR_API_KEY"
]]);
return json_decode(file_get_contents($url, false, $ctx), true);
}
$rsi = tickatlas_indicator("EURUSD", "RSI_14", "H1");
echo "RSI: " . $rsi["value"]; Postman Collection
Import our Postman collection to test all endpoints interactively:
Download Postman Collection