Skip to main content
GET
/
v2
/
search
curl
curl "https://api.stockcontext.com/v2/search?query=apple" \
  -H "X-API-Key: $STOCKCONTEXT_API_KEY"
{
  "data": {
    "cache_age_seconds": 0,
    "matches": [
      {
        "asset_type": "stock",
        "exchange": "NASDAQ",
        "name": "Apple Inc.",
        "symbol": "AAPL"
      },
      {
        "asset_type": "stock",
        "exchange": "NYSE",
        "name": "Apple Hospitality REIT, Inc.",
        "symbol": "APLE"
      },
      {
        "asset_type": "stock",
        "exchange": "NYSE",
        "name": "MAUI LAND & PINEAPPLE CO INC",
        "symbol": "MLP"
      },
      {
        "asset_type": "stock",
        "exchange": "NYSE AMERICAN",
        "name": "Pineapple Financial Inc.",
        "symbol": "PAPL"
      }
    ],
    "query": "apple"
  },
  "schema_version": "2026-06-17.6"
}

Authorizations

X-API-Key
string
header
required

StockContext API key. Keys start with sctx_ and are sent on every REST request.

Query Parameters

query
string | null

Free-text search query matched against ticker symbol and issuer name. Case-insensitive; whitespace and punctuation are normalized. Also resolves curated aliases and themes: a colloquial name maps to its ticker (facebook -> META), a punctuated class symbol resolves through its grammar form (brkb -> BRK-B), and theme phrases return the relevant cohort ('electric vehicle' -> TSLA, RIVN, LCID, ...).

Example:

"apple"

q
string | null

Alias for query (back-compat).

Example:

"AAPL"

Response

Success envelope: { "data": ... }.

data
SearchData · object
required

The endpoint payload. Present on every 2xx response; never null.

schema_version
string
required

StockContext response schema version for this 200 payload.