# Get market cap, shares outstanding and free float with TickerLayer

TickerLayer's fundamentals API returns one listed company's reference and share-structure data from a single GET: shares outstanding and free float, market capitalization, short interest, ownership and beta, with an `as_of` date on the figures. One company costs $0.02, quoted in a 402 that you pay over x402 or MPP before sending the request again. Send `GET https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/fundamentals/stocks/{symbol}` with a market-qualified symbol such as `US:KO` and your agent credential as a bearer.

## At a glance

- **Endpoint:** `GET https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/fundamentals/stocks/{symbol}`, one company per request, no body
- **Symbol:** `CC:SYMBOL` for the US, DE, ES and FR markets, for example `US:KO` or `DE:RHM`
- **Price:** $0.02 per company. Several stocks or a whole market go through `GET https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/fundamentals/stocks` at $0.50 per thousand items. A market page is metered by its `limit`, 40 at minimum.
- **Payment:** a 402 quote paid over x402 (Base USDC) or MPP (Tempo USDC), then the same request sent again with the proof
- **Credential:** an agent credential as a bearer on every call, registered in one free call at [auth.md](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/auth.md). No TickerLayer API key is needed.
- **Response:** a flat JSON object with `as_of`. A field without a reliable value is absent, never `null`.
- **Data:** derived, indicative data built from non-exchange sources. It can lag and can differ from official prices.
- **Full purchase flow:** [the buyer skill](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/SKILL.md)

## Get one company's fundamentals

1. Register an agent credential at [auth.md](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/auth.md), exchange its assertion at `https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/oauth2/token` for an access token, and keep the token in `ACCESS_TOKEN`. Registering is free and needs no email.

2. Send the request:

   ```bash
   curl -i https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/fundamentals/stocks/US:KO \
     -H "Authorization: Bearer $ACCESS_TOKEN"
   ```

   The storefront answers with a 402 that carries `payment.amountUsd` and a challenge for each rail, also sent in the `payment-required` (x402) and `www-authenticate` (MPP) headers. Nothing is charged yet, so you can stop here at no cost.

3. Pay the challenge and send the identical request again with the proof and the same bearer. A standard x402 or MPP client does both. On MPP, `Authorization` carries the payment, so the bearer moves to `ZC-Agent-Authorization`. `zero fetch` registers and sends the credential and pays the 402 for you. [The buyer skill](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/SKILL.md) and [How to pay](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/payment.md) cover each rail.

4. Read the response. A request for `US:KO` paid $0.02 and returned an object with these 25 fields:

   ```json
   {
     "symbol": "<string>", "base_symbol": "<string>", "market": "<string>",
     "company": "<string>", "exchange": "<string>", "mic": "<string>",
     "country": "<string>", "country_code": "<string>", "sector": "<string>",
     "industry": "<string>", "security_type": "<string>", "employees": <number>,
     "market_cap": <number>, "shares_total": <number>, "free_float": <number>,
     "float_ratio": <number>, "short_interest": <number>, "short_float_ratio": <number>,
     "days_to_cover": <number>, "insider_ownership": <number>,
     "institutional_ownership": <number>, "adv_10d": <number>, "adv_90d": <number>,
     "beta": <number>, "as_of": "<ISO-8601 string>"
   }
   ```

## Read the fields

| Field | What it holds |
| --- | --- |
| `shares_total` | Shares outstanding, checked against market capitalization and the live price |
| `free_float`, `float_ratio` | Shares available to the public, and that count over `shares_total` (0 to 1) |
| `market_cap` | Market capitalization in the listing currency |
| `short_interest`, `short_float_ratio` | Shares sold short, and that count over `free_float` |
| `days_to_cover` | Short interest expressed in days of average volume |
| `insider_ownership`, `institutional_ownership` | Fractions held, 0 to 1 |
| `beta` | Beta against the broad market |
| `adv_10d`, `adv_90d` | Average daily volume over 10 and 90 sessions |
| `free_float_est`, `shares_listed_est` | Listing-level estimates, present only for a depositary receipt whose reported float or share count failed validation |
| `as_of` | ISO-8601 date of the share-structure figures |

Identity fields always come back. Any other field is left out when it fails the live-price cross-check or has no reliable value, so a missing key means "not known", never zero. Save the paid response body as `response.json`, then test for the key before you use it:

```bash
jq 'if has("free_float") then .free_float else "not known" end' response.json
```

## Fundamentals for several stocks or a whole market

Name up to 100 symbols in one call. The response has `count`, `items` and `missing`, the requested symbols that have no coverage:

```bash
curl -i "https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/fundamentals/stocks?symbols=US:KO,DE:RHM" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

Or page through one market (`US`, `DE`, `ES` or `FR`, default `US`) with `limit` from 1 to 1000. Pass each `next_cursor` back as `cursor` until it is absent. When `symbols` is set, `market`, `cursor` and `limit` are ignored.

```bash
curl -i "https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/fundamentals/stocks?market=DE&limit=1000" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

| Job | Cost |
| --- | --- |
| One company on the single route | $0.02 |
| Ten companies, one call each | $0.20 |
| One market page with `limit=40` or less | $0.02 |
| One market page with `limit=1000` | $0.50 |

A list of symbols is priced on the same items meter, and the 402 states the exact amount before you pay.

## Limits

- Coverage is US, German, Spanish and French stocks only. A bare ticker such as `KO` is refused; send `CC:SYMBOL`.
- The single route takes one symbol. A batch takes at most 100, and a page at most 1,000 rows.
- A page is metered by `limit`, not by the rows it returns. Leaving `limit` out meters the default of 500.
- A single call costs less than the card rail's $0.50 floor. To pay by card, buy Credits (minimum $0.50) with `POST https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/plans/{planId}/purchase`, taking the plan from [the catalog](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/manifest.json). Calls then draw down the balance.

## Errors

| Response | Meaning | Action |
| --- | --- | --- |
| `401 bearer_required` | No agent credential on the call | Register at [auth.md](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/auth.md) and retry with the bearer |
| `402` | The price quote, nothing charged | Pay and retry the same request, or stop |
| `404` | Symbol unknown or not covered | Check the `CC:` prefix and the market |
| `400` | Invalid query parameter on the bulk route | Use a valid value from `message` |
| `429 REST_RATE_LIMIT_EXCEEDED` | Per-second limit reached | Wait `retryAfterMs` milliseconds, then retry |
| `503 USAGE_METERING_UNAVAILABLE` | Metering is down and the request fails closed | Retry later |

## Frequently asked questions

### Why is a field missing from the fundamentals response?

TickerLayer omits a field when it has no reliable value, for example when the figure fails a cross-check against the live price. An absent key means the value is not known. Code should treat every field except the identity fields as optional and never read an absent key as zero.

### Does the fundamentals API cover European stocks?

Yes. It covers German, Spanish and French stocks alongside US stocks. You address each one with a market-qualified symbol such as `DE:RHM`.

### How much does company fundamentals data cost?

One company costs $0.02 per request. A batch or market page is priced at $0.50 per thousand items, and a market page meters at least 40 items. Every call is paid per request over x402 or MPP, or drawn from prepaid Credits.

### Is the fundamentals data real-time or official?

The data is derived, indicative market data aggregated from non-exchange sources, and it may be delayed or differ from official prices. `as_of` dates the share-structure figures.

### How do I get fundamentals for many stocks in one call?

Send `GET https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/fundamentals/stocks` with up to 100 symbols in `symbols`. To page through a whole market, use `market` and `limit` instead, and follow `next_cursor` until it is absent.

## Keep reading

- [The buyer skill](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/SKILL.md): the full purchase flow
- [How to pay](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/payment.md): x402, MPP, cards and Credits
- [Identity](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/auth.md): register and present the agent credential
- [Error reference](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/errors.md): every storefront error code
- [Fundamentals API reference](https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/services/fundamentals/openapi.json): parameters and response schemas

---

Updated 2026-11-17. All TickerLayer guides: https://agents.tickerlayer.com/guides.md. Storefront: https://agents.tickerlayer.com/zcj/hj3ppre5z4uz/llms.txt.
