Articles
    Back to Product Metrics and Formulas

    API Error Rate

    Share of API requests that end in a server error (5xx or a server-side contract error), the main reliability signal developers feel when they integrate.

    Category
    Platform
    Role
    Guardrail
    Timing
    Leading
    Direction
    Lower is better
    Unit
    Percent
    Window
    Rolling hour for alerting, calendar day for reporting
    Basis
    All API traffic, sliced by endpoint and status code
    Data source
    API gateway logs and APM
    Decision it informs
    An error rate rising after a deploy means that deploy: roll back first, investigate second; a steady rise on one endpoint means capacity.
    Formula
    API requests with a server error / All API requests × 100
    Numerator
    API requests that returned a 5xx or a server-side handled error (4xx tracked separately)
    Denominator
    All API requests received in the window, retries included

    Calculator, worked example, common mistakes and formula variants are available after free sign-up

    • Calculator
    • Worked example
    • Common mistakes
    • Formula variants

    Description

    Reliability from the developer's perspective. Break it down by status code and endpoint; spikes often cause integration churn.

    Often confused with

    Metric tree

    Open tree

    Related metrics

    These metrics are covered in detail in the LinkedIn Friends All Courses PassTG, YouTube, bots, channels and resources here