MBridge API forDevelopers
Integrate UK compliance calculations directly into your applications. RESTful JSON API with sub-100ms response times.
{
"success": true,
"calculator": "holiday-pay",
"result": {
"entitlementDays": 28,
"remainingDays": 23,
"holidayPayValue": 2760
},
"timestamp": "2026-04-06T12:00:00Z"
}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 keyx-api-keyYour MBridge API key from dashboardContent-Typeapplication/jsonBase URL
https://ycgsmeobmphvxedmefhr.supabase.co/functions/v1/calculateQuick Start
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 calculatorsRate Limits
API calls are rate-limited based on your subscription tier. Daily limits reset at midnight UTC. API access requires Practice tier or higher.
| Tier | Daily Limit | Burst Rate |
|---|---|---|
| Practice | 150 calls/day | 5 req/sec |
| Enterprise | 300 calls/day | 10 req/sec |
| Bureau Silver | 500 calls/day | 20 req/sec |
| Bureau Gold | 1,000 calls/day | 50 req/sec |
| Bureau Platinum | 2,000 calls/day | 100 req/sec |
Response Headers
Every API response includes rate limit information in headers:
X-RateLimit-LimitYour daily rate limit100X-RateLimit-RemainingCalls remaining today42X-Monthly-RemainingMonthly allowance remaining158X-Banked-RemainingBanked calls from add-on packs500Rate 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.
Enterprise
For teams
- 300 API calls/month
- Up to 50 clients
- Unlimited team members
Bureau
For agencies
- Up to 1,500 calls/month
- Unlimited clients
- White-label reports
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.