FREEDOM251

Freedom251 › API Governance Software

Google API Linter

Free plan Self-hosted

Visit Google API Linter Alternatives Pricing

Google API Linter's own site

What Google API Linter is

Google API Linter checks API surfaces defined with Protocol Buffers against Google API standards set out in API Improvement Proposals (AIPs). When it can, it recommends corrections for common errors and inconsistencies. Rules are organized by AIP block. Core and client library rules are active by default; Cloud rules are off unless enabled. Developers can adjust rule selection using command-line flags, a configuration file, or comments in proto files. The CLI reports findings in YAML, JSON, GitHub format, or a summary table, with YAML as its default. The tool is self-hosted, and its installation instructions use Go to place the CLI in the local Go binary directory. It is free and open source under Apache 2.0, which also applies to its documentation. The project accepts contributions, including new lint rules, and requires every rule to match an AIP that mandates the behavior. Its coverage is limited: some AIP guidance cannot be expressed as lint rules, and some guidance that could be encoded may not yet have a rule. The project also does not follow semantic versioning, since changes to rules can make previously clean files produce findings. Developers can visit the project website for documentation and links to GitHub for the source and issue reporting.

Who it suits

Google API Linter suits developers who define APIs with Protocol Buffers and want to check them against AIP requirements. It may also suit teams that want to configure rule groups and use lint output in CI/CD workflows.

What it does well

  • Suggests fixes for common API mistakes when possible.
  • Supports YAML, JSON, GitHub, and summary table output.
  • Rules can be configured through flags, files, or proto comments.
  • Free and licensed under Apache 2.0.
  • Supports CI/CD integration.

What to know first

  • Some AIP guidance cannot be represented as lint rules.
  • Some expressible guidance may not yet have a rule.
  • Cloud rules are disabled by default.
  • Rule changes can create findings in previously clean files.

Limits

Some AIP guidance cannot be expressed as lint rules, and some guidance that could be encoded may not yet be covered. Cloud rules are disabled by default.

Plans

PlanBilled and limitsPrice
Apache 2.0 open-source softwareNo paid plans statedFree

As linter.aip.dev lists them, read 4 Oct 2026. The maker's own page has the final word.

Getting started

  1. Open https://linter.aip.dev/ for the project documentation.
  2. Install the CLI with Go into the local Go binary directory, following the installation instructions.
  3. Configure rule selection with CLI flags, a configuration file, or proto comments.
  4. Run the CLI and choose YAML, JSON, GitHub, or summary table output.

Verdict

Choose Google API Linter if you define APIs with Protocol Buffers and need checks tied to AIP requirements, with configurable rules and several output formats. Look elsewhere if you need complete AIP guidance coverage, since some guidance cannot be linted and some possible rules may not exist yet.

Questions

How much does Google API Linter cost?

It is free. The listed plan is Apache 2.0 open-source software at no cost.

Is Google API Linter open source?

Yes. The software and its documentation are licensed under Apache 2.0.

What API format does it check?

It checks API surfaces defined with Protocol Buffers against standards in API Improvement Proposals.

Where can I run it?

It is self-hosted. Installation instructions use Go to install the CLI in the local Go binary directory.

Which output formats are available?

The CLI supports YAML, JSON, GitHub output, and a summary table. YAML is the default.

Does the project accept contributions?

Yes. Its contributing guide identifies writing a new lint rule as a common contribution, and each rule must correspond to an AIP requirement.

Facts from Google API Linter's own pages

Configuration
Rules can be configured with CLI flags, a configuration file, or comments in proto files. · linter.aip.dev, 4 Oct 2026
Contributions
The project accepts contributions, and its contributing guide identifies writing a new lint rule as a common contribution. · linter.aip.dev, 4 Oct 2026
Corrections
When able, the linter suggests fixes for common mistakes and inconsistencies. · linter.aip.dev, 4 Oct 2026
Coverage limit
The documentation says some AIP guidance cannot be expressed as lint rules, and some expressible rules may not yet be written. · linter.aip.dev, 4 Oct 2026
Installation
The documentation instructs users to install the CLI with Go install into the local Go binary directory. · linter.aip.dev, 4 Oct 2026
Intended users
The tool is for developers working with APIs defined in protocol buffers and API standards. · github.com, 4 Oct 2026
License
The software and its documentation are licensed under Apache 2.0. · linter.aip.dev, 4 Oct 2026
Output formats
The CLI supports YAML, JSON, GitHub, and summary table output, with YAML as the default. · linter.aip.dev, 4 Oct 2026
Purpose
The linter checks protocol buffer API surfaces for compliance with Google API standards documented in API Improvement Proposals. · linter.aip.dev, 4 Oct 2026
Rule groups
Rules are grouped by AIP block, with core and client library rules enabled by default and Cloud rules disabled by default. · linter.aip.dev, 4 Oct 2026
Rule requirements
Each linter rule must correspond to an AIP that mandates the behavior. · linter.aip.dev, 4 Oct 2026
Support
The project documentation links to GitHub to file an issue and view the source repository. · linter.aip.dev, 4 Oct 2026
Versioning
The project says it does not follow semantic versioning because adding or correcting rules can make previously clean files report problems. · github.com, 4 Oct 2026

Where Google API Linter stands on Freedom251

Look at these too