What a response looks like
{"count": 5, "items": [{ "asOf": "2026-11-09", "cik": "0001090872", "dateAdded": "2000-06-05", "headquarters": "Santa Clara, California", "index": "S&P 500", "indexCode": "sp500", "name": "Agilent Technologies", "sector": "Health Care", "source": "Wikipedia, CC BY-SA 4.0", "sourceRevision": 1384572480, … ]}| asOf | cik | dateAdded | headquarters | index | indexCode |
|---|---|---|---|---|---|
| 2026-11-09 | 0001090872 | 2000-06-05 | Santa Clara, California | S&P 500 | sp500 |
| 2026-11-09 | 0000320193 | 1982-11-30 | Cupertino, California | S&P 500 | sp500 |
| 2026-11-09 | 0001551152 | 2012-12-31 | North Chicago, Illinois | S&P 500 | sp500 |
| 2026-11-09 | 0001559720 | 2023-09-18 | San Francisco, California | S&P 500 | sp500 |
| 2026-11-09 | 0000001800 | 1957-03-04 | North Chicago, Illinois | S&P 500 | sp500 |
Real rows returned by this API on 2026-11-09 for the request shown.
What it returns
Constituents of the S&P 500, S&P MidCap 400 and S&P SmallCap 600, plus every dated add and drop, in clean JSON.
Change history coverage: S&P 500 from 1976, S&P MidCap 400 from 2016, S&P SmallCap 600 from 2019 (the depth of the public record each index has). Index codes: sp500, sp400, sp600; names like midcap400 or S&P SmallCap 600 also work.
- Constituents: symbol, company, GICS sector and sub-industry, headquarters, date added (S&P 500), CIK.
- Changes: effective date, added and removed symbol and name, and the reason (for example market-cap change or acquisition).
- Point-in-time membership: set
asOfto rebuild the index as it stood on any past date, which removes survivorship bias from backtests.
Request
POST https://api.pushbuild.com/sp-index-membership/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
dataset | string: constituents, changes | What to return. Default: "constituents". |
indexes | list of strings | S&P 500, S&P MidCap 400, S&P SmallCap 600. Codes sp500, sp400, sp600; aliases like midcap400 also work. Default: ["sp500"]. |
asOf | string | YYYY-MM-DD. Constituents only. Leave empty for today. |
symbols | list of strings | Only these tickers (added or removed, for changes). |
dateFrom | string | YYYY-MM-DD. Changes only. Change history starts 1976 (sp500), 2016 (sp400), 2019 (sp600). |
dateTo | string | YYYY-MM-DD. Changes only. |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
Example
curl -X POST https://api.pushbuild.com/sp-index-membership/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"maxItems": 20}'
Response
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.
Pricing
Pay only for results returned: $0.16 per 1,000 rows. No charge for errors or empty searches.
| Rows | Cost |
|---|---|
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/sp-index-membership. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
Tell us what you need built.
Questions about this API, higher volumes, or a data source you need that we don't cover yet.
hello@pushbuild.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want this data inside your own app or CRM? API integrations and data sync