# 价格快照（实时）

**API:** Data API

**Endpoint:** `GET /v1/beta/financial/prices/snapshot`

**Tags:** Financial Data

一次调用获取单只股票的当前价格：`price`、`day_change`、`day_change_percent` 和 `time`（外加 `time_milliseconds`）。`ticker` 是选择器。若需某日期范围内的 K 线序列，请用 `get_financial_prices`；若需估值倍数而非原始价格，请用 `get_financial_financial_metrics_snapshot`。

### 计费参考

- 计量方式：按成功请求的固定成本计费。
- 参考请求估算：0.02 美元。
- 参考客户倍率：1.0。不得对已结算的客户金额再次应用。

仅供参考的元数据，不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `ticker` | query | no | string |  |

## Responses

### 200 — 价格快照响应

Headers:
- `X-Request-Id` (string) — 联系 Felo 支持时需提供的请求标识符。

**application/json**

Schema: `ResponseE40Feb4D3D6B_PriceSnapshotResponse` (`#/components/schemas/ResponseE40Feb4D3D6B_PriceSnapshotResponse`)

### 400 — 无法处理该请求。请检查请求参数。

### 401 — 需要有效的 Felo API 密钥。

### 402 — 由于未满足计费要求，请求无法继续。

### 403 — 该账户无权执行此操作。

### 429 — 已达到请求或支出限额。

### 502 — 服务无法完成该请求。

### 503 — API 或计费服务暂时不可用。

### 504 — 服务在处理请求时超时。

### default — 错误响应；上游透传响应可能采用提供方格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseE40Feb4D3D6B_PriceSnapshot

`#/components/schemas/ResponseE40Feb4D3D6B_PriceSnapshot`

```json
{
  "type": "object",
  "properties": {
    "price": {
      "type": "number",
      "description": "股票的当前价格。"
    },
    "ticker": {
      "type": "string",
      "description": "股票代码。"
    },
    "day_change": {
      "type": "number",
      "description": "自上一交易日收盘以来的价格变动。"
    },
    "day_change_percent": {
      "type": "number",
      "description": "自上一交易日收盘以来的价格变动百分比。"
    },
    "time": {
      "type": "string",
      "description": "价格快照的时间戳，以易读格式表示（UTC）。"
    },
    "time_milliseconds": {
      "type": "number",
      "description": "价格快照的时间戳，自 epoch 起的毫秒数。"
    }
  }
}
```

### ResponseE40Feb4D3D6B_PriceSnapshotResponse

`#/components/schemas/ResponseE40Feb4D3D6B_PriceSnapshotResponse`

```json
{
  "type": "object",
  "properties": {
    "snapshot": {
      "$ref": "#/components/schemas/ResponseE40Feb4D3D6B_PriceSnapshot"
    }
  }
}
```
