S

StableFinance · Financial Metrics

by StableFinance

GETBaseSolana

$0.02

per call · USD Coin on Base

Valuation, profitability, liquidity, leverage, efficiency, growth, and per-share ratios over history.

Endpoint

GET https://stablefinance.dev/api/financial-metrics

7

Calls / 30d

2

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://stablefinance.dev/api/financial-metrics", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://stablefinance.dev/api/financial-metrics?limit=1&period=ttm&ticker=AAPL" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "financial_metrics": [
    {
      "currency": "USD",
      "debt_to_equity": 2.07,
      "fiscal_period": "FY2024",
      "gross_margin": 0.46,
      "period": "ttm",
      "price_to_earnings_ratio": 38.58,
      "report_period": "2024-09-28",
      "return_on_equity": 1.66,
      "revenue_growth": 0.02,
      "ticker": "AAPL"
    }
  ]
}

Payment details

Pay to0xbd17480bf6ff056f7b91d9adc9dfda001eb7283d
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from StableFinance & similar services