Skip to Content

List Metrics

List exact metric candidates available in one filing period.

Tier: public | Cache: cache-only | Playground: anonymous playground | Contract: 1.0.0

When To Use It

Use these tools when the model needs normalized financial facts, concept-level series, or statement-shaped outputs grounded in XBRL.

Request Examples

BASE_URL="${EDGAR_API_URL:-https://www.edgarparser.com}" curl -sS -G "$BASE_URL/api/financials/list_metrics" \ -H "Authorization: Bearer $EDGAR_API_KEY" \ --data-urlencode "ticker=AAPL" \ --data-urlencode "year=2025" \ --data-urlencode "quarter=4"
import os import requests base_url = os.getenv("EDGAR_API_URL", "https://www.edgarparser.com") headers = {"Authorization": f"Bearer {os.environ['EDGAR_API_KEY']}"} params = { "ticker": "AAPL", "year": 2025, "quarter": 4 } response = requests.get(f"{base_url}/api/financials/list_metrics", headers=headers, params=params, timeout=30) response.raise_for_status() data = response.json()

Key Response Fields

FieldTypeWhy It Matters
statusconst "success"Transport-level success indicator inside the JSON response.
date_type_filter"Q" | "YTD" | "FY" | nullFinancial fact or concept field; inspect unit, period, and source context before using it.
full_year_modebooleanFinancial fact or concept field; inspect unit, period, and source context before using it.
hintstringFinancial fact or concept field; inspect unit, period, and source context before using it.
metricsarray<object>Financial fact or concept field; inspect unit, period, and source context before using it.
quarterintegerFinancial fact or concept field; inspect unit, period, and source context before using it.
returned_candidatesintegerFinancial fact or concept field; inspect unit, period, and source context before using it.
scope_bridgesarray<object> | nullFinancial fact or concept field; inspect unit, period, and source context before using it.

Response Fields To Inspect

  • status / semantic_status for whether the tool produced a usable fact set.
  • coverage_status and coverage_warning before treating the value as complete.
  • source_ref, concept names, units, and period metadata for citation and auditability.

Errors And Coverage

  • 401 or 403: the API key is missing, expired, or not allowed to use this tier.
  • 429: retry after the rate-limit window, and prefer broader batch or series tools over repeated single-period calls.
  • Playground traffic is cache-only and scope-limited; a structured 403 cache miss means the requested filing or period is not warm for anonymous use.
  • Treat partial coverage, empty arrays, and warning fields as answer-quality signals even when HTTP status is 200.

Search Metrics, Metric, Financials

Generated Reference

Contract

FieldValue
Toollist_metrics
MethodGET
Path/api/financials/list_metrics
Contract version1.0.0
Schema fingerprintsha256:07341bd265a257b8c90ee99b42ecef054e6eaa16c2f341f91ffae287bfe907d8

Parameters

NameLocationRequiredTypeNotes
tickerqueryyesstring
yearqueryyesinteger
quarterqueryyesinteger
full_year_modequerynoboolean
sourcequerynoauto | 8k
date_typequerynoQ | YTD | FY | null
limitquerynointeger
include_valuesquerynoboolean

Response Schema (200)

{ "additionalProperties": true, "properties": { "date_type_filter": { "anyOf": [ { "enum": [ "Q", "YTD", "FY" ], "type": "string" }, { "type": "null" } ] }, "full_year_mode": { "type": "boolean" }, "hint": { "type": "string" }, "metrics": { "items": { "additionalProperties": true, "properties": { "axis_key": { "default": "__NONE__", "type": "string" }, "concept_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "current_value": { "anyOf": [ {}, { "type": "null" } ] }, "date_type": { "anyOf": [ { "enum": [ "Q", "YTD", "FY" ], "type": "string" }, { "type": "null" } ] }, "debt_component_kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "dimensions": { "anyOf": [ { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, { "type": "null" } ] }, "has_value": { "type": "boolean" }, "metric_name": { "type": "string" }, "presentation_roles": { "items": { "type": "string" }, "type": "array" }, "prior_value": { "anyOf": [ {}, { "type": "null" } ] }, "scale": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "scope_bridge_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ] }, "scope_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "scope_warning": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "source": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "statement_position": { "default": "aggregate", "enum": [ "aggregate", "dimensional" ], "type": "string" }, "statement_role": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "statement_roles": { "items": { "type": "string" }, "type": "array" }, "tag": { "type": "string" } }, "required": [ "metric_name", "tag", "has_value" ], "type": "object" }, "type": "array" }, "quarter": { "type": "integer" }, "returned_candidates": { "type": "integer" }, "scope_bridges": { "anyOf": [ { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, { "type": "null" } ] }, "scope_warnings": { "anyOf": [ { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, { "type": "null" } ] }, "source": { "additionalProperties": true, "type": "object" }, "status": { "const": "success", "type": "string" }, "ticker": { "type": "string" }, "total_candidates": { "type": "integer" }, "year": { "type": "integer" } }, "required": [ "status", "ticker", "year", "quarter", "full_year_mode", "total_candidates", "returned_candidates", "hint" ], "type": "object" }