---
updatedAt: 2025-03-14T03:18:02.000Z
agentTools:
  projectIndex: https://docs.noves.fi/llms.txt
---

# /price

Returns the current price for the requested token address, using a strategy of weighted volume average.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Pricing API",
    "description": "Real-time and historical DEX pricing across chains. Every token, priced. Powered by Noves.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://pricing.noves.fi"
    }
  ],
  "paths": {
    "/svm/{chain}/price/{tokenAddress}": {
      "get": {
        "tags": [
          "Svm"
        ],
        "summary": "/price",
        "description": "Returns the current price for the requested token address, using a strategy of weighted volume average.",
        "parameters": [
          {
            "name": "chain",
            "in": "path",
            "description": "The chain to query (e.g. solana)",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string",
              "default": "solana",
              "example": "solana"
            }
          },
          {
            "name": "tokenAddress",
            "in": "path",
            "description": "The address of the asset (e.g., \"So11111111111111111111111111111111111111112\") - please note that in SVM all addresses are case-sensitive",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string",
              "default": "So11111111111111111111111111111111111111112",
              "example": "So11111111111111111111111111111111111111112"
            }
          },
          {
            "name": "apiKey",
            "in": "header",
            "description": "API Key for Pricing API. To generate an API Key, visit https://noves.fi/pricing",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string",
              "default": "demokey"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPriceResponseApiModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPriceResponseApiModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPriceResponseApiModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Exchange": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPriceResponseApiModel": {
        "type": "object",
        "properties": {
          "chain": {
            "type": "string",
            "nullable": true
          },
          "block": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "$ref": "#/components/schemas/Token"
          },
          "price": {
            "$ref": "#/components/schemas/PriceDetailModel"
          },
          "pricedBy": {
            "$ref": "#/components/schemas/ResponseSolution"
          },
          "priceType": {
            "type": "string",
            "nullable": true
          },
          "priceStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PriceDetailModel": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "ResponseSolution": {
        "type": "object",
        "properties": {
          "poolAddress": {
            "type": "string",
            "nullable": true
          },
          "exchange": {
            "$ref": "#/components/schemas/Exchange"
          },
          "liquidity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "baseToken": {
            "$ref": "#/components/schemas/Token"
          }
        },
        "additionalProperties": false
      },
      "Token": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "nullable": true
          },
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```