360 Secure SkillHub
360 安全技能中心

Edgrapi Fundamentals

基于 Edgrapi 服务从 SEC EDGAR 的 XBRL 数据解析美股上市公司财务信息:get_fundamentals 返回标准化的利润表、资产负债表与现金流量表数据,get_ratios 返回利润率、回报率、杠杆与流动性比率。需配置 EDGRAPI_KEY,每次调用消耗一个额度,不含实时股价与价格型比率。

paperandbeyond23-gif
paperandbeyond23-gif
热度 16.59
最近更新 2026-06-28 02:41:47
分类:数据依赖:第三方 API应用场景:财务 / 市场分析 / 数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add edgrapi-fundamentals
Metadata
name
edgrapi-fundamentals
version
1.0.0
description
Normalized company financial statements and computed ratios from SEC EDGAR via Edgrapi.com. Pull clean income/balance/cash-flow figures and margin/return/leverage/liquidity ratios for any US-listed ticker, parsed from EDGAR XBRL.
license
MIT-0
author
Edgrapi
homepage
https://edgrapi.com
repository
https://github.com/paperandbeyond23-gif/edgrapi-skills
tags
["edgrapi","sec-edgar","fundamentals","financial-statements","ratios","xbrl","equity-research","api"]
metadata
{"openclaw":{"primaryEnv":"EDGRAPI_KEY","homepage":"https://edgrapi.com","requires":{"env":["EDGRAPI_KEY"]}}}

edgrapi-fundamentals

Clean financial statements and ratios from SEC EDGAR via Edgrapi.com. The focused two-tool variant of edgrapi-full — install this when you only need the numbers, not filings/profile lookups.

Use when the user explicitly asks for a US-listed company's financials: revenue, net income, assets, debt, cash flow, EPS, margins, ROE/ROA, leverage, or liquidity.

When to use this skill

Each call spends one Edgrapi credit (1 credit = 1 request). Activate only for a genuine financials request about a specific company — not when a ticker appears in passing, and not for live stock prices (Edgrapi is filings-derived fundamentals, not a price feed).

Tools

get_fundamentals

Normalized income-statement, balance-sheet, and cash-flow figures, parsed from EDGAR XBRL companyfacts. Args: ticker (required), period (annual | quarterly, default annual), limit (1–20, default 5). Periodized by fiscal period end, in USD.

get_ratios

Margins, returns, leverage, and liquidity ratios derived from the fundamentals. Args: ticker (required). Price-based ratios (P/E, P/B) are not included — EDGAR carries no market price.

Authentication

Set EDGRAPI_KEY to your Edgrapi key (edgr_...), sent as the X-API-Key header.

export EDGRAPI_KEY="edgr_..."

Free key (100 free credits, no card) at https://edgrapi.com/app.

Pricing

Free 100 one-time · Pro $29/mo (60k credits) or $290/yr (720k) · top-up packs from $7. 1 credit = 1 call. See https://edgrapi.com/pricing.

Errors

Functions return a dict; on failure it has an error key: auth_required, auth_invalid, ticker_not_found, out_of_credits, rapidapi_only, edgar_unavailable, network, HTTP <code>, unexpected.

Independence

Edgrapi is an independent service, not affiliated with or endorsed by the U.S. SEC. All data originates from the SEC's public EDGAR system.