Screen with a free-form query
Screen the universe with a Screener.in-style expression instead of a fixed filter key set: Return on capital employed > 22% AND Market Capitalization > 500. Metric names come from GET /v1/ratios; dialect selects whether they are Screener.in phrases and surface units (screener, the default) or canonical DalalOS metric ids and storage units (dalalos). Results are paginated against ONE published metrics generation: pass the snapshot_id a page returned back on the next page, and a refresh in between answers 409 snapshot_expired rather than silently mixing two generations. Missing values follow SQL three-valued logic -- a bare comparison against an unknown value does not match, COALESCE(...) and OR behave as they do in SQL. A query that cannot be parsed or resolved returns 400 bad_request naming the metric or position at fault.
Request
- Base URL: https://mcp.dalalos.in/v1
- URL: https://mcp.dalalos.in/v1/screen/query
- Auth: HTTP bearer
Request body
Response
Success (or success-with-empty when nothing is cached).
Changes
No recorded changes to this operation across all 1 revision of this API.