> ## Documentation Index
> Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /v1/filings/latest

> Get an issuer's newest filing, optionally for a specific SEC form.

Get an issuer's newest filing, optionally for a specific SEC form.

<Info>
  Audience: engineers and agents that need the newest filing before a targeted read or extraction.
</Info>

## Coverage and source scope

Resolve the newest materialized filing for one issuer and optionally one SEC form, returning filing identity, date, accession number, and provenance. Without form, the newest record may be any filing type, such as a Form 4 or 8-K; retain the returned accession number for an immutable follow-up.

## Agent mode

Pass `?view=agent` to receive the compact agent shape: six essentials (object, ticker, form, accessionNumber, filingDate, title) + lifted `filingUrl`. Provenance chain, freshness, materialization, and validation metadata are dropped. Typical reduction: **\~95%** (summaryMd prose dominates the default shape). See [api conventions → response formats](/api-conventions) for the full `?view=` contract.

## Canonical metadata

* `object`
* `ticker`
* `form`
* `accessionNumber`
* `filingDate`
* `title`
* `filingUrl`
* `requestId`

## Example request

<RequestExample>
  ```bash theme={null}
  curl -X GET -H "x-api-key: $SECAPI_API_KEY" -H "secapi-version: 2026-03-19" "https://api.secapi.ai/v1/filings/latest?ticker=AAPL&form=10-K&view=agent"
  ```
</RequestExample>

## Example response

<ResponseExample>
  ```json theme={null}
  {
    "object": "filing",
    "ticker": "EXAMPLE",
    "form": "10-K",
    "accessionNumber": "0000000000-26-000001",
    "filingDate": "2026-02-20",
    "title": "Example Issuer, Inc. 2025 Form 10-K",
    "filingUrl": "https://www.sec.gov/Archives/edgar/data/0000000/000000000026000001/example-2025-10k.htm",
    "requestId": "req_2ZK8Q1W9F4M6P7R3"
  }
  ```
</ResponseExample>

## Freshness and form selection

Without `form`, this returns the issuer's newest filing of any type, which can be a Form 4 or 8-K rather than an annual report. Specify `form=10-K` or another form when the workflow requires that document class. Keep the returned accession number and filing date, then use [accession-scoped retrieval](/api-reference/filings/get-v1-filings-accession-number) for an immutable follow-up.

## Errors

A missing or conflicting issuer selector is a `400` request error. `404 filing_not_found` means the requested issuer/form/time slice did not resolve; it does not prove the issuer has never filed.

## Give this prompt to your agent

<Prompt>
  Use SEC API GET /v1/filings/latest to get an issuer's newest filing, optionally for a specific SEC form. Preserve `object`, `ticker`, `form`, `accessionNumber`, `filingDate`, `title`, `filingUrl`, `requestId` in the output. Return a concise markdown summary plus the exact structured payload fields that a downstream engineer or agent should keep using this result.
</Prompt>

## Failure posture

* never label an any-form result as the latest annual report
* preserve accessionNumber and filingDate before downstream extraction
* on `404`, relax only the filter the workflow can safely relax
