Stocks API
Look up company news, public SEC filings and corporate events by ticker, or compare themed stock baskets using daily closing prices.
What you can build with it
Company news
Follow stock-specific headlines with publisher details, source summaries when available, and links to the original stories.
SEC filings
Find public SEC EDGAR filing metadata by ticker and open the original filing for the full company disclosure.
Company events
Bring earnings dates, dividends, and stock splits into a calendar or display them alongside the relevant chart.
News responses provide metadata and available source summaries. Full articles and filings open at the original source. Coverage and freshness depend on each data provider.
Get started in ChartDeck
Choose your access
Supported ChartDeck versions can access public SEC filings without a paid subscription. Additional news and calendar sources depend on your Diszy access and the sources enabled for it.
Connect from ChartDeck
In a ChartDeck version with Diszy News enabled, start the Diszy connection from the app. Sign in and approve access in your browser, then return to ChartDeck. You can manage your subscription, installations, and app sessions in the Diszy access portal.
Open a stock
Choose a ticker to load its news and company events. Read the available summaries, open original sources, and use event dates to put the chart in context.
For developers
Make your first request
Use a valid Diszy bearer token from an enabled app session or a provisioned installation. Pass it in the Authorization header. Check GET /v1/capabilities for your access tier, permitted sources, and rate plan. The examples below are for a terminal or backend integration. Keep credentials out of browser code and URLs.
Company news
- GET
/v1/news/itemsRetrieve news with ticker, source, and date filters plus cursor pagination.
- POST
/v1/news/queryQuery news for up to 100 symbols in one request, grouped in the order you supply.
- GET
/v1/news/streamReceive news updates through an authenticated Server-Sent Events stream.
AAPL news example
Set DISZY_ACCESS_TOKEN to a bearer token with company news access.
curl --fail-with-body \
-H "Authorization: Bearer $DISZY_ACCESS_TOKEN" \
'https://news-api.diszy.com/v1/news/items?symbols=AAPL&documentTypes=article&sort=recent&limit=1'Example JSON response (200 OK)
The article and provider identifiers are fictional.
{
"data": {
"items": [
{
"schemaVersion": 1,
"id": "ni_PmiajIPp60aKb9Q0njoFefRJxWg6JBINuWXt0yEmlJA",
"revision": 1,
"status": "active",
"documentType": "article",
"eventTypes": ["general"],
"title": "AAPL shares in focus ahead of a product event",
"summary": "The report describes investor expectations ahead of Apple's next product event.",
"language": "en",
"urgency": "normal",
"publishedAt": "2026-11-16T14:35:00.000Z",
"receivedAt": "2026-11-16T14:36:00.000Z",
"updatedAt": "2026-11-16T14:36:00.000Z",
"canonicalUrl": "https://example.com/markets/aapl-update",
"instruments": [
{
"symbol": "AAPL",
"assetClass": "equity",
"relationship": "primary",
"relevance": 1
}
],
"source": {
"providerId": "example-provider",
"providerCode": "EXAMPLE_PROVIDER",
"providerItemId": "123456789",
"publisherId": "example-news",
"publisherName": "Example News",
"attribution": "Example News via Example Provider",
"summaryOrigin": "source"
},
"deduplication": {
"exactKey": "example-provider:123456789",
"clusterId": "nc_U0zeK7_SElzblO91sA10uBZK6KSFhDM3w2zh0DXC1XQ",
"canonical": true,
"duplicateCount": 1
},
"contentPolicy": {
"access": "link_only",
"display": "summary",
"contentEndpoint": "external_only",
"cache": "permanent",
"attributionRequired": true,
"externalOpenRequired": true
}
}
],
"hasMore": false
},
"meta": {
"asOf": "2026-11-16T14:40:00.000Z",
"rankingModel": "chartdeck-news-rank-v1",
"partial": false,
"sourceStatuses": [
{
"sourceId": "example-provider",
"status": "online",
"lastItemAt": "2026-11-16T14:35:00.000Z"
}
]
}
}Read the articles from data.items. When data.hasMore is true, send data.nextCursor as the cursor parameter with the same query filters.
SEC filings
- GET
/v1/news/itemsSet sources=sec-edgar to retrieve filings. Filter by ticker, date, or document type, and use cursor pagination for older results.
Example: SEC filings for one stock
# Set DISZY_ACCESS_TOKEN to your valid Diszy bearer token.
# Check which sources your access permits.
curl --fail-with-body \
-H "Authorization: Bearer $DISZY_ACCESS_TOKEN" \
'https://news-api.diszy.com/v1/capabilities'
# Request the five most recent SEC items for AAPL.
curl --fail-with-body \
-H "Authorization: Bearer $DISZY_ACCESS_TOKEN" \
'https://news-api.diszy.com/v1/news/items?symbols=AAPL&sources=sec-edgar&sort=recent&limit=5'Company events
- GET
/v1/events/itemsRetrieve earnings, dividend, and split events for up to 25 tickers, with date filters and ascending or descending ordering.
- POST
/v1/events/queryQuery events for up to 100 tickers, grouped in input order, with a separate event limit per ticker.
Use if_stale for routine refreshes and reserve force for explicit user refreshes. News batches can return cached items while updates arrive through the stream. Honor Retry-After on rate-limit responses and renew expired access tokens before retrying.
Stock Baskets API
Compare daily equal-weight baskets for NeoCloud and AI Infrastructure against SMH and QQQ. The endpoints are free and require no API key.
Basket price performance
Split-adjusted daily closes, rebased to 100. Source data from Yahoo Finance.
Endpoints
Open either link in your browser to see the JSON response. You can also send the same GET request from Postman, Insomnia, or your backend. No authorization header is needed.
- GETList baskets as JSON
/v1/baskets - GETOpen NeoCloud (3 months) as JSON
/v1/baskets/neocloud?range=3m
The list returns basket IDs, versions and constituents. Use neocloud, neocloud-with-wyfi or ai-infrastructure in the detail request. Supported ranges are 1w, 1m, 3m, 6m, 1y and max. The default is 3m.
The response includes the basket and benchmark series at base 100, price returns for each stock, SMA50, SMA200, RSI14, 3-month relative strength versus QQQ and market breadth. meta.asOf gives the last complete US trading session included. The API uses sessions before the current New York date. A stale status marks a prior snapshot when a newer one is due.
JavaScript
Use fetch() in your app or paste this example into the browser console.
fetch("https://diszy.com/v1/baskets/neocloud?range=3m")
.then((response) => {
if (!response.ok) throw new Error(`HTTP ${response.status}`);
return response.json();
})
.then(({ meta, data }) => console.log(meta.asOf, data.series))
.catch(console.error);cURL examples
curl --fail-with-body 'https://diszy.com/v1/baskets'
curl --fail-with-body 'https://diszy.com/v1/baskets/neocloud?range=3m'Ticker guide
NeoCloud
- CRWV
CoreWeave
- Rents GPU computing capacity through an AI cloud built for training and inference. Source
- NBIS
Nebius Group
- Operates an AI cloud with GPU clusters, storage and managed services for AI developers. Source
- IREN
IREN Limited
- Operates GPU cloud and data centers and retains a Bitcoin mining business. Source
- WYFI
WhiteFiber
- Provides GPU cloud services and high-performance colocation. The optional NeoCloud variant includes WYFI, which began trading on August 7, 2025. Source
AI Infrastructure
- APLD
Applied Digital
- Develops and operates purpose-built data centers for high-performance computing and AI workloads. Source
- CORZ
Core Scientific
- Runs high-density colocation facilities for AI and high-performance computing, alongside digital asset mining. Source
- WULF
TeraWulf
- Develops power-backed data center campuses for high-performance computing and also operates Bitcoin mining infrastructure. Source
- CIFR
Cipher Digital
- Develops and leases industrial-scale data centers for high-performance computing. The former Cipher Mining kept the CIFR ticker. Source
Upcoming and past earnings
Add a next earnings date or a most recent past marker to each row of a watchlist. Query /v1/events/query with eventTypes: ["earnings"] and perSymbolLimit: 1. Send separate upcoming and past requests so each column uses its own date range and ordering.
Next earnings
Use sort: "asc" and a lower bound at the start of today in UTC. The first event is the earliest available date in the covered window. Today's events belong to this column; a date or market-session label does not establish whether today's results have already been released.
Last past marker
Use sort: "desc" and an upper bound at the end of yesterday in UTC. The first event is the latest available past marker. Past events include stored SEC filings and previously saved calendar events. A filing date can differ from the actual earnings release date.
Example: one earnings value per watchlist ticker
// Build these request bodies in your desktop or backend integration.
// Send each body to POST /v1/events/query with your bearer token.
const dayMs = 86_400_000;
const today = new Date();
today.setUTCHours(0, 0, 0, 0);
const common = {
symbols: ["AAPL", "MSFT", "NVDA"], // Up to 100 per request.
eventTypes: ["earnings"],
perSymbolLimit: 1,
refreshMode: "if_stale"
};
// Next/current-day earnings, within the upcoming coverage window.
const nextRequest = {
...common,
occursAfter: today.toISOString(),
occursBefore: new Date(today.getTime() + 32 * dayMs - 1).toISOString(),
sort: "asc"
};
// Latest past marker before today, within retained history.
const pastRequest = {
...common,
occursAfter: new Date(today.getTime() - 365 * dayMs).toISOString(),
occursBefore: new Date(today.getTime() - 1).toISOString(),
sort: "desc"
};Read data.results[i].events[0] when present. Results follow the requested ticker order; a ticker with no matching event has an empty events array. Check meta.partial and meta.sourceStatuses before treating an empty value as unavailable coverage. Replace an older event revision by its stable id and keep the provider attribution.
Dates, estimates, and reported results
Calendar events can include details.fiscalYear, details.fiscalQuarter, details.epsEstimate, details.revenueEstimate, and actual EPS or revenue when supplied. Missing actuals are normal for an upcoming event. Historical results depend on retained data, and calendar refreshes cover upcoming dates. SEC markers generally provide filing context.
Display occursOn as a calendar date without converting it to the viewer's timezone. Use timing for the before-market, during-market, or after-market label. timePrecision is date, session, or exact. For date or session precision, occursAt contains a synthetic UTC time used for ordering and filters; do not display it as a precise release time. Older stored revisions can omit the new fields: fall back to the UTC date portion of occursAt and treat missing precision as unspecified.
Upcoming earnings dates from the calendar are estimates. Use certainty for the event and timePrecision for the timestamp. Treat scheduled and completed as calendar statuses. An exact SEC timestamp gives the time of the filing.
Coverage, batches, and refresh limits
Upcoming coverage is the US calendar from today through 31 days ahead. A wider query does not extend fresh provider coverage. An empty next value means no event is available inside that window, not that the company has no future earnings announcement. History defaults to the previous 365 days and depends on retained filings and events.
Send at most 100 tickers per POST batch, using provider symbols such as AAPL. Split a larger watchlist into 100-ticker chunks: 500 tickers need five requests per column, or ten for both. The GET endpoint accepts up to 25 tickers and applies one shared result limit; use POST for a separate limit per ticker.
Calendar windows share a six-hour cache across ticker requests. Large provider responses are fetched in smaller date windows, so a cold refresh can wait for several upstream calls. Use if_stale for normal watchlist refreshes. News and event batches share the limits returned by /v1/capabilities; honor Retry-After. force has separate limits of two requests per minute and twenty per day on plans that permit it. Events refresh over HTTP; the news stream does not deliver event updates.
Upcoming dates require access to the earnings calendar. Check /v1/capabilities before enabling the upcoming column. Free sec-edgar access covers past filing markers.
The live API reference and OpenAPI schema describe the deployed contract, including request and response fields.
Earnings-call transcripts
Read up to two ROIC.ai earnings-call transcripts per company, newest reporting period first. Use an installation token from an active paid Diszy News subscription or complimentary access issued by a Diszy administrator. If you received a token, set DISZY_ACCESS_TOKEN to its value and use the example below. Manage your own paid subscription
Look up the company by ticker and exchange MIC. Use its ID in GET /v1/companies/{companyId}/earnings-transcripts on diszy.com.
Request the latest CMS Energy transcripts
COMPANY_ID=$(curl --fail-with-body -sS \
-H "Authorization: Bearer $DISZY_ACCESS_TOKEN" \
'https://news-api.diszy.com/v1/companies?symbol=CMS&mic=XNYS' | jq -er '.data[0].id')
curl --fail-with-body -sS \
-H "Authorization: Bearer $DISZY_ACCESS_TOKEN" \
"https://diszy.com/v1/companies/$COMPANY_ID/earnings-transcripts"Sample response with fictional text
{
"data": [
{
"id": "evt_example_q3",
"periodEnd": "2026-09-30",
"releasedOn": "2026-10-29",
"sourceId": "roic-ai",
"text": "Good afternoon. Welcome to our example earnings call."
}
],
"meta": { "status": "available" }
}The data array may be empty while the first import is pending or when transcripts are unavailable. A temporary import error yields retry and may include previously stored transcripts. The API returns 401 for a missing or invalid token and 403 when the account lacks active transcript access. Honor Retry-After on 429 responses.
Company descriptions
Show a short description of what a company does, based on an SEC filing or another primary source from the issuer. Each description includes a source link and an evidence date when available. Earlier versions remain available in the history.
The index baseline covers 3,001 stock tickers across 2,980 companies using dated S&P 500 and Nasdaq-100 snapshots plus Russell 1000 and Russell 2000 coverage from filtered IWB and IWM stock holdings, as of October 14–15, 2026. ETF holdings can differ from official index membership. Monthly exchange-directory scans expand coverage to other verified US-listed common and ordinary stocks. Coverage is limited to companies already imported into the catalog. Newly added companies may be waiting for their first description.
Example: look up BrightSpring's description
# Use a valid Diszy bearer token with sec-edgar source access.
curl --fail-with-body \
-H "Authorization: Bearer $DISZY_ACCESS_TOKEN" \
'https://news-api.diszy.com/v1/companies?symbol=BTSG&mic=XNAS'Use the same Stocks API base URL and a valid Diszy bearer token that permits sec-edgar. Read the description text from data[0].description.summary on the company search response. Include the venue MIC, such as XNAS for Nasdaq, to distinguish listings that share a ticker. Company-detail responses expose the same text at data.description.summary.
Company descriptions are included in free SEC access. Supported ChartDeck clients can use the existing anonymous token flow without a paid subscription. A missing bearer token returns 401; a token without SEC access returns 403. Anonymous access is limited to 30 HTTP requests per minute per token, with an additional aggregate limit. Check /v1/capabilities for your current limits.
Company endpoints
- GET
/v1/companies?symbol=BTSG&mic=XNASFind the company for a ticker and venue, including its current description and source dates.
- GET
/v1/companies/{companyId}Read a company by its stable UUID, including listings, description, and refresh status.
- GET
/v1/companies/{companyId}/descriptionsRead earlier description versions, with limit and offset pagination.
Use asOf for the date the description reflects. Search, detail, and history return it as a calendar date (YYYY-MM-DD) or null when the evidence date is unknown. The date uses reportOn when the source has a reporting date, or its filing or publication date (filedOn). generatedAt records when the description was created.
Use sourceUrl to open the source document and generation.sources for the sources of a researched rewrite when provided. generatorVersion identifies how the description was prepared. The automatic SEC import extracts sentences from supported 10-K and 20-F business sections. Before the first annual report it can use a supported 424B4, S-1, or F-1 prospectus.
Monthly discovery compares US exchange directories with SEC issuer mappings. Verified new companies enter the description queue; ticker and venue changes follow the same SEC CIK so company IDs and earlier descriptions stay available. Unresolved identities wait for review. Scans run at the start of each month and retry source failures; dated index membership is maintained separately.
An empty data array means no tracked company matched the search. A company's description can be null before its first profile is available. Entries in refresh show the last check, next check, and failure status. For companies with SEC refresh targets, checks run approximately hourly in the background. A failed check preserves the previous description. Requests read stored data. A deployed API with the catalog disabled returns 503 feature_disabled.
TOWN, NBN, HIFS, and FRBA report to the FDIC and have dated profiles based on issuer releases. These profiles return an empty refresh array.
SEC Fundamentals
Read up to 20 fiscal quarters or five completed fiscal years for a catalog company with a verified SEC CIK. Use a Diszy bearer token with sec-edgar access. Supported ChartDeck clients can use their free anonymous token.
SEC data coverage
Loading coverage figures…
Look up the company by ticker and exchange MIC. Pass its ID to GET /v1/companies/{companyId}/fundamentals. Choose period=annual for annual statements. The default is quarter. Results are newest first.
Find JPMorgan’s reported revenue for fiscal 2024
BASE=https://news-api.diszy.com
AUTH="Authorization: Bearer $DISZY_ACCESS_TOKEN"
COMPANY_ID=$(curl --fail-with-body -sS -H "$AUTH" \
"$BASE/v1/companies?symbol=JPM&mic=XNYS" | jq -er '.data[0].id')
curl --fail-with-body -sS -H "$AUTH" \
"$BASE/v1/companies/$COMPANY_ID/fundamentals?period=annual" |
jq '.data[] | select(.end == "2024-12-31") | .metrics.revenue'The 2025 annual report repeats fiscal 2024 as a comparative period. The filtered response links to that filing.
[{
"value": "177556000000",
"unit": "USD",
"method": "reported",
"sources": [{
"accession": "0001628280-26-008131",
"form": "10-K",
"filedOn": "2026-02-13",
"tag": "us-gaap:Revenues",
"start": "2024-01-01",
"end": "2024-12-31",
"url": "https://www.sec.gov/Archives/edgar/data/19617/000162828026008131/0001628280-26-008131-index.htm"
}]
}]Follow sources[].url to the filing. Each source includes its accession number, date, original XBRL tag and reporting dates.
Periods contain revenue, operating income, net income attributable to the parent, diluted EPS, assets, liabilities, parent equity, cash and equivalents, operating cash flow, and cash spent on property, plant and equipment. Outflows for capital expenditure use a positive sign. Monetary values are exact decimal strings with one entry per reported unit. Choose the same unit throughout a chart. EPS is per share as reported by the issuer.
Balance sheet amounts apply at period end. A quarterly flow marked derived is the difference between compatible cumulative amounts. Its two sources identify both operands. Comparable later filings can revise historical periods. Missing or ambiguous metrics are null. Annual-only reporters can have an empty quarterly series.
meta.status is pending during initial import, ready for available data, or no_data after checking coverage for this view. A stale response returns the last snapshot while a filing or failed refresh awaits processing. refreshedAt records the last successful import. A temporary first-import failure returns HTTP 503 with Retry-After.
Coverage and accuracy
SEC filings can use different definitions for the same metric. The API maps standardized, issuer-wide figures and can miss disclosures in notes, exhibits or company-specific tags. For decisions that depend on a figure, check its dates, unit, calculation method and linked filing. Use the issuer’s reporting currency for growth when the filing also provides a convenience translation.
Read meta.coverage alongside the import status. For the requested series it gives the latest identified filing period, the latest available period and gaps with filing links. A gap distinguishes missing mapped SEC figures from a period the importer could not assemble. Coverage is null until a checked snapshot is available. The quarterly window covers the last five years of identified financial reporting. Foreign issuers can publish interim results in exhibits outside the structured feed.
For issuers reporting net revenues after interest expense, the revenue value can carry the flagnet_revenue_and_customer_revenue when the same filing also reports a different amount for customer contracts. The source tag identifies the selected total.
Compare reported results year over year
Add compare=yoy for revenue, operating margin and operating cash flow. A quarter is matched to the same fiscal quarter one year earlier. Each comparison gives both date ranges and the difference in their lengths in days. Each input links to its filing and shows whether it was reported or derived. Use the same currency throughout. An issuer can also disclose a translation into another currency.
fundamentals() {
local symbol="$1" period="$2" company
company=$(curl -fsS -G -H "$AUTH" "$BASE/v1/companies" \
--data-urlencode "symbol=$symbol" --data-urlencode 'mic=XNYS' | jq -er '.data[0].id') || return 1
curl -fsS -G -H "$AUTH" "$BASE/v1/companies/$company/fundamentals" \
--data-urlencode "period=$period" --data-urlencode 'compare=yoy'
}Salesforce · operating profitability
fundamentals CRM annual | jq '.data[] | select(.end == "2026-01-31")
| .comparison.metrics[] | select(.metric == "operatingMargin") | .values[] | select(.currency == "USD")'In the year ended January 31, 2026, Salesforce earned $20.06 in operating income per $100 of revenue, up from $19.01 the year before. The increase was 1.05 percentage points. The API calculates each margin from operating income and revenue for the same period and currency. Salesforce annual filing
JPMorgan Chase · bank revenue
fundamentals JPM annual | jq '.data[] | select(.end == "2025-12-31") | .comparison.metrics[] | {metric, reason, values}'JPMorgan reported $182.447 billion in revenue for 2025, up from $177.556 billion. Its filing does not supply the standard operating income used by this comparison. The operating margin therefore has no value. Bank-specific measures such as net interest income are presented in the filing. JPMorgan annual filing
Alibaba · annual coverage
fundamentals BABA quarter | jq '{status: .meta.status, periods: (.data | length)}'
fundamentals BABA annual | jq '.data[] | select(.end == "2026-03-31")
| .comparison.metrics[] | select(.metric == "revenue") | .values[] | select(.currency == "CNY")'Alibaba’s annual revenue rose from CNY 996.347 billion to CNY 1,023.670 billion in the year ended March 31, 2026. The quarterly view at verification returned no_data. A missing quarter represents a gap in our coverage. Alibaba annual filing
A comparison with missing or ambiguous periods includes a reason. A zero or negative prior amount, or a change from positive to negative, gives an absolute change with a null percentage. Margin changes are in percentage points. The oldest period can lack a prior period in the available history.
Explore the Fundamentals endpoint in SwaggerConnect your stock research
Manage an existing Diszy connection in the access portal, or talk to us about using the API in your own application.