---
title: "Pattern Recognition"
method: GET
path: "/scan/pattern"
tags: ["Default"]
---

# Pattern Recognition

`GET /scan/pattern`

Run pattern recognition algorithm on a symbol. Support double top/bottom, triple top/bottom, head and shoulders, triangle, wedge, channel, flag, and candlestick patterns.

## Query parameters

- `symbol` string, required
- `resolution` string, required

## Response `200`

successful operation

- PatternRecognition
  - `points` ScanPattern[] — Array of patterns.

## Changes

- **2021-07-23** `a148c0b2d583` — 1 info
  - api tag `Default` added
- **2020-06-11** `26499f908d78` — 1 breaking, 1 info
  - the response's body type/format changed from `array`/`` to `object`/`` for status `200`
  - added the optional property `points` to the response with the `200` status
- **2020-05-26** `c5b8e420b78c` — 1 breaking, 1 warning, 1 info
  - the response's body type/format changed from `object`/`` to `array`/`` for status `200`
  - removed the optional property `points` from the response with the `200` status
  - api tag `Default` removed

[Change history](https://skmtc.dev/finnhub-stock-api/apis/finnhub-api/changes/scan/pattern/get.md)

---

[API](https://skmtc.dev/finnhub-stock-api/apis/finnhub-api.md) · [All operations](https://skmtc.dev/finnhub-stock-api/apis/finnhub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/finnhub-stock-api/finnhub-api/revisions/fe3acff4e0d7/schema)
