servicepytan is a Python library that wraps the ServiceTitan API v2, published on PyPI under the MIT license with documentation on Read the Docs.

ServiceTitan’s API is broad — dozens of modules covering jobs, invoices, customers, technicians, and more — and each one has its own auth, pagination, and pagination-adjacent quirks. servicepytan exists to flatten that: a small, consistent syntax for hitting standard REST endpoints, so a script that needs a list of jobs or a customer record doesn’t need to hand-roll request boilerplate.

The library also handles ServiceTitan’s custom reporting endpoints, which return report data with their own pagination scheme. servicepytan auto-paginates those calls, so pulling a full report is a single function call instead of a loop with page tokens.