{
  "openapi": "3.0.1",
  "info": {
    "title": "Path of Exile Prices, Currency & Items - poe.ninja",
    "description": "Path of Exile and Path of Exile 2 prices from poe.ninja: currency, scarabs, fragments, divination cards, uniques, gems, maps and more, in chaos, divine and exalted orbs, with volume and 7-day change. Any league. No proxy. Export to Excel, CSV or API.",
    "version": "0.1",
    "x-build-id": "o0257jJgrbIpdkVs7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pshivam~path-of-exile-prices-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pshivam-path-of-exile-prices-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/pshivam~path-of-exile-prices-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pshivam-path-of-exile-prices-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/pshivam~path-of-exile-prices-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pshivam-path-of-exile-prices-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "games": {
            "title": "Games",
            "type": "array",
            "description": "poe1 is Path of Exile, poe2 is Path of Exile 2. Leave empty for Path of Exile.",
            "items": {
              "type": "string",
              "enum": [
                "poe1",
                "poe2"
              ],
              "enumTitles": [
                "Path of Exile",
                "Path of Exile 2"
              ]
            }
          },
          "leagues": {
            "title": "Leagues",
            "type": "array",
            "description": "League names such as Standard or Hardcore, or the word all for every league poe.ninja tracks. Leave empty for the current challenge league of each game.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "What to price: currency, fragments, scarabs, divination cards, unique items, skill gems, maps, base types and more. Currency-like categories come with volume and best trading pair. Leave empty for Currency, or choose all (about 45 requests per league).",
            "items": {
              "type": "string",
              "enum": [
                "Currency",
                "Fragment",
                "Runegraft",
                "AllflameEmber",
                "Tattoo",
                "Omen",
                "DjinnCoin",
                "Ducat",
                "EnshroudingCrystal",
                "DivinationCard",
                "Artifact",
                "Oil",
                "DeliriumOrb",
                "Scarab",
                "Astrolabe",
                "Fossil",
                "Resonator",
                "Essence",
                "Wombgift",
                "Corpse",
                "Incubator",
                "UniqueWeapon",
                "UniqueArmour",
                "UniqueAccessory",
                "UniqueFlask",
                "UniqueJewel",
                "ForbiddenJewel",
                "ShrineBelt",
                "UniqueTincture",
                "UniqueRelic",
                "SkillGem",
                "ImbuedGem",
                "ClusterJewel",
                "Map",
                "BlightedMap",
                "BlightRavagedMap",
                "UniqueMap",
                "ValdoMap",
                "Invitation",
                "Memory",
                "IncursionTemple",
                "ScryingOrb",
                "BaseType",
                "Flask",
                "Beast",
                "Vial",
                "Fragments",
                "Abyss",
                "UncutGems",
                "LineageSupportGems",
                "Essences",
                "SoulCores",
                "Idols",
                "Runes",
                "Ritual",
                "Expedition",
                "Delirium",
                "Breach",
                "Verisium",
                "UniqueWeapons",
                "UniqueArmours",
                "UniqueAccessories",
                "UniqueFlasks",
                "UniqueCharms",
                "UniqueJewels",
                "UniqueSanctumRelics",
                "UniqueTablets",
                "PrecursorTablets"
              ],
              "enumTitles": [
                "Currency (PoE and PoE 2)",
                "Fragments (PoE)",
                "Runegrafts (PoE)",
                "Allflame Embers (PoE)",
                "Tattoos (PoE)",
                "Omens (PoE)",
                "Djinn Coins (PoE)",
                "Ducats (PoE)",
                "Enshrouding Crystals (PoE)",
                "Divination Cards (PoE)",
                "Artifacts (PoE)",
                "Oils (PoE)",
                "Delirium Orbs (PoE)",
                "Scarabs (PoE)",
                "Astrolabes (PoE)",
                "Fossils (PoE)",
                "Resonators (PoE)",
                "Essences (PoE)",
                "Wombgifts (PoE)",
                "Corpses (PoE)",
                "Incubators (PoE)",
                "Unique Weapons (PoE)",
                "Unique Armours (PoE)",
                "Unique Accessories (PoE)",
                "Unique Flasks (PoE)",
                "Unique Jewels (PoE)",
                "Forbidden Jewels (PoE)",
                "Shrine Belts (PoE)",
                "Unique Tinctures (PoE)",
                "Unique Relics (PoE)",
                "Skill Gems (PoE)",
                "Imbued Gems (PoE)",
                "Cluster Jewels (PoE)",
                "Maps (PoE)",
                "Blighted Maps (PoE)",
                "Blight-ravaged Maps (PoE)",
                "Unique Maps (PoE)",
                "Valdo Maps (PoE)",
                "Invitations (PoE)",
                "Memories (PoE)",
                "Temples (PoE)",
                "Scrying Orbs (PoE)",
                "Base Types (PoE)",
                "Flasks (PoE)",
                "Beasts (PoE)",
                "Vials (PoE)",
                "Fragments (PoE 2)",
                "Abyssal Bones (PoE 2)",
                "Uncut Gems (PoE 2)",
                "Lineage Gems (PoE 2)",
                "Essences (PoE 2)",
                "Soul Cores (PoE 2)",
                "Idols (PoE 2)",
                "Runes (PoE 2)",
                "Omens (PoE 2)",
                "Expedition (PoE 2)",
                "Liquid Emotions (PoE 2)",
                "Catalysts (PoE 2)",
                "Verisium (PoE 2)",
                "Unique Weapons (PoE 2)",
                "Unique Armours (PoE 2)",
                "Unique Accessories (PoE 2)",
                "Unique Flasks (PoE 2)",
                "Unique Charms (PoE 2)",
                "Unique Jewels (PoE 2)",
                "Unique Relics (PoE 2)",
                "Unique Tablets (PoE 2)",
                "Precursor Tablets (PoE 2)"
              ]
            }
          },
          "search": {
            "title": "Search names",
            "type": "array",
            "description": "Only items whose name or base type contains one of these words, for example Headhunter or Mageblood. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "minChaosValue": {
            "title": "Minimum price (chaos orbs)",
            "minimum": 0,
            "type": "number",
            "description": "Only items worth at least this many chaos orbs, for example 10."
          },
          "minListings": {
            "title": "Minimum listings",
            "minimum": 0,
            "type": "integer",
            "description": "Only items with at least this many current listings behind the price. Skips thin, unreliable prices. Applies to item categories, not to currency exchange rows."
          },
          "onlyNew": {
            "title": "Only new items",
            "type": "boolean",
            "description": "Skip items that earlier runs of this same search already returned, so you pay only for items that appeared since. Prices change every run, so leave this off to track prices. The first run works as usual and remembers what it returned, in your key-value store 'path-of-exile-prices-scraper-only-new'.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 500000,
            "type": "integer",
            "description": "Stop after this many records. You are charged per record.",
            "default": 5000
          },
          "maxConcurrency": {
            "title": "Max parallel requests",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "Requests at the same time. 1 is polite: poe.ninja blocks clients that make excessive use of its API.",
            "default": 1
          },
          "secondsBetweenRequests": {
            "title": "Seconds between requests",
            "minimum": 0.5,
            "maximum": 60,
            "type": "number",
            "description": "Pause between requests to poe.ninja. After a refusal the Actor doubles the pause, and it stops when poe.ninja keeps refusing.",
            "default": 1
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}