{"slug":"api-agentstools-dev-edgar-ratios-1241e6","title":"Key financial ratios computed from SEC EDGAR XBRL","host":"api.agentstools.dev","method":"GET","resource":"https://api.agentstools.dev/edgar/ratios","category":"market","description":"Key financial ratios computed from SEC EDGAR XBRL: margins, liquidity, leverage and growth. Give a ticker or CIK and get ratios over recent periods, each computed number citing the source facts it was derived from, plus restatement flags and simple anomaly flags.","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1054,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"freq":"annual","periods":5,"ticker":"AAPL"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"cik":{"description":"SEC EDGAR CIK, any zero-padding accepted","type":"string"},"freq":{"description":"Reporting frequency, default annual","enum":["annual","quarterly"],"type":"string"},"periods":{"description":"Number of recent periods to return, default 8","maximum":12,"minimum":1,"type":"integer"},"ticker":{"description":"Stock ticker symbol, e.g. AAPL","type":"string"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1054,"error":null}],"description_full":"Key financial ratios computed from SEC EDGAR XBRL: margins, liquidity, leverage and growth. Give a ticker or CIK and get ratios over recent periods, each computed number citing the source facts it was derived from, plus restatement flags and simple anomaly flags.","last_updated":"2026-09-24T22:11:03.769Z","schemes":["exact"]}