GET /v1/edgar/13f/{cik}/diff

$0.05dailytier: deepcache 86400sEngine D — Gov Data / EDGAR

Parses a fund's 13F-HR information tables and diffs the latest quarter against the prior one: new positions, exits, increases, decreases (with share deltas), and the change in top-10 concentration. CIKs may be zero-padded or not.

Parameters

NameInTypeRequiredNotes
cikpathstringyes
quarterquerystringnoDefaults to the latest filed quarter

Example

curl "https://x402-factory.com/v1/edgar/13f/1067983/diff"

Berkshire Hathaway's latest quarter vs prior.

Example response

{
  "data": {
    "fund_name": "Berkshire Hathaway Inc",
    "quarter": "2026Q1",
    "prior_quarter": "2025Q4",
    "new_positions": [
      {
        "issuer": "DELTA AIR LINES INC",
        "cusip": "247361702",
        "shares": 39809456,
        "value_usd": 2646532635,
        "pct_of_portfolio": 1.01
      },
      {
        "issuer": "ALPHABET INC",
        "cusip": "02079K107",
        "shares": 3585215,
        "value_usd": 1028454775,
        "pct_of_portfolio": 0.39
      },
      {
        "issuer": "MACYS INC",
        "cusip": "55616P104",
        "shares": 3038355,
        "value_usd": 54963842,
        "pct_of_portfolio": 0.02
      }
    ],
    "exits": [
      {
        "issuer": "ATLANTA BRAVES HLDGS INC",
        "cusip": "47726302",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -115428
      },
      {
        "issuer": "DIAGEO PLC",
        "cusip": "25243Q205",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -227750
      },
      {
        "issuer": "ALLEGION PLC",
        "cusip": "G0176J109",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -780133
      },
      {
        "issuer": "CHARTER COMMUNICATIONS INC N",
        "cusip": "16119P108",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -1060882
      },
      {
        "issuer": "LAMAR ADVERTISING CO NEW",
        "cusip": "512816109",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -1202410
      },
      {
        "issuer": "LIBERTY LATIN AMERICA LTD",
        "cusip": "G9001E128",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -1284020
      },
      {
        "issuer": "HEICO CORP NEW",
        "cusip": "422806208",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -1294612
      },
      {
        "issuer": "AMAZON COM INC",
        "cusip": "23135106",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -2276000
      },
      {
        "issuer": "LIBERTY LATIN AMERICA LTD",
        "cusip": "G9001E102",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -2396665
      },
      {
        "issuer": "LIBERTY MEDIA CORP DEL",
        "cusip": "531229755",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -3018555
      },
      {
        "issuer": "POOL CORP",
        "cusip": "73278L105",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -3068885
      },
      {
        "issuer": "DOMINOS PIZZA INC",
        "cusip": "25754A201",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -3350000
      },
      {
        "issuer": "AON PLC",
        "cusip": "G0403H108",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -3602995
      },
      {
        "issuer": "MASTERCARD INCORPORATED",
        "cusip": "57636Q104",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -3986648
      },
      {
        "issuer": "UNITEDHEALTH GROUP INC",
        "cusip": "91324P102",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -5039564
      },
      {
        "issuer": "VISA INC",
        "cusip": "92826C839",
        "shares": 0,
        "value_usd": 0,
        "pct_of_portfolio": 0,
        "delta_shares": -8297460
      }
    ],
    "increases": [
      {
        "issuer": "ALPHABET INC",
        "cusip": "02079K305",
        "shares": 54249798,
        "value_usd": 15600071913,
        "pct_of_portfolio": 5.93,
        "delta_shares": 36403656
      },
      {
        "issuer": "NEW YORK TIMES CO MTN BE",
        "cusip": "650111107",
        "shares": 15146535,
        "value_usd": 1268219376,
        "pct_of_portfolio": 0.48,
        "delta_shares": 10080791
      },
      {
        "issuer": "LENNAR CORP",
        "cusip": "526057104",
        "shares": 10099642,
        "value_usd": 877052911,
        "pct_of_portfolio": 0.33,
        "delta_shares": 3048692
      },
      {
        "issuer": "LENNAR CORP",
        "cusip": "526057302",
        "shares": 237703,
        "value_usd": 19995576,
        "pct_of_portfolio": 0.01,
        "delta_shares": 56723
      }
    ],
    "decreases": [
      {
        "issuer": "BANK AMERICA CORP",
        "cusip": "60505104",
        "shares": 513624165,
        "value_usd": 25039178044,
        "pct_of_portfolio": 9.52,
        "delta_shares": -3671769
      },
      {
        "issuer": "CHEVRON CORPORATION",
        "cusip": "166764100",
        "shares": 84375856,
        "value_usd": 17457364606,
        "pct_of_portfolio": 6.64,
        "delta_shares": -45780506
      },
      {
        "issuer": "DAVITA INC",
        "cusip": "23918K108",
        "shares": 30100585,
        "value_usd": 4626158909,
        "pct_of_portfolio": 1.76,
        "delta_shares": -1658480
      },
      {
        "issuer": "LIBERTY LIVE HOLDINGS INC",
        "cusip": "530909308",
        "shares": 10587143,
        "value_usd": 996356028,
        "pct_of_portfolio": 0.38,
        "delta_shares": -330518
      },
      {
        "issuer": "NUCOR CORP",
        "cusip": "670346105",
        "shares": 3907075,
        "value_usd": 660686383,
        "pct_of_portfolio": 0.25,
        "delta_shares": -2500674
      },
      {
        "issuer": "CONSTELLATION BRANDS INC",
        "cusip": "21036P108",
        "shares": 632890,
        "value_usd": 94933500,
        "pct_of_portfolio": 0.04,
        "delta_shares": -12367110
      }
    ],
    "concentration_top10_pct_change": 2.46
  },
  "meta": {
    "endpoint": "/v1/edgar/13f/{cik}/diff",
    "version": "1.0.0",
    "generated_at": "2026-08-18T22:54:16.750Z",
    "freshness": "daily",
    "sources": [
      "edgar"
    ],
    "request_id": "req_00000000",
    "docs": "https://x402-factory.com/docs/gov.edgar-13f-diff",
    "data_mode": "live"
  }
}

Response schema (data payload)

{
  "type": "object",
  "properties": {
    "fund_name": {
      "type": "string"
    },
    "quarter": {
      "type": "string"
    },
    "prior_quarter": {
      "type": "string"
    },
    "new_positions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "issuer": {
            "type": "string"
          },
          "cusip": {
            "type": "string"
          },
          "shares": {
            "type": "number"
          },
          "value_usd": {
            "type": "number"
          },
          "pct_of_portfolio": {
            "type": "number",
            "description": "Percent of current portfolio value (0–100)"
          },
          "delta_shares": {
            "type": "number"
          }
        },
        "required": [
          "issuer",
          "cusip",
          "shares",
          "value_usd",
          "pct_of_portfolio"
        ],
        "additionalProperties": false
      }
    },
    "exits": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "issuer": {
            "type": "string"
          },
          "cusip": {
            "type": "string"
          },
          "shares": {
            "type": "number"
          },
          "value_usd": {
            "type": "number"
          },
          "pct_of_portfolio": {
            "type": "number",
            "description": "Percent of current portfolio value (0–100)"
          },
          "delta_shares": {
            "type": "number"
          }
        },
        "required": [
          "issuer",
          "cusip",
          "shares",
          "value_usd",
          "pct_of_portfolio"
        ],
        "additionalProperties": false
      }
    },
    "increases": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "issuer": {
            "type": "string"
          },
          "cusip": {
            "type": "string"
          },
          "shares": {
            "type": "number"
          },
          "value_usd": {
            "type": "number"
          },
          "pct_of_portfolio": {
            "type": "number",
            "description": "Percent of current portfolio value (0–100)"
          },
          "delta_shares": {
            "type": "number"
          }
        },
        "required": [
          "issuer",
          "cusip",
          "shares",
          "value_usd",
          "pct_of_portfolio"
        ],
        "additionalProperties": false
      }
    },
    "decreases": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "issuer": {
            "type": "string"
          },
          "cusip": {
            "type": "string"
          },
          "shares": {
            "type": "number"
          },
          "value_usd": {
            "type": "number"
          },
          "pct_of_portfolio": {
            "type": "number",
            "description": "Percent of current portfolio value (0–100)"
          },
          "delta_shares": {
            "type": "number"
          }
        },
        "required": [
          "issuer",
          "cusip",
          "shares",
          "value_usd",
          "pct_of_portfolio"
        ],
        "additionalProperties": false
      }
    },
    "concentration_top10_pct_change": {
      "type": "number",
      "description": "Percentage-point change in top-10 holdings' share of the portfolio"
    }
  },
  "required": [
    "fund_name",
    "quarter",
    "prior_quarter",
    "new_positions",
    "exits",
    "increases",
    "decreases",
    "concentration_top10_pct_change"
  ],
  "additionalProperties": false
}

The platform wraps every payload in an envelope: { "data": …, "meta": { endpoint, version, generated_at, freshness, sources, request_id, docs, data_mode } }.

Payment (x402)

Unpaid requests receive 402 with payment requirements (accepts). Pay $0.05 in USDC on Base per call via an X-PAYMENT header — see docs.x402.org. With PAYMENT_MODE=disabled (local dev) the endpoint is open.

Errors

StatusCodeMeaning
400INVALID_PARAMSInput failed validation; message lists the offending fields.
404NOT_FOUNDNo matching resource; suggestion may point to a sibling endpoint.
410RESOLVEDMarket/event settled; body includes a resolution summary.
503STALE_DATAUpstream feed down; stale data is never silently served beyond 2× cache TTL.
500INTERNALOur bug. The request_id helps us find it.