---
title: "Pattern Recognition"
method: GET
path: "/scan/pattern"
---

# 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` object[] — Array of patterns.

## Changes

- **2020-06-11** `26499f908d78` — 1 breaking, 1 info
  - the response's body type 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 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/0b79bb07d241/schema)
