{
 "openapi": "3.1.0",
 "info": {
  "title": "SoldSignal resale price API",
  "version": "1.0.0",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "termsOfService": "https://www.aiplannermail.com/terms/",
  "contact": {
   "name": "SoldSignal",
   "url": "https://www.aiplannermail.com/about/"
  },
  "description": "Free, keyless, read-only weekly resale prices (SOLD medians and ASK medians with sample sizes) for sneakers, gaming hardware, collectibles, fashion and watches. Static JSON, CORS open."
 },
 "servers": [
  {
   "url": "https://www.aiplannermail.com"
  }
 ],
 "paths": {
  "/api/v1/items.json": {
   "get": {
    "operationId": "listItems",
    "summary": "All tracked items with this week's headline price",
    "responses": {
     "200": {
      "description": "Item index"
     }
    }
   }
  },
  "/api/v1/items/{slug}.json": {
   "get": {
    "operationId": "getItem",
    "summary": "One item: price, sources, sizes, payouts after fees, history",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Item",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "slug": {
           "type": "string"
          },
          "name": {
           "type": "string"
          },
          "category": {
           "type": "string"
          },
          "price": {
           "type": "number"
          },
          "priceType": {
           "type": "string"
          },
          "sampleSize": {
           "type": "integer"
          },
          "summary": {
           "type": "string"
          },
          "cite": {
           "type": "string"
          },
          "updated": {
           "type": "string"
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/data/fees.json": {
   "get": {
    "operationId": "getFees",
    "summary": "Marketplace fee rules used",
    "responses": {
     "200": {
      "description": "Fee rules"
     }
    }
   }
  }
 }
}