---
title: "Premium: ranked Diablo 2 best-in-slot verdict (paid)"
method: GET
path: "/api/premium/d2/best-in-slot"
tags: ["premium"]
---

# Premium: ranked Diablo 2 best-in-slot verdict (paid)

`GET /api/premium/d2/best-in-slot`

## Request

- Base URL: `https://pvpwire.com`
- URL: `https://pvpwire.com/api/premium/d2/best-in-slot`
- Auth: one of:
  - HTTP bearer
  - none

Paid: 10 credits ($0.10). Ranked best-in-slot items for a Diablo 2 build and equipment slot, computed over PVPWire's independently compiled item data: a 0-100 fit score per item, the per-stat contributions behind it, and a tradeoff note. Returns an AFTA Ed25519-signed receipt. Pay with a prepaid credit token (see the manifest). Free preview at /api/preview/d2/best-in-slot.

## Query parameters

- `build` string, required
- `slot` string, required

## Response `200`

Ranked items with fit score, per-stat contributions, tradeoff note, Ed25519 receipt

- Envelope
  - `data` object[]
  - `meta` object
    - `source` string
    - `disclaimer` string
    - `data_version` string
    - `game_patch` string
    - `generated_at` string
    - `license` string
    - `docs` string

## Other responses

- `402`: Payment required. Body carries the price, the pay-to wallet, and the credit-purchase quote endpoint.

---

[API](https://skmtc.dev/pvpwire/apis/pvpwire-game-data-api.md) · [All operations](https://skmtc.dev/pvpwire/apis/pvpwire-game-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pvpwire/apis/pvpwire-game-data-api/revisions/ce2759e1dccd?raw)
