---
title: "Run Market Scan"
method: POST
path: "/api/cron/run-market-scan"
tags: ["cron"]
---

# Run Market Scan

`POST /api/cron/run-market-scan`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/cron/run-market-scan`
- Auth: none declared

Run a market price scan independently of the main cron.
Protected by X-Cron-Secret header (same as notifications cron).

## Headers

- `X-Cron-Secret` string
- `x-cron-secret` string

## Response `200`

Successful Response

- MarketScanResponse
  - `status` string, required
  - `scan_date` string, required
  - `created` string[], required
  - `failed` string[], required
  - `total_pending` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
