Ir al contenido
GET /v1/price

Trading Post buy/sell

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/gw2-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/gw2-api/v1/price" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gw2-api/v1/price", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gw2-api/v1/price");
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/gw2-api/v1/price",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "price": {
            "id": 19721,
            "buy": {
                "price": {
                    "gold": 0,
                    "copper": 2113,
                    "silver": 21,
                    "formatted": "0g 21s 13c",
                    "copper_rem": 13
                },
                "quantity": 729496,
                "unit_price": 2113
            },
            "sell": {
                "price": {
                    "gold": 0,
                    "copper": 2149,
                    "silver": 21,
                    "formatted": "0g 21s 49c",
                    "copper_rem": 49
                },
                "quantity": 1716977,
                "unit_price": 2149
            },
            "tradable": true,
            "margin_copper": -287
        }
    },
    "meta": {
        "timestamp": "2026-06-01T00:03:42.401Z",
        "request_id": "2d8db5e5-14e3-401f-840b-eba178616737"
    },
    "status": "ok",
    "message": "Price retrieved",
    "success": true
}