Q4API Docs
Q4 APISign inGet API key
DocumentationAPI Reference
Overview
API reference
Companies
GETList companiesGETRetrieve a companyGETList sectors
Market data
GETRetrieve a quoteGETList quotesGETRetrieve price historyGETRetrieve index historyGETRetrieve market summaryGETList market moversGETList sector performanceGETList tradesGETRetrieve order book depth
WebSocket
WSQuotes streamWSTrades streamWSDepth stream
Fundamentals
GETRetrieve standardised statementsGETRetrieve as-reported statementsGETList figuresGETRetrieve ratiosGETCompare companiesGETList dividendsGETList corporate actionsGETList stock eventsGETSearch notes
Documents
GETList documentsGETRetrieve a documentGETList document pagesGETRetrieve document textGETRetrieve document summaryGETList notesGETRetrieve a noteGETList sectionsGETRetrieve a sectionGETSearch board report sections
Earnings calls
GETList earnings callsGETRetrieve an earnings callGETRetrieve a transcriptGETRetrieve call audio
Announcements
GETList announcementsGETRetrieve an announcement
Economic data
GETList seriesGETList observations
Webhooks & alerts
POSTCreate a webhookGETList webhooksDELDelete a webhookPOSTCreate an alert ruleGETList alert rulesDELDelete an alert rule
Account
GETRetrieve usage
API reference

API reference

Every endpoint under https://api.q4.sa/v1. Send your key in the x-api-key header.
openapi.jsonllms.txt

Companies

Every company listed on the Saudi Exchange main market and Nomu, with profiles and sectors.
GET
/companies
List companies
Free
GET
/companies/{symbol}
Retrieve a company
Free
GET
/sectors
List sectors
Free

Market data

Quotes, price history, indices, market breadth, trades and order book depth.
GET
/quote/{symbol}
Retrieve a quote
Free
GET
/quotes
List quotes
Starter+
GET
/prices/{symbol}/history
Retrieve price history
Starter+
GET
/indices/{index}/history
Retrieve index history
Starter+
GET
/market/summary
Retrieve market summary
Free
GET
/market/movers
List market movers
Free
GET
/market/sectors
List sector performance
Free
GET
/market/trades/{symbol}
List trades
Business+
GET
/market/depth/{symbol}
Retrieve order book depth
Business+

WebSocket

Realtime quotes, trades and depth pushed over a WebSocket connection.
WS
/ws/stocks
Quotes stream
Pro+
WS
/ws/trades
Trades stream
Business+
WS
/ws/depth
Depth stream
Business+

Fundamentals

Financial statements, every printed figure with its page, ratios, dividends, corporate actions and stock events.
GET
/companies/{symbol}/financials
Retrieve standardised statements
Starter+
GET
/companies/{symbol}/financials/as-reported
Retrieve as-reported statements
Starter+
GET
/companies/{symbol}/facts
List figures
Starter+
GET
/companies/{symbol}/ratios
Retrieve ratios
Starter+
GET
/compare
Compare companies
Starter+
GET
/companies/{symbol}/dividends
List dividends
Starter+
GET
/companies/{symbol}/corporate-actions
List corporate actions
Starter+
GET
/events
List stock events
Pro+
GET
/companies/{symbol}/notes
Search notes
Starter+

Documents

Financial reports, board reports, presentations and prospectuses, with page text and summaries.
GET
/documents
List documents
Free
GET
/documents/{id}
Retrieve a document
Free
GET
/documents/{id}/pages
List document pages
Starter+
GET
/documents/{id}/text
Retrieve document text
Starter+
GET
/documents/{id}/summary
Retrieve document summary
Starter+
GET
/documents/{id}/notes
List notes
Starter+
GET
/documents/{id}/notes/{number}
Retrieve a note
Starter+
GET
/documents/{id}/sections
List sections
Starter+
GET
/documents/{id}/sections/{section_id}
Retrieve a section
Starter+
GET
/companies/{symbol}/sections
Search board report sections
Starter+

Earnings calls

Earnings call recordings with word-timed transcripts.
GET
/earnings-calls
List earnings calls
Pro+
GET
/earnings-calls/{id}
Retrieve an earnings call
Pro+
GET
/earnings-calls/{id}/transcript
Retrieve a transcript
Pro+
GET
/earnings-calls/{id}/audio
Retrieve call audio
Pro+

Announcements

Issuer announcements published on Tadawul.
GET
/announcements
List announcements
Starter+
GET
/announcements/{id}
Retrieve an announcement
Starter+

Economic data

Saudi government statistics from GASTAT, SAMA and Tadawul.
GET
/economic/series
List series
Business+
GET
/economic/series/{key}/observations
List observations
Business+

Webhooks & alerts

Register endpoints for push notifications and price alert rules.
POST
/webhooks
Create a webhook
Pro+
GET
/webhooks
List webhooks
Pro+
DELETE
/webhooks/{id}
Delete a webhook
Pro+
POST
/alerts
Create an alert rule
Pro+
GET
/alerts
List alert rules
Pro+
DELETE
/alerts/{id}
Delete an alert rule
Pro+

Account

Your plan and remaining quota.
GET
/usage
Retrieve usage
Free
Next →
List companies
On this page
CompaniesMarket dataWebSocketFundamentalsDocumentsEarnings callsAnnouncementsEconomic dataWebhooks & alertsAccount