Swing Traders Corner
Docs › API reference › Reference

Instruments covered

GEThttps://swingtraderscorner.com/v1/instruments

Instruments we generate signals for and the indices each belongs to. Search matches ticker or name. Every match comes back unless you ask for pages with limit.

Parameters

NameDescription
indexoptional · string Limit to members of one index: DJIA, NASDAQ100 or SP500. It must be in your plan.
searchoptional · string Part of a ticker or company name, e.g. apple.
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/instruments"   -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": [
    {
      "tidm": "AAPL",
      "name": "Apple Inc",
      "exchange": "XNAS",
      "indices": [
        "NASDAQ100",
        "SP500"
      ],
      "currentTrend": "up",
      "active": true
    },
    {
      "tidm": "CAT",
      "name": "Caterpillar Inc",
      "exchange": "XNYS",
      "indices": [
        "DJIA",
        "SP500"
      ],
      "currentTrend": "up",
      "active": true
    },
    {
      "tidm": "INTC",
      "name": "Intel Corporation",
      "exchange": "XNAS",
      "indices": [
        "NASDAQ100",
        "SP500"
      ],
      "currentTrend": "down",
      "active": true
    },
    {
      "tidm": "KO",
      "name": "Coca-Cola Company",
      "exchange": "XNYS",
      "indices": [
        "DJIA",
        "SP500"
      ],
      "currentTrend": "up",
      "active": true
    },
    {
      "tidm": "MSFT",
      "name": "Microsoft Corporation",
      "exchange": "XNAS",
      "indices": [
        "NASDAQ100",
        "SP500",
        "DJIA"
      ],
      "currentTrend": "down",
      "active": true
    },
    {
      "tidm": "NVDA",
      "name": "NVIDIA Corporation",
      "exchange": "XNAS",
      "indices": [
        "NASDAQ100",
        "SP500"
      ],
      "currentTrend": "up",
      "active": true
    }
  ],
  "meta": {
    "count": 6
  }
}

Responses

StatusMeaning
200OK
400Bad Request
401No API key, or one we don't recognise.
403The key is revoked, or the request is outside your plan (an index, or history on Free).
409Conflict
429Rate limit reached. Retry after the number of seconds in the Retry-After header.
503Service Unavailable

Generated from the API's OpenAPI description.