{
  "cik": 1422930,
  "cik_padded": "0001422930",
  "entityName": "PubMatic, Inc.",
  "fiscal_years": [
    {
      "accn": "0001422930-26-000010",
      "filed": "2026-02-26",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 46498000.0,
        "capex": 14345000.0,
        "cash": 145518000.0,
        "cost_of_revenue": 103085000.0,
        "eps_diluted": -0.31,
        "free_cash_flow": 66714000.0,
        "gross_profit": 179841000.0,
        "net_income": -14462000.0,
        "operating_cash_flow": 81059000.0,
        "operating_income": -17259000.0,
        "revenue": 282926000.0,
        "stockholders_equity": 262589000.0,
        "total_assets": 680195000.0,
        "total_liabilities": 417606000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.6356467768957254,
        "leverage": 1.5903407987387133,
        "net_margin": -0.05111583947746054,
        "operating_margin": -0.06100181672946283,
        "revenue_growth_yoy": -0.02860026917900404,
        "roa_avg2y": -0.020373117402519098,
        "roa_period_end": -0.021261549996692122,
        "roe_avg2y": -0.053577647207012295,
        "roe_period_end": -0.05507466040085457
      }
    },
    {
      "accn": "0001422930-26-000010",
      "filed": "2026-02-26",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 75332000.0,
        "capex": 17592000.0,
        "cash": 100452000.0,
        "cost_of_revenue": 101027000.0,
        "eps_diluted": 0.23,
        "free_cash_flow": 55833000.0,
        "gross_profit": 190229000.0,
        "net_income": 12504000.0,
        "operating_cash_flow": 73425000.0,
        "operating_income": 3927000.0,
        "revenue": 291256000.0,
        "stockholders_equity": 277263000.0,
        "total_assets": 739519000.0,
        "total_liabilities": 462256000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.6531333260087346,
        "leverage": 1.6672112759365656,
        "net_margin": 0.042931304419479774,
        "operating_margin": 0.013482984041530475,
        "revenue_growth_yoy": 0.09078924700577498,
        "roa_avg2y": 0.017430068540984497,
        "roa_period_end": 0.016908287684292086,
        "roe_avg2y": 0.04360881802107201,
        "roe_period_end": 0.04509797556832321
      }
    },
    {
      "accn": "0001422930-26-000010",
      "filed": "2026-02-26",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 59268000.0,
        "capex": 10601000.0,
        "cash": 78509000.0,
        "cost_of_revenue": 99229000.0,
        "eps_diluted": 0.16,
        "free_cash_flow": 70520000.0,
        "gross_profit": 167785000.0,
        "net_income": 8881000.0,
        "operating_cash_flow": 81121000.0,
        "operating_income": 2036000.0,
        "revenue": 267014000.0,
        "stockholders_equity": 296199000.0,
        "total_assets": 695243000.0,
        "total_liabilities": 399044000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.6283752911832339,
        "leverage": 1.3472158920185415,
        "net_margin": 0.03326042829214947,
        "operating_margin": 0.0076250683484761096,
        "revenue_growth_yoy": 0.04147749434433263,
        "roa_avg2y": 0.013280814225619813,
        "roa_period_end": 0.012773950978291043,
        "roe_avg2y": 0.029195232639750685,
        "roe_period_end": 0.029983220740110533
      }
    },
    {
      "accn": "0001422930-26-000010",
      "filed": "2026-02-26",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 35869000.0,
        "cash": 92382000.0,
        "cost_of_revenue": 81512000.0,
        "eps_diluted": 0.5,
        "free_cash_flow": 51343000.0,
        "gross_profit": 174868000.0,
        "net_income": 28705000.0,
        "operating_cash_flow": 87212000.0,
        "operating_income": 40520000.0,
        "revenue": 256380000.0,
        "stockholders_equity": 312188000.0,
        "total_assets": 642175000.0,
        "total_liabilities": 329987000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.6820656837506825,
        "leverage": 1.0570137225005445,
        "net_margin": 0.11196271159996879,
        "operating_margin": 0.15804664950464153,
        "revenue_growth_yoy": 0.1298852398328838,
        "roa_avg2y": 0.04814699888459313,
        "roa_period_end": 0.04469965352123642,
        "roe_avg2y": 0.10083109693554959,
        "roe_period_end": 0.09194780068420311
      }
    },
    {
      "accn": "0001422930-25-000012",
      "filed": "2025-02-27",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 52000.0,
        "capex": 30432000.0,
        "cash": 82505000.0,
        "cost_of_revenue": 58313000.0,
        "eps_diluted": 1.0,
        "free_cash_flow": 58249000.0,
        "gross_profit": 168595000.0,
        "net_income": 56604000.0,
        "operating_cash_flow": 88681000.0,
        "operating_income": 58789000.0,
        "revenue": 226908000.0,
        "stockholders_equity": 257180000.0,
        "total_assets": 550215000.0,
        "total_liabilities": 293035000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.743010383062739,
        "leverage": 1.1394159732483087,
        "net_margin": 0.24945793008620235,
        "operating_margin": 0.2590873834329332,
        "revenue_growth_yoy": 0.5254524430580579,
        "roa_avg2y": 0.12285707154182325,
        "roa_period_end": 0.10287614841471061,
        "roe_avg2y": 0.26168785988206383,
        "roe_period_end": 0.2200948751846955
      }
    },
    {
      "accn": "0001422930-24-000012",
      "filed": "2024-02-28",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 3000.0,
        "capex": 24177000.0,
        "cash": 81188000.0,
        "cost_of_revenue": 41186000.0,
        "eps_diluted": 0.46,
        "free_cash_flow": 153000.0,
        "gross_profit": 107562000.0,
        "net_income": 26613000.0,
        "operating_cash_flow": 24330000.0,
        "operating_income": 31755000.0,
        "revenue": 148748000.0,
        "stockholders_equity": 175427000.0,
        "total_assets": 371246000.0,
        "total_liabilities": 195819000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.7231156049156964,
        "leverage": 1.1162420836017262,
        "net_margin": 0.1789133299271251,
        "operating_margin": 0.21348186194100088,
        "revenue_growth_yoy": 0.3062851823554724,
        "roa_period_end": 0.0716856208551742,
        "roe_avg2y": 0.28203389112027216,
        "roe_period_end": 0.1517041276428372
      }
    },
    {
      "accn": "0001422930-23-000008",
      "filed": "2023-02-28",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD"
      },
      "fundamentals": {
        "buybacks": 5000.0,
        "capex": 9553000.0,
        "cost_of_revenue": 36104000.0,
        "eps_diluted": 0.04,
        "free_cash_flow": 25572000.0,
        "gross_profit": 77767000.0,
        "net_income": 6643000.0,
        "operating_cash_flow": 35125000.0,
        "operating_income": 8509000.0,
        "revenue": 113871000.0,
        "stockholders_equity": 13295000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.6829394665893862,
        "net_margin": 0.05833794381361365,
        "operating_margin": 0.07472490800994107,
        "roe_avg2y": 0.74140625,
        "roe_period_end": 0.4996615268898082
      }
    },
    {
      "accn": "0001422930-22-000009",
      "filed": "2022-03-01",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "stockholders_equity": "USD"
      },
      "fundamentals": {
        "stockholders_equity": 4625000.0
      },
      "period_end": "2018-12-31",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0001422930-26-000010",
    "filed": "2026-02-26",
    "form": "10-K"
  },
  "note": "Static grepcent export of verified SEC companyfacts-derived values. Monetary values are raw reported units from grepcent's resolved facts; no scaling and no FX conversion. Capex, dividends, and buybacks are reported as positive outflow magnitudes. ROE/ROA include both period-end basis (site-consistent) and average-of-two-years basis where the prior-year denominator exists.",
  "schema_version": "1",
  "sic": "7370",
  "sic_description": "Services-Computer Programming, Data Processing, Etc.",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0001422930.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001422930.json"
  },
  "ticker": "PUBM"
}
