Aller au contenu
GET /v1/search

Resolve an item name to its FFXIV item id

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/ffxivmarket-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "FFXIV items matching a name — each with its item_id (use it with /v1/market and /v1/history). Not every item is marketable; if an item has no market data, /v1/market reports that. Pass q (required) and limit (1-40). Live item data, cached ~1h.",
        "count": 5,
        "items": [
            {
                "name": "Grade 8 Tincture of Mind",
                "item_id": 39731
            },
            {
                "name": "Grade 8 Tincture of Strength",
                "item_id": 39727
            },
            {
                "name": "Grade 8 Tincture of Vitality",
                "item_id": 39729
            },
            {
                "name": "Grade 8 Tincture of Dexterity",
                "item_id": 39728
            },
            {
                "name": "Grade 8 Tincture of Intelligence",
                "item_id": 39730
            }
        ],
        "query": "grade 8 tincture",
        "source": "XIVAPI item search (v2.xivapi.com), keyless"
    },
    "meta": {
        "timestamp": "2026-06-13T04:41:56.981Z",
        "request_id": "d03b0340-e904-4f94-b11b-a947941be6d6"
    },
    "status": "ok",
    "message": "Search results retrieved successfully",
    "success": true
}