GnistAI GnistAI
Log in

S&P 500 Companies

S&P 500 companies — ticker, sector, sub-industry, headquarters, and CIK numbers.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: open dataset type type open dataset open dataset lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: Curated dataset (S&P Dow Jones Indices)

REST Bridge Endpoint https://context.gnist.ai/rest/sp500/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

get_sp500_company

Get detailed information about an S&P 500 company by ticker symbol.

Returns company name, GICS sector, sub-industry, headquarters, founding year, and SEC CIK number.

ParameterTypeRequiredDescription
tickerstringrequiredStock ticker symbol (e.g. AAPL, MSFT, GOOGL).
Request Body
{
  "ticker": "example"
}
search_sp500_companies

Search the S&P 500 companies database.

ParameterTypeRequiredDescription
querystringrequiredSearch by company name or ticker symbol.
limitintegeroptionalMaximum results to return. (default: 20)
Request Body
{
  "query": "example"
}
list_sp500_by_sector

List S&P 500 companies by GICS sector.

ParameterTypeRequiredDescription
sectorstringrequiredGICS sector (e.g. Information Technology, Health Care, Financials).
limitintegeroptionalMaximum results to return. (default: 50)
Request Body
{
  "sector": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/sp500/get_sp500_company" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"ticker": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/sp500/get_sp500_company",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "ticker": "example"
},
)
print(resp.json())

Related Toolkits (Finance)

Resources