/v1/categories
All Grand Exchange categories
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/rs3-api/v1/categories" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rs3-api/v1/categories", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rs3-api/v1/categories");
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/rs3-api/v1/categories",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 44,
"categories": [
{
"id": 0,
"name": "Miscellaneous"
},
{
"id": 1,
"name": "Ammo"
},
{
"id": 2,
"name": "Arrows"
},
{
"id": 3,
"name": "Bolts"
},
{
"id": 4,
"name": "Construction materials"
},
{
"id": 5,
"name": "Construction projects"
},
{
"id": 6,
"name": "Cooking ingredients"
},
{
"id": 7,
"name": "Costumes"
},
{
"id": 8,
"name": "Crafting materials"
},
{
"id": 9,
"name": "Familiars"
},
{
"id": 10,
"name": "Farming produce"
},
{
"id": 11,
"name": "Fletching materials"
},
{
"id": 12,
"name": "Food and drink"
},
{
"id": 13,
"name": "Herblore materials"
},
{
"id": 14,
"name": "Hunting equipment"
},
{
"id": 15,
"name": "Hunting produce"
},
{
"id": 16,
"name": "Jewellery"
},
{
"id": 17,
"name": "Mage armour"
},
{
"id": 18,
"name": "Mage weapons"
},
{
"id": 19,
"name": "Melee armour - low level"
},
{
"id": 20,
"name": "Melee armour - mid level"
},
{
"id": 21,
"name": "Melee armour - high level"
},
{
"id": 22,
"name": "Melee weapons - low level"
},
{
"id": 23,
"name": "Melee weapons - mid level"
},
{
"id": 24,
"name": "Melee weapons - high level"
},
{
"id": 25,
"name": "Mining and smithing"
},
{
"id": 26,
"name": "Potions"
},
{
"id": 27,
"name": "Prayer armour"
},
{
"id": 28,
"name": "Prayer materials"
},
{
"id": 29,
"name": "Range armour"
},
{
…