POST /screen/explain
Why one company is in or out of a screen
Set one company against each condition of a screen: its value in the field's display unit, the date of that value where the data carries it, whether the figure is missing (and whether the field applies to its company type), and whether it meets the condition.
Try it
To test this route you need an API key on a plan that includes the REST API. Create one on the keys page of your dashboard, paste it into the Authorization field of the reference on this page and press Send. Your key stays in this browser tab.
curl -X POST -H "Content-Type: application/json" -d '{"query":"Return on capital employed > 22% AND Market Capitalization > 500","company":"RELIANCE","dialect":"screener"}' -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/screen/explain"{
"status": "success",
"data": {
"dialect": "screener",
"query": "Return on capital employed > 22% AND Market Capitalization > 500",
"company": {
"isin": "INE002A01018",
"symbol": "RELIANCE",
"name": "Reliance Industries Limited",
"company_type": "general"
},
"in_universe": true,
"in_screen": false,
"checks": [
{
"id": "c-5fa03033",
"kind": "range",
"text": "Return on capital employed > 22%",
"indexes": [
0
],
"meets": false,
"metric_id": "roce",
"label": "Return on capital employed",
"value": 12.65,
"value_text": "12.65%",
"unit": "percentage",
"unit_kind": "percent",
"surface_scale": 100,
"missing": null,
"value_flags": [],
"as_of": "Sep 2026 results, filed 30 Oct",
"as_of_detail": {
"basis": "quarterly_filing",
"period_end": "2026-09-30",
"filed_on": "2026-10-30"
},
"inputs": [
{
"metric_id": "roce",
"label": "Return on capital employed",
"value": 12.65,
"value_text": "12.65%",
"unit": "percentage",
"unit_kind": "percent",
"surface_scale": 100,
"missing": null,
"value_flags": [],
"as_of": "Sep 2026 results, filed 30 Oct",
"as_of_detail": {
"basis": "quarterly_filing",
"period_end": "2026-09-30",
"filed_on": "2026-10-30"
}
}
]
},
{
"id": "c-713a6e7f",
"kind": "range",
"text": "Market Capitalization > 500",
"indexes": [
1
],
"meets": true,
"metric_id": "market_cap",
"label": "Market cap",
"value": 1889413.05637,
"value_text": "₹18,89,413 cr",
"unit": "currency_crore",
"unit_kind": "crore",
"surface_scale": 1e-7,
"missing": null,
"value_flags": [],
"as_of": "Prices as of 27 Nov 2026",
"as_of_detail": {
"basis": "quote",
"period_end": null,
"filed_on": null
},
"inputs": [
{
"metric_id": "market_cap",
"label": "Market cap",
"value": 1889413.05637,
"value_text": "₹18,89,413 cr",
"unit": "currency_crore",
"unit_kind": "crore",
"surface_scale": 1e-7,
"missing": null,
"value_flags": [],
"as_of": "Prices as of 27 Nov 2026",
"as_of_detail": {
"basis": "quote",
"period_end": null,
"filed_on": null
}
}
]
}
],
"snapshot": {
"id": 100,
"computed_at": "2026-11-26 16:20:31"
},
"listing_note": "Listed on NSE and BSE. Prices are from NSE."
},
"cached_at": null,
"source": "indian-stock-mcp",
"stale": false,
"error": null,
"reason_code": null
}Saved answer. Run on 2026-11-27, answered 200. A call you make now gets the current answer.
A call can also answer 402, 403, 409 or 429 when a plan's limit is reached; those are described on Plans, credits and errors.
Request body and response
bearerAuthAuthorizationBearer <token>DalalOS API key (isk_live_...) as a Bearer token. Create one in the DalalOS dashboard.
The screen (as sent to POST /screen/query) and the company to explain.
application/json- body
company*stringNSE symbol, ISIN or BSE code of the company to explain.
definitions?array<>Inline custom ratios the query may name, as on POST /screen/query.
dialect?stringscreener (Screener.in names and surface units) or dalalos (canonical metric ids and storage units).
"screener"only_latest_results?booleanAs on POST /screen/query: a company that has not filed the current results season is outside the universe.
falsequery*stringThe screen expression.
scope?Exact-match classification filters, as on POST /screen/query; each is a choice check.
snapshot_id?integerThe pagination.snapshot_id of the list being viewed, as on POST /screen/query. The answer is evaluated against that metrics generation; if it is no longer published the request fails with snapshot_expired.
Success (or success-with-empty when nothing is cached).
application/json- response
Standard DalalOS response envelope. source is a per-tool provenance tag; stale/data_age_seconds describe cache freshness.
as_of?stringISO date (YYYY-MM-DD) the data refers to: the trade date of the newest row, or the end date of the newest period. Present only on tools that state one; cached_at is the fetch time.
datecached_at?stringISO timestamp the served data was refreshed.
data?unknownTool payload (object or array); null on error.
data_age_seconds?numberPresent only when cached_at is set.
error?stringreason_code?stringStable machine-readable category (no_data, not_found, bad_request,...).
resolved_via?stringPresent only when a query resolved via a rename/merger alias (rename, merger, demerger_successor; single-company result) or, on /v1/search, an everyday name (common_name: the company it means is the first row and carries the same resolved_via on the row; ordinary matches follow).
source?stringstale*booleanstatus*string"success""error"What comes back
The top-level fields of data in the saved answer, run on 2026-11-27. The fields can differ for another company or window.
| Field | Type |
|---|---|
dialect | string |
query | string |
company | object |
in_universe | boolean |
in_screen | boolean |
checks | list |
snapshot | object |
listing_note | string |
Errors
| Status | Meaning on this route |
|---|---|
| 409 | The pinned snapshot_id is no longer the published metrics generation (reason_code=snapshot_expired). |
| 503 | No metrics generation is published yet (reason_code=snapshot_unavailable). |
The errors every route can return (401, 402, 403, 429 and the rest) are on Plans, credits and errors.
In MCP
No MCP tool reads this data. Use the REST route.
Notes
in_screenis the screen's own answer for that company: it comes from the same compiled query, generation, scope and results-season restriction as POST /screen/query, so it equals membership in that screen's result.- A missing value never meets a condition.
- Works for a company that is out of the result.
companyis an NSE symbol, ISIN or BSE code; an unmatched one is a 200 within_universe: falseand a reason.- Stored figures and dates only.
Research data only. Answers are disclosed facts and mechanically computed figures. They are not investment advice.
KEEP EXPLORING