API Reference

SplitChey API

Build on top of SplitChey with our RESTful API. Manage expenses, groups, and settlements programmatically.

Base URL

https://api.splitchey.com/v1

Authentication

API Key

Simple key-based auth for server-to-server calls. Pass in the X-API-Key header.

X-API-Key: sk_live_your_api_key

OAuth 2.0

For third-party apps accessing user data. Supports authorization code and PKCE flows.

Authorization: Bearer <access_token>

JWT Tokens

Short-lived tokens for session-based auth. Refresh tokens available.

Authorization: Bearer <jwt_token>

Endpoints

GET/api/v1/expenses
POST/api/v1/expenses
GET/api/v1/expenses/:id
PUT/api/v1/expenses/:id
DELETE/api/v1/expenses/:id
GET/api/v1/groups
POST/api/v1/groups
POST/api/v1/groups/:id/members
GET/api/v1/groups/:id/expenses
GET/api/v1/settlements
POST/api/v1/settlements/:id/confirm
GET/api/v1/analytics/summary

SDKs & Libraries

JavaScript / TypeScript

npm install @splitchey/sdk

Python

pip install splitchey

Go

go get github.com/splitchey/sdk-go

React Native

npm install @splitchey/react-native

Rate Limits

Free

100 requests

requests / min

Pro

1,000 requests

requests / min

Enterprise

10,000 requests

requests / min

Ready to build?

Request API access and start integrating SplitChey into your applications

Request Access