Docs › API reference › Signals
Signal history
GEThttps://swingtraderscorner.com/v1/signals/history
Historical signals as they were issued, newest first. Paid plans only. Filter by index, instrument or several (tidm, symbols), signal type and date range. Paged: page (from 1) and pageSize (1-500, default 100), or, to page by cursor, limit (1-500) and cursor.
Parameters
| Name | Description |
|---|---|
| indexoptional · string | Limit to members of one index: DJIA, NASDAQ100 or SP500. It must be in your plan. |
| tidmoptional · string | One instrument's ticker, e.g. AAPL. |
| exchangeoptional · string | With tidm: XNAS or XNYS, when a ticker could be ambiguous. |
| symbolsoptional · string | A watchlist: comma-separated tickers, e.g. AAPL,MSFT,NVDA. A ticker with no signal is absent from data; meta.unmatched says why. |
| signalTypeoptional · string | One signal type: COTB, COTS, COTD2U or COTU2D. |
| fromoptional · date | Earliest signal date, yyyy-MM-dd. |
| tooptional · date | Latest signal date, yyyy-MM-dd. |
| pageoptional · int32 | Page number, from 1. Default 1. |
| pageSizeoptional · int32 | Signals per page, 1-500. Default 100. |
| limitoptional · int32 | Opt in to paging: signals per page, 1-500. Without limit or cursor every match comes back. Use meta.cursor to fetch the next page. |
| cursoroptional · string | The meta.cursor of the previous page. It is bound to that edition, those filters and your plan: when a new edition is published you get 409 EDITION_CHANGED and start again. |
Example request
curl "https://swingtraderscorner.com/v1/signals/history" -H "X-API-Key: $STC_KEY"
Try it
An example response. Sign in to run it with your own key, or create a free account.
{
"data": [
{
"date": "2026-07-17",
"tidm": "CAT",
"name": "Caterpillar Inc",
"exchange": "XNYS",
"index": "DJIA",
"barType": "outside",
"signalType": "COTD2U",
"currentTrend": "up",
"buyAt": 402.25,
"sellAt": null,
"stopAt": 391.6,
"moveCount": 1,
"repeatCount": 0,
"chartUrl": null
},
{
"date": "2026-06-20",
"tidm": "MSFT",
"name": "Microsoft Corporation",
"exchange": "XNAS",
"index": "NASDAQ100",
"barType": "down",
"signalType": "COTU2D",
"currentTrend": "down",
"buyAt": null,
"sellAt": 520.1,
"stopAt": 534.8,
"moveCount": 1,
"repeatCount": 0,
"chartUrl": null
}
],
"meta": {
"count": 2,
"totalCount": 6,
"page": 1,
"pageSize": 2,
"totalPages": 3,
"asOfTradingDate": "2026-07-17",
"tier": "UsLargeCaps"
}
}
Responses
| Status | Meaning |
|---|---|
| 200 | OK |
| 400 | Bad Request |
| 401 | No API key, or one we don't recognise. |
| 403 | The key is revoked, or the request is outside your plan (an index, or history on Free). |
| 409 | Conflict |
| 429 | Rate limit reached. Retry after the number of seconds in the Retry-After header. |
| 503 | Service Unavailable |
Generated from the API's OpenAPI description.