---
agentTools:
  projectIndex: https://deepnftvalue.readme.io/llms.txt
---

# Latest Valuations

Returns a list of **latest** valuations for one or more NFTs.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "DeepNFTValue API",
    "version": "1.1",
    "description": "API for DeepNFTValue."
  },
  "paths": {
    "/valuations/{collection_slug}": {
      "get": {
        "operationId": "Valuations_2",
        "description": "Returns a list of **latest** valuations for one or more NFTs.",
        "summary": "Latest Valuations",
        "parameters": [
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "Number of results to return per page. Default: `20`. Maximum: `1000`.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "offset",
            "required": false,
            "in": "query",
            "description": "The initial index from which to return the results. Use in combination with `limit` to paginate results. Default: `0`",
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "path",
            "name": "collection_slug",
            "schema": {
              "type": "string"
            },
            "description": "Filter to a specific collection slug.",
            "required": true,
            "examples": {
              "CryptoPunks": {
                "value": "cryptopunks"
              }
            }
          },
          {
            "in": "query",
            "name": "token_ids",
            "schema": {
              "type": "string"
            },
            "description": "Filter to specific token ids. Enter a comma separated list of ids, or `all` for every token in the collection.",
            "required": true,
            "examples": {
              "Tokens#1,#2And#3": {
                "value": "1,2,3",
                "summary": "Tokens #1, #2 and #3"
              },
              "AllTokensInCollection": {
                "value": "all",
                "summary": "All Tokens in collection"
              }
            }
          }
        ],
        "tags": [
          "Valuations"
        ],
        "security": [
          {
            "tokenAuth": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedValuationList"
                },
                "examples": {
                  "Success": {
                    "value": {
                      "count": 1,
                      "next": null,
                      "previous": null,
                      "results": [
                        {
                          "nft": {
                            "token_id": 1,
                            "collection": {
                              "slug": "cryptopunks",
                              "name": "Cryptopunks"
                            }
                          },
                          "price": "70.2",
                          "currency": "ETH",
                          "date": "2022-08-22"
                        }
                      ]
                    }
                  }
                }
              }
            },
            "description": ""
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          }
        },
        "x-code-samples": [
          {
            "lang": "cURL",
            "label": "CLI",
            "source": "curl --request GET \\\n--url 'https://api.deepnftvalue.com/v1/valuations/cryptopunks?token_ids=1,2,3' \\\n--header 'Authorization: Token <api_key>'"
          },
          {
            "lang": "js",
            "label": "JavaScript",
            "source": "const options={\n    method: \"GET\",\n    headers: {Authorization: \"Token <api_key>\"}\n}\nconst collectionSlug = \"cryptopunks\"\nconst tokenIds = [1, 2, 3]\n\nfetch(`https://api.deepnftvalue.com/v1/valuations/${collectionSlug}?token_ids=${String(tokenIds)}`, options)\n    .then((response)= > response.json())\n    .then((response)= > console.log(response))\n    .catch((err)= > console.error(err))"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "HistoricalValuation_Nft": {
        "type": "object",
        "properties": {
          "token_id": {
            "type": "integer",
            "maximum": 2147483647,
            "minimum": -2147483648
          },
          "collection": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HistoricalValuation_Nft_Collection"
              }
            ],
            "readOnly": true
          }
        },
        "required": [
          "collection",
          "token_id"
        ]
      },
      "HistoricalValuation_Nft_Collection": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "maxLength": 255
          },
          "name": {
            "type": "string",
            "maxLength": 255
          }
        },
        "required": [
          "name",
          "slug"
        ]
      },
      "PaginatedValuationList": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "description": "Total number of results. If `limit` (page size) exceeded, results of this request will only contain a subset. Use `next` to request next result set until you reach full `count`.",
            "example": 1
          },
          "next": {
            "type": "string",
            "nullable": true,
            "format": "uri",
            "description": "Use this absolute url to request next result set. Alternatively, adjust `offset` (and `limit`) parameters in your request code.",
            "example": null
          },
          "previous": {
            "type": "string",
            "nullable": true,
            "format": "uri",
            "description": "Use this absolute url to request previous result set.",
            "example": null
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Valuation"
            }
          }
        }
      },
      "Valuation": {
        "type": "object",
        "properties": {
          "nft": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HistoricalValuation_Nft"
              }
            ],
            "readOnly": true
          },
          "price": {
            "type": "string",
            "format": "decimal",
            "pattern": "^-?\\d{0,157}(?:\\.\\d{0,3})?$"
          },
          "currency": {
            "type": "string",
            "readOnly": true,
            "title": "The currency symbol, e.g. 'ETH'"
          },
          "date": {
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "currency",
          "date",
          "nft",
          "price"
        ]
      }
    },
    "securitySchemes": {
      "tokenAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Token-based authentication with required prefix \"Token\""
      }
    }
  },
  "servers": [
    {
      "url": "https://api.deepnftvalue.com/v1",
      "description": "v1"
    },
    {
      "url": "https://api.deepnftvalue.com/v2",
      "description": "v2"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 99,
      "1": 33,
      "2": 164,
      "3": 205,
      "4": 156,
      "5": 109,
      "6": 31,
      "7": 0,
      "8": 41,
      "9": 181,
      "10": 177,
      "11": 220
    }
  }
}
```