Sector Performance
Sector Performance
Sector Performance
This API returns the top gainers and losers based on a selected filter (price or market cap). Each response includes ranked securities with their price change, market cap, company name, and sector.
The key path for sectors supports (default: overall sectors):
informationutilitiesmanufacturingconstructionretailwholesalearts_entertainmentfinance_insuranceprofessional_scientific_technicalmining_oil_gasmanagement_enterprisesadmin_support_wastetransportation_warehousingother_serviceseducationaccommodation_foodhealth_care_socialreal_estate_rentalother
Query Parameters
price(optional) Filter by stock price threshold Supported values:1,5,10marketcap(optional) Filter by market capitalization threshold Supported values:300M,1b,10b,100b
Rules
- Only one filter can be used at a time:
- Valid:
price=5 - Valid:
marketcap=1b - Invalid:
price=5&marketcap=1b
- Valid:
- If
priceis provided,marketcapmust not be included, and vice versa.
Response Returns:
gainers: Top performing securitieslosers: Worst performing securities- Metadata including filter and timestamp
Default to all NMS stocks if no path or query parameters passed in
Category:
Equities Market Data
Type:
realtime
Workspace:
viaNexus
Dataset Id:
SECTOR_PERFORMANCE
Region:
US
Start building with this dataset
Get API access in minutes.
Provider
Published ByviaNexus
Methods
https://api.blueskyapi.com/v1/data/CORE/SECTOR_PERFORMANCEhttps://api.blueskyapi.com/v1/data/CORE/SECTOR_PERFORMANCE/:sector- https://api.blueskyapi.com/v1/data/CORE/SECTOR_PERFORMANCE/manufacturing
- https://api.blueskyapi.com/v1/data/CORE/SECTOR_PERFORMANCE/manufacturing?price=5
- https://api.blueskyapi.com/v1/data/CORE/SECTOR_PERFORMANCE/manufacturing?marketcap=300M
Example API Request URL
Response Attributes
| Key | Type | Description |
|---|---|---|
asOf* date | number | Unix epoch timestamp in milliseconds when this snapshot was generated or last updated. |
| bucket* | string | The bucket value for the selected dimension. |
| dimension* | string | The filter dimension used to group or screen securities.Supported values: price, marketcap |
| gainers* | array | List of top gaining securities based on the selected sector, dimension, and bucket. Each entry represents one security and uses the shared fields: symbol, changePercent, change, price, volume, marketCap, companyName, and sectorClassification. |
| losers* | array | List of top losing securities based on the selected sector, dimension, and bucket. Each entry represents one security and uses the shared fields: symbol, changePercent, change, price, volume, marketCap, companyName, and sectorClassification. |
| overallSectorPerformance | number | Cap-weighted average return for all eligible stocks in the selected sector, without price or market-cap bucket filtering. |
sector* key | string | The bucket value for the selected dimension. Supported values by dimension: price: over1, over5, over10, overall, marketcap: over300M, over1b, over100b, overall |
| sectorPerformance | number | Cap-weighted average return for stocks in the selected sector, dimension, and bucket. |
* required
Attribution
If you are using viaNexus Platform Data in your site or application, you must display “Data provided by viaNexus a product of Blue-Sky Nexus ” (linked to https://viaNexus.com/) somewhere on that site or application. Please see Attribution for details.
HTTP REQUEST
GET/v1/data/CORE/SECTOR_PERFORMANCE?last=1
HTTP RESPONSE
Please Apply a valid viaNexus token to view the response.
If you don't have a token, sign up for a free trial account at /auth/register
