The platform · query.castomapi.com
Query
Read-only SQL and document queries against the customer's own MySQL, PostgreSQL or MongoDB, from a browser, safely.
A dashboard that shows the numbers in your own database needs a way to ask it without exposing it. castomapi-query holds the connection, allows reads only, and answers in the platform envelope. It is what fills dash-b's database widgets.
Operations
| Method | Path | Description |
|---|---|---|
| GET | /v1/connections/ | Every database this account has connected, with its plan cap |
| POST | /v1/connections/ | Connect a database |
| DELETE | /v1/connections/{id} | Disconnect a database and destroy its sealed credential |
| POST | /v1/connections/{id}/test | Check that a connection still works, while the form is still open |
| POST | /v1/connector/ | Register a connector |
| POST | /v1/connector/op | Run one operation through a connector |
| POST | /v1/query | Run one read-only query |
Base URL: https://query.castomapi.com · Open the live docs
The platform
Auth
One identity for every product: sign-in, sessions, OAuth clients, projects and the revocation keys every service checks.
Billing & plans
Plan entitlements for every castomo product: Stripe subscriptions in, effective quotas out, pushed to the product that enforces them.
Pay
Payments between people and businesses on the platform, with Stripe underneath.
Book
Bookings and availability: resources, slots, reservations, reminders and refunds by policy.
Events
A free global events API: what is happening where, for dashboards and sites that need a calendar they did not write.
Data
Free global reference data: countries, languages, currencies, logistics, standards — tens of millions of records, no key.