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, signal type and date range. Paged: page (from 1) and pageSize (1-500, default 100).
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. |
| 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. |
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": "AllUs"
}
}
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). |
| 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.