Get early access availability
https://app.speybooks.com/api/v1/early-access/statsReturns early access availability and the current trial length. Used by the pricing page to render a progress bar showing spots remaining.
Authentication
Public — no authentication required. This endpoint is marked with config: { public: true } and bypasses JWT verification.
Response Fields
totalSpots— fixed at 50claimed— verified non-admin organisations to dateremaining—max(0, totalSpots - claimed)trialDays— 90 if early access, 30 otherwiseisEarlyAccess—truewhileclaimed < totalSpots
When all 50 spots are claimed, remaining is 0, isEarlyAccess is false, and trialDays drops to 30. The pricing page should update its messaging accordingly.
Rate limiting: No explicit rate limit on this endpoint, but the 5-minute cache means rapid polling yields identical results. The pricing page should not poll more frequently than once per page load.
After early access ends: This endpoint continues to function — it returns isEarlyAccess: false and trialDays: 30. The pricing page can use isEarlyAccess to conditionally hide the progress bar.
Response
Show response fields
claimed numberisEarlyAccess booleanremaining numbertotalSpots numbertrialDays number