---
updatedAt: 2026-04-20T21:43:36.000Z
agentTools:
  projectIndex: https://docs.dinari.com/llms.txt
---

# Get Stock current price

Get current price for a specified `Stock`.

# OpenAPI definition

```json
{
  "info": {
    "description": "**Dinari API for enterprise usage.**\n\nDinari's dShares let businesses offer tokenized access to stocks to their customers through an easy-to-use API.\nIntegrate Dinari's API and offer over a hundred stocks and ETFs to your customers.\n",
    "contact": {
      "email": "hello@dinari.com"
    },
    "license": {
      "name": "Contact us"
    },
    "termsOfService": "https://dinari.com/terms",
    "title": "Dinari Enterprise API",
    "version": "v20261009-833c33c"
  },
  "servers": [
    {
      "url": "https://api-enterprise.sbt.dinari.com",
      "description": "Production"
    },
    {
      "url": "https://api-enterprise.sandbox.dinari.com",
      "description": "Sandbox"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyId": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key-Id",
        "description": "The API key ID provided on the [Partners Dashboard](https://partners.dinari.com)."
      },
      "ApiSecretKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Secret-Key",
        "description": "API Secret Key that is only shown once at API Key creation."
      }
    },
    "schemas": {
      "BaseOpenApiError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "description": "HTTP status code"
          },
          "message": {
            "type": "string",
            "description": "Human-readable message"
          },
          "error_id": {
            "type": "string",
            "description": "Reference Id for Dinari support"
          },
          "error": {
            "description": "Additional context and information"
          }
        },
        "required": [
          "error_id",
          "message",
          "status"
        ],
        "additionalProperties": false
      },
      "StockPrice": {
        "type": "object",
        "properties": {
          "stock_id": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the `Stock`"
          },
          "price": {
            "type": "number",
            "description": "The price (fair market value) of the asset at the given time period."
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the `StockPrice` was generated."
          },
          "market_cap": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The market capitalization of the `Stock` calculated at the most recent close price."
          },
          "weighted_shares_outstanding": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The number of shares outstanding in the given time period."
          },
          "change": {
            "type": [
              "number",
              "null"
            ],
            "description": "The change in price from the previous close."
          },
          "change_percent": {
            "type": [
              "number",
              "null"
            ],
            "description": "The percentage change in price from the previous close."
          },
          "previous_close": {
            "type": [
              "number",
              "null"
            ],
            "description": "The close price for the `Stock` from the previous trading session."
          },
          "close": {
            "type": [
              "number",
              "null"
            ],
            "description": "The close price from the given time period."
          },
          "high": {
            "type": [
              "number",
              "null"
            ],
            "description": "The highest price from the given time period"
          },
          "low": {
            "type": [
              "number",
              "null"
            ],
            "description": "The lowest price from the given time period."
          },
          "open": {
            "type": [
              "number",
              "null"
            ],
            "description": "The open price from the given time period."
          },
          "volume": {
            "type": [
              "number",
              "null"
            ],
            "description": "The trading volume in shares from the given time period."
          },
          "last": {
            "type": [
              "number",
              "null"
            ],
            "description": "The price of the most recent trade."
          }
        },
        "required": [
          "price",
          "stock_id",
          "timestamp"
        ],
        "additionalProperties": false
      }
    },
    "responses": {
      "DEFAULT_ERROR": {
        "description": "Default error response",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseOpenApiError"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/api/v2/market_data/stocks/{stock_id}/current_price": {
      "get": {
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StockPrice"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "tags": [
          "Market Data"
        ],
        "summary": "Get Stock current price",
        "description": "Get current price for a specified `Stock`.",
        "operationId": "getStockCurrentPrice",
        "security": [
          {
            "ApiKeyId": [],
            "ApiSecretKey": []
          }
        ]
      },
      "parameters": [
        {
          "in": "path",
          "name": "stock_id",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ]
    }
  },
  "tags": [
    {
      "name": "Market Data",
      "description": "**Dinari provides basic market data for `Stocks` and `Alloys` that are available to transact on.**\n\nThis data is provided on a best-effort basis and we recommend using a dedicated provider for more intensive market data needs."
    }
  ],
  "openapi": "3.1.0"
}
```