API reference
Browse API documentation
API reference

Fathom Analytics API

Manage sites, pull reports, and track events from your own code.

Base URLhttps://api.usefathom.com/v1

Use the API to manage sites, events and milestones, or pull custom reports. The base URL is https://api.usefathom.com/v1.

Each request counts towards your monthly pageviews. Ten Create Site calls count the same as ten pageviews. That keeps the API flexible for you without us having to raise plan prices to cover it.

The first time anyone runs a unique aggregation, there is a short delay while the database builds a query plan. After that, it is fast.

See our community guidelines for what you can and can't do when building plugins, integrations or connections to the API.

Resources

  • Account

    Information about the account and token behind your API key.

    2 endpoints
  • Sites

    Create and manage the sites in your Fathom account.

    5 endpoints
  • Events

    Manage events for a site.

    3 endpoints
  • Milestones

    Annotate your reports with important dates.

    5 endpoints
  • Reports

    Custom reports across your traffic, events and sources.

    2 endpoints