Developer API

MBridge API forDevelopers

Integrate UK compliance calculations directly into your applications. RESTful JSON API with sub-100ms response times.

Fast & Reliable

Sub-100ms responses with 99.9% uptime SLA.

UK Compliant

Based on current HMRC rates and UK legislation.

Simple Integration

RESTful JSON API. No SDK required.

Authentication

All API requests require these headers:

AuthorizationBearer token with Supabase anon key
x-api-keyYour MBridge API key from dashboard
Content-Typeapplication/json

Base URL

endpoint
https://ycgsmeobmphvxedmefhr.supabase.co/functions/v1/calculate

Quick Start

curl
curl -X POST https://ycgsmeobmphvxedmefhr.supabase.co/functions/v1/calculate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_ANON_KEY" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "calculator": "holiday-pay",
    "inputs": {
      "weeklyHours": 40,
      "hourlyRate": 15
    }
  }'

Available Endpoints

32 calculators

Rate Limits

API calls are rate-limited based on your subscription tier. Daily limits reset at midnight UTC. API access requires Practice tier or higher.

TierDaily LimitBurst Rate
Practice150 calls/day5 req/sec
Enterprise300 calls/day10 req/sec
Bureau Silver500 calls/day20 req/sec
Bureau Gold1,000 calls/day50 req/sec
Bureau Platinum2,000 calls/day100 req/sec

Response Headers

Every API response includes rate limit information in headers:

X-RateLimit-LimitYour daily rate limit100
X-RateLimit-RemainingCalls remaining today42
X-Monthly-RemainingMonthly allowance remaining158
X-Banked-RemainingBanked calls from add-on packs500

Rate Limit Exceeded

When you exceed your monthly allowance, you'll receive a 429 Too Many Requests response.

The response includes a Retry-After header indicating seconds until the next billing period.

Need more calls? Purchase an add-on pack below — credits are added instantly and never expire.

API Pricing

Choose a plan that fits your needs. Need more calls? Purchase add-on packs anytime.

Practice

For individuals

£299/year
  • 150 API calls/month
  • Up to 25 clients
  • All calculators
Get Started
Popular

Enterprise

For teams

£549/year
  • 300 API calls/month
  • Up to 50 clients
  • Unlimited team members
Get Started
Pro

Bureau

For agencies

From £899/year
  • Up to 1,500 calls/month
  • Unlimited clients
  • White-label reports
Contact Sales

Need More Calls? Add-on Packs

Purchase additional API calls anytime. Never expire!

+100

calls

£9-10

+500

calls

£40-50

+1,000

calls

£70-100

+5,000

calls

£300-500

First purchase of each pack size per month gets discounted pricing

Ready to integrate?

Get your API key and start making requests in minutes.

We use essential cookies to keep you logged in and remember your preferences. We do not use tracking or advertising cookies. Read our Cookie Policy for details.

AI Compliance Assistant

UK Tax & Employment Expert

Coming Soon

Our AI Compliance Assistant is being built with privacy-first, UK-hosted inference. No data leaves the UK.

ICO Registered (ZC013807) • ISO 42001 Certified