Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

XE All Rates

Documentazione API
https://api.sandbase.ai/v1/api/xe/all-rates

Get all mid-market exchange rates relative to USD. Returns a timestamp and a rates object mapping every supported currency code to its USD-relative rate. The rate sheet refreshes every few minutes.

Prezzo
$0.06USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
0 obbligatori · 0 opzionali

Playground

Input
Nessuno schema di input disponibile
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

XE All Rates API

Get all mid-market exchange rates relative to USD. Returns a timestamp and a rates object mapping every supported currency code to its USD-relative rate. The rate sheet refreshes every few minutes.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "xe/all-rates"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription

Pricing

Flat $0.06 per call. Failed calls are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
XE All RatesQuesta API
XE
$0.06 per chiamataJSON
XE$0.03 per chiamataJSON
XE$0.03 per chiamataJSON
XE$0.03 per chiamataJSON
XE$0.03 per chiamataJSON
XE$0.03 per chiamataJSON

Domande

FAQ

Come uso l'API XE All Rates?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/xe/all-rates con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API XE All Rates?

$0.06 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API XE All Rates?

XE All Rates non accetta parametri di input; invia un body JSON vuoto.

Cosa restituisce l'API XE All Rates?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona).

Mi serve un account sviluppatore o una chiave API XE?

No. XE All Rates funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API XE.