{
 "openapi": "3.1.0",
 "info": {
  "title": "CardVolume public data",
  "version": "1.0.0",
  "description": "Read-only, verified trading-card sales data. Every price links to the page where the sale is recorded. Please cite CardVolume with the card URL.",
  "contact": {
   "email": "hello@cardvolume.com"
  },
  "termsOfService": "https://cardvolume.com/terms/"
 },
 "servers": [
  {
   "url": "https://cardvolume.com/api/v1"
  }
 ],
 "paths": {
  "/cards.json": {
   "get": {
    "operationId": "listCards",
    "summary": "All published cards with headline market price, record sale and links",
    "responses": {
     "200": {
      "description": "Card index",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/cards/{id}.json": {
   "get": {
    "operationId": "getCard",
    "summary": "One card: key facts, market price per version and grade, verified sales with sources, FAQ",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "description": "Card id with \"/\" replaced by \"--\", e.g. pokemon--base-set--charizard-4-102",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Card",
      "content": {
       "application/json": {}
      }
     },
     "404": {
      "description": "Unknown card"
     }
    }
   }
  },
  "/records.json": {
   "get": {
    "operationId": "listRecords",
    "summary": "Highest verified sale per card, version and grade",
    "responses": {
     "200": {
      "description": "Records",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  }
 }
}
