GET /v1/dollar

A single dollar type

Live testen

Ein freier Call pro Sitzung — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/dolar-api

Code-Snippets

curl "https://api.oanor.com/dolar-api/v1/dollar" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dolar-api/v1/dollar", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dolar-api/v1/dollar");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/dolar-api/v1/dollar",
    headers={"x-oanor-key": "oanor_test_..."}
)