Fundamentals
Compare companies
GET
https://api.q4.sa/v1/compareReturns the same metrics side by side for several companies.
Starter+Up to 3 companies on Starter, 10 on Pro and 20 on Business.
Authorization
x-api-keyheaderrequiredQuery parameters
symbolsstring (comma-separated)requiredComma-separated Tadawul symbols. Matches any of them.
metricsstring (comma-separated)requiredComma-separated metric or ratio keys.
periodstringPeriod basis.
One of:
annualquarterlyttmDefault:
ttmResponse
dataobject[]The result.
symbolstringTadawul symbol.
period_enddateLast day of the period.
net_incomeintegerroenumberpb_rationumberPrice to book value.
