poe.ninja API Document
1.0.0
你好!我编译了poe.ninja API以在项目中使用
Settlers
Standard
Hardcore
Necropolis
我准备的JS库
poe ninja api 中有两种数据类型。一个是currencyoverview
,另一个是itemoverview
。
货币概览 | 项目概览 |
---|---|
货币 | 油 |
分段 | 孵化器 |
圣甲虫 | |
化石 | |
谐振器 | |
本质 | |
占卜卡 | |
技能宝石 | |
基本类型 | |
头盔附魔 | |
独特的地图 | |
地图 | |
独特的宝石 | |
独特的烧瓶 | |
独特武器 | |
独特的盔甲 | |
独特的配件 | |
兽 | |
小瓶 | |
谵妄球 | |
预兆 | |
独特的遗物 | |
簇状宝石 | |
枯萎地图 | |
枯萎蹂躏的地图 | |
邀请函 | |
回忆 | |
棺材 | |
全焰余烬 |
类别 | 应用程序编程接口 |
---|---|
货币 | https://poe.ninja/api/data/currencyoverview?league=LEAGUE-NAME&type=Currency |
分段 | https://poe.ninja/api/data/currencyoverview?league=LEAGUE-NAME&type=Fragment |
油类 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Oil |
孵化器 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=孵化器 |
圣甲虫 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Scarab |
化石 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Fossil |
谐振器 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Resonator |
精华液 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Essence |
占卜卡 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=DivinationCard |
技能宝石 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=SkillGem |
基本类型 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=BaseType |
头盔附魔 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=HelmetEnchant |
独特的地图 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=UniqueMap |
地图 | https://poe.ninja/api/data/itemoverview?type=Map&league=LEAGUE-NAME |
独特的珠宝 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=UniqueJewel |
独特的烧瓶 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=UniqueFlask |
独特的武器 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=UniqueWeapon |
独特的盔甲 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=UniqueArmour |
独特的配件 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=UniqueAccessory |
野兽 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Beast |
小瓶 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Vial |
谵妄球 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=DeliriumOrb |
预兆 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Omen |
独特的文物 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=UniqueRelic |
簇状珠宝 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=ClusterJewel |
枯萎地图 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=BlightedMap |
枯萎蹂躏的地图 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=BlightRavgedMap |
邀请函 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=邀请 |
回忆 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Memory |
棺材 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Coffin |
全火余烬 | https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=AllflameEmber |
https://poe.ninja/api/data/currencyoverview?league=LEAGUE-NAME&type=Currency
LEAGUE-NAME
: 写入联赛名称chaosEquivalent
:混沌值pay_currency_id - get_currency_id
:货币 IDget_currency_id - pay_currency_id
:混沌 IDdetailsId
:唯一名称icon
:Png 照片 "lines" : [
{
"currencyTypeName" : " Mirror of Kalandra " ,
"pay" : {
"id" : 0 ,
"league_id" : 161 ,
"pay_currency_id" : 22 ,
"get_currency_id" : 1 ,
"sample_time_utc" : " 2023-03-25T20:33:07.1089319Z " ,
"count" : 59 ,
"value" : 0.0000070301 ,
"data_point_count" : 1 ,
"includes_secondary" : true ,
"listing_count" : 252
},
"receive" : {
"id" : 0 ,
"league_id" : 161 ,
"pay_currency_id" : 1 ,
"get_currency_id" : 22 ,
"sample_time_utc" : " 2023-03-25T20:33:07.1089319Z " ,
"count" : 33 ,
"value" : 146900 ,
"data_point_count" : 1 ,
"includes_secondary" : true ,
"listing_count" : 161
},
"paySparkLine" : {
"data" : [],
"totalChange" : 42.25
},
"receiveSparkLine" : {
"data" : [],
"totalChange" : -3.92
},
"chaosEquivalent" : 143915.04 ,
"lowConfidencePaySparkLine" : {
"data" : [],
"totalChange" : 42.25
},
"lowConfidenceReceiveSparkLine" : {
"data" : [],
"totalChange" : -3.92
},
"detailsId" : " mirror-of-kalandra " },
]
"currencyDetails" : [
{
"id" : 22 ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvQ3VycmVuY3kvQ3VycmVuY3lEdXBsaWNhdGUiLCJ3IjoxLCJoIjoxLCJzY2FsZSI6MX1d/7111e35254/CurrencyDuplicate.png " ,
"name" : " Mirror of Kalandra " ,
"tradeId" : " mirror "
},
]
https://poe.ninja/api/data/currencyoverview?league=LEAGUE-NAME&type=Fragment
LEAGUE-NAME
: 写入联赛名称chaosEquivalent
:混沌值pay_currency_id - get_currency_id
:片段 IDget_currency_id - pay_currency_id
:混沌 IDdetailsId
:唯一名称icon
:Png 照片 "lines" : [
{
"currencyTypeName" : " Voidborn Reliquary Key " ,
"pay" : {
"id" : 0 ,
"league_id" : 161 ,
"pay_currency_id" : 232 ,
"get_currency_id" : 1 ,
"sample_time_utc" : " 2023-03-27T16:53:05.2641346Z " ,
"count" : 2 ,
"value" : 0.0013066536 ,
"data_point_count" : 1 ,
"includes_secondary" : true ,
"listing_count" : 4
},
"receive" : {},
"paySparkLine" : {
"data" : [],
"totalChange" : -21.19
},
"receiveSparkLine" : {
"data" : [],
"totalChange" : -32.1
},
"chaosEquivalent" : 1100 ,
"lowConfidencePaySparkLine" : {
"data" : [],
"totalChange" : -28.83
},
"lowConfidenceReceiveSparkLine" : {
"data" : [],
"totalChange" : -32.1
},
"detailsId" : " voidborn-reliquary-key "
},
]
"currencyDetails" : [
{
"id" : 232 ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvTWFwcy9Db3NtaWNDb3JlU3VwcG9ydGVyVmF1bHRLZXkiLCJ3IjoxLCJoIjoxLCJzY2FsZSI6MX1d/16d2e6b54d/CosmicCoreSupporterVaultKey.png " ,
"name" : " Voidborn Reliquary Key " ,
"tradeId" : " voidborn-reliquary-key "
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Oil
LEAGUE-NAME
: 写入联赛名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 22607 ,
"name" : " Golden Oil " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvQ3VycmVuY3kvT2lscy9Hb2xkZW5PaWwiLCJ3IjoxLCJoIjoxLCJzY2FsZSI6MX1d/69094a06e9/GoldenOil.png " ,
"baseType" : " Golden Oil " ,
"stackSize" : 10 ,
"itemClass" : 5 ,
"sparkline" : {
"data" : [],
"totalChange" : -1.67
},
"lowConfidenceSparkline" : {
"data" : [],
"totalChange" : -1.67
},
"implicitModifiers" : [],
"explicitModifiers" : [],
"flavourText" : " " ,
"chaosValue" : 59 ,
"exaltedValue" : 2.42 ,
"divineValue" : 0.23 ,
"count" : 99 ,
"detailsId" : " golden-oil " ,
"listingCount" : 1997
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Incubator
LEAGUE-NAME
: 写入联赛名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 21676 ,
"name" : " Whispering Incubator " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvQ3VycmVuY3kvSW5jdWJhdGlvbi9JbmN1YmF0aW9uRXNzZW5jZSIsInciOjEsImgiOjEsInNjYWxlIjoxfV0/4a659194f8/IncubationEssence.png " ,
"stackSize" : 10 ,
"itemClass" : 5 ,
"sparkline" : {
"data" : [],
"totalChange" : 0
},
"lowConfidenceSparkline" : {
"data" : [],
"totalChange" : -4.6
},
"implicitModifiers" : [],
"explicitModifiers" : [
{
"text" : " Adds an incubated Essence item to an equippable item n Item drops after killing (2495-2685) monsters " ,
"optional" : false
}
],
"flavourText" : " " ,
"chaosValue" : 249.02 ,
"exaltedValue" : 10.7 ,
"divineValue" : 1 ,
"count" : 1 ,
"detailsId" : " whispering-incubator " ,
"listingCount" : 2
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Scarab
LEAGUE-NAME
: 写入联赛名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 42606 ,
"name" : " Winged Divination Scarab " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvQ3VycmVuY3kvU2NhcmFicy9UaWVyNFNjYXJhYkRpdmluYXRpb24iLCJ3IjoxLCJoIjoxLCJzY2FsZSI6MX1d/e6539f578d/Tier4ScarabDivination.png " ,
"stackSize" : 10 ,
"itemClass" : 0 ,
"sparkline" : {
"data" : [],
"totalChange" : -3.99
},
"lowConfidenceSparkline" : {
"data" : [],
"totalChange" : -3.99
},
"implicitModifiers" : [],
"explicitModifiers" : [
{
"text" : " 250% more Divination Cards found in Area " ,
"optional" : false
}
],
"flavourText" : " Hinekora has sent the world another herald, but this hatungo walks another path. n We are left blinded, and subject to the vagaries of Fate. " ,
"chaosValue" : 35.61 ,
"exaltedValue" : 1.5 ,
"divineValue" : 0.14 ,
"count" : 99 ,
"detailsId" : " winged-divination-scarab " ,
"listingCount" : 3248
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Fossil
LEAGUE-NAME
: 写入联赛名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 7666 ,
"name" : " Glyphic Fossil " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvQ3VycmVuY3kvRGVsdmUvR2x5cGhpY0Zvc3NpbCIsInciOjEsImgiOjEsInNjYWxlIjoxfV0/f5b3c6edf7/GlyphicFossil.png " ,
"stackSize" : 10 ,
"itemClass" : 5 ,
"sparkline" : {
"data" : [],
"totalChange" : -1.8
},
"lowConfidenceSparkline" : {
"data" : [],
"totalChange" : -1.8
},
"implicitModifiers" : [],
"explicitModifiers" : [
{
"text" : " Has a Corrupt Essence modifier " ,
"optional" : false
}
],
"flavourText" : " " ,
"chaosValue" : 98.2 ,
"exaltedValue" : 4.48 ,
"divineValue" : 0.4 ,
"count" : 99 ,
"detailsId" : " glyphic-fossil " ,
"listingCount" : 1678
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Resanator
LEAGUE-NAME
: 写入联赛名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 7662 ,
"name" : " Prime Chaotic Resonator " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvQ3VycmVuY3kvRGVsdmUvUmVyb2xsMngyQyIsInciOjIsImgiOjIsInNjYWxlIjoxfV0/584267701b/Reroll2x2C.png " ,
"stackSize" : 10 ,
"itemClass" : 5 ,
"sparkline" : {
"data" : [],
"totalChange" : 0
},
"lowConfidenceSparkline" : {
"data" : [],
"totalChange" : 0
},
"implicitModifiers" : [],
"explicitModifiers" : [],
"flavourText" : " " ,
"chaosValue" : 33 ,
"exaltedValue" : 1.51 ,
"divineValue" : 0.13 ,
"count" : 99 ,
"detailsId" : " prime-chaotic-resonator " ,
"listingCount" : 4426
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=Essence
LEAGUE-NAME
: 写入联赛名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 494 ,
"name" : " Essence of Horror " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvQ3VycmVuY3kvRXNzZW5jZS9Ib3Jyb3IxIiwidyI6MSwiaCI6MSwic2NhbGUiOjF9XQ/748d594bde/Horror1.png " ,
"mapTier" : 8 ,
"baseType" : " Essence of Horror " ,
"stackSize" : 9 ,
"itemClass" : 5 ,
"sparkline" : {},
"lowConfidenceSparkline" : {},
"implicitModifiers" : [],
"explicitModifiers" : [
{
"text" : " Upgrades a normal item to rare or reforges a rare item, guaranteeing one property " ,
"optional" : false
},
{
"text" : " " ,
"optional" : false
},
{
"text" : " Weapon: 16% chance to gain a Power, Frenzy or Endurance Charge on Kill " ,
"optional" : false
},
{
"text" : " Gloves: Socketed Gems have +3.5% Critical Strike Chance " ,
"optional" : false
},
{
"text" : " Boots: 5% reduced Elemental Damage Taken while stationary " ,
"optional" : false
},
{
"text" : " Body Armour: 15% of Physical Damage from Hits taken as Cold Damage " ,
"optional" : false
},
{
"text" : " Helmet: Socketed Gems deal 30% more Elemental Damage " ,
"optional" : false
},
{
"text" : " Shield: Chill Nearby Enemies when you Block " ,
"optional" : false
},
{
"text" : " Quiver: 8 to 12 Added Cold Damage per Frenzy Charge " ,
"optional" : false
},
{
"text" : " Amulet: (15-25)% chance to Crush on Hit " ,
"optional" : false
},
{
"text" : " Ring: 4 to 7 Added Cold Damage per Frenzy Charge " ,
"optional" : false
},
{
"text" : " Belt: Gain Alchemist's Genius when you use a Flask " ,
"optional" : false
}
],
"flavourText" : " " ,
"chaosValue" : 35 ,
"exaltedValue" : 1.56 ,
"divineValue" : 0.14 ,
"count" : 99 ,
"detailsId" : " essence-of-horror " ,
"listingCount" : 5237
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=DivinationCard
LEAGUE-NAME
: 写入联赛名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 636 ,
"name" : " House of Mirrors " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvRGl2aW5hdGlvbi9JbnZlbnRvcnlJY29uIiwidyI6MSwiaCI6MSwic2NhbGUiOjF9XQ/f34bf8cbb5/InventoryIcon.png " ,
"stackSize" : 9 ,
"artFilename" : " HouseOfMirrors " ,
"itemClass" : 6 ,
"sparkline" : {
"data" : [],
"totalChange" : -7.62
},
"lowConfidenceSparkline" : {
"data" : [],
"totalChange" : -7.62
},
"implicitModifiers" : [],
"explicitModifiers" : [
{
"text" : " {Mirror of Kalandra} " ,
"optional" : false
}
],
"flavourText" : " What do you see in the mirror? " ,
"chaosValue" : 18567 ,
"exaltedValue" : 822.64 ,
"divineValue" : 75 ,
"count" : 44 ,
"detailsId" : " house-of-mirrors " ,
"listingCount" : 119
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=SkillGem
LEAGUE-NAME
: 写入联赛名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 96363 ,
"name" : " Awakened Enlighten Support " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvR2Vtcy9TdXBwb3J0L1N1cHBvcnRQbHVzL0VubGlnaHRlbnBsdXMiLCJ3IjoxLCJoIjoxLCJzY2FsZSI6MX1d/7ec7d0544d/Enlightenplus.png " ,
"levelRequired" : 80 ,
"variant" : " 5/20c " ,
"itemClass" : 4 ,
"sparkline" :{ "data" :[], "totalChange" : -2.35 },
"lowConfidenceSparkline" :{
"data" :[],
"totalChange" : -2.35
},
"implicitModifiers" :[],
"explicitModifiers" :[
{
"text" : " This Gem gains (95-110)% increased Experience " ,
"optional" : false
}
],
"flavourText" : " " ,
"corrupted" : true ,
"gemLevel" : 5 ,
"gemQuality" : 20 ,
"chaosValue" : 104767.39 ,
"exaltedValue" : 4641.89 ,
"divineValue" : 423.20 ,
"count" : 5 ,
"detailsId" : " awakened-enlighten-support-5-20c " ,
"listingCount" : 11
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=BaseType
LEAGUE-NAME
: 写联盟名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 101178 ,
"name" : " Accumulator Wand " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvV2VhcG9ucy9PbmVIYW5kV2VhcG9ucy9XYW5kcy9IZWlzdFdhbmQiLCJ3IjoxLCJoIjozLCJzY2FsZSI6MX1d/4499b00066/HeistWand.png " ,
"levelRequired" : 86 ,
"baseType" : " Accumulator Wand " ,
"variant" : " Shaper/Elder " ,
"itemClass" : 2 ,
"sparkline" :{ "data" :[], "totalChange" : 0 },
"lowConfidenceSparkline" :{
"data" :[],
"totalChange" : 159134.70
},
"implicitModifiers" :[],
"explicitModifiers" :[],
"flavourText" : " " ,
"itemType" : " Wand " ,
"chaosValue" : 274791.32 ,
"exaltedValue" : 12175.07 ,
"divineValue" : 1110.00 ,
"count" : 1 ,
"detailsId" : " accumulator-wand-86-shaper-elder " ,
"listingCount" : 6
},
]
https://poe.ninja/api/data/itemoverview?league=LEAGUE-NAME&type=HelmetEnchant
LEAGUE-NAME
: 写联盟名称id
: 唯一的项目 IDname
: 商品名称icon
:Png 照片chaosValue
: 混沌价格exaltedValue
: 尊贵价格divineValue
:神圣价格detailsId
:唯一名称 "lines" : [
{
"id" : 6097 ,
"name" : " Tornado Shot fires an additional secondary Projectile " ,
"icon" : " https://web.poecdn.com/gen/image/WzI1LDE0LHsiZiI6IjJESXRlbXMvR2Vtcy9Ub3JuYWRvU2hvdCIsInciOjEsImgiOjEsInNjYWxlIjoxfV0/7299d3edf8/TornadoShot.png " ,
"variant" : " 0 " ,
"itemClass" : 0 ,
"sparkline" : {
"data" : [],
"totalChange" : 89.01
},
"lowConfidenceSparkline" : {
"data" : [],
"totalChange" : 89.01
},
"implicitModifiers" : [],
"explicitModifiers" : [],
"chaosValue" : 495.12 ,
"exaltedValue" : 21.94 ,
"divineValue" : 2 ,
"count" : 99 ,
"detailsId" : " tornado-shot-fires-an-additional-secondary-projectile-0 " ,
"tradeInfo" : [
{
"mod" :