Your saved query becomes a web address.
Let your apps, vendors, factories and delivery partners call a saved query with their own key. Give them the results their work needs, while SQL, database logins and the rest of your data stay private.
On every plan, including Free. The people and apps that call your address pay nothing.


A vendor checks its invoices
Their accounts app gets the invoices they need. Your other customers stay outside this saved query.
Your saved SQL
SELECT invoice, amount, status FROM ar.invoices WHERE customer_id = 42 AND region = :region;
Save the query once. SQL and database credentials stay private.
Publish it as an endpoint
https://api.querystreams.com
/v1/endpoints/{endpoint-id}X-API-Key: qsapi_example_not_a_real_keyThe URL runs this saved query. It does not open up the database.
Call the URL. Get the rows.
GET /v1/endpoints/{endpoint-id}?region=North
Accept: application/json| Invoice | Amount | Status |
|---|---|---|
| INV-20481 | 12,480.00 | Open |
| INV-20340 | 2,800.00 | Overdue |
{
"rows": [
{
"invoice": "INV-20481",
"amount": 12480,
"status": "Open"
},
{
"invoice": "INV-20340",
"amount": 2800,
"status": "Overdue"
}
],
"columns": [
{
"name": "invoice"
},
{
"name": "amount"
},
{
"name": "status"
}
],
"meta": {
"row_count": 2,
"total_row_count": 2
}
}Illustrative SQL, endpoint ID, key and data. Nothing is sent. Choose steps 1, 2 or 3 to pause and inspect; Play resumes the flow.

A factory checks what to supply
The factory sees stock for the products it supplies, ready for its own planning software.
Your saved SQL
SELECT product, available, reorder_at FROM stock.replenishment WHERE supplier_id = 17 AND warehouse = :warehouse;
Save the query once. SQL and database credentials stay private.
Publish it as an endpoint
https://api.querystreams.com
/v1/endpoints/{endpoint-id}X-API-Key: qsapi_example_not_a_real_keyThe URL runs this saved query. It does not open up the database.
Call the URL. Get the rows.
GET /v1/endpoints/{endpoint-id}?warehouse=Berlin
Accept: application/json| Product | Available | Reorder at |
|---|---|---|
| Packing boxes | 12 | 50 |
| Label rolls | 24 | 100 |
{
"rows": [
{
"product": "Packing boxes",
"available": 12,
"reorder_at": 50
},
{
"product": "Label rolls",
"available": 24,
"reorder_at": 100
}
],
"columns": [
{
"name": "product"
},
{
"name": "available"
},
{
"name": "reorder_at"
}
],
"meta": {
"row_count": 2,
"total_row_count": 2
}
}Illustrative SQL, endpoint ID, key and data. Nothing is sent. Choose steps 1, 2 or 3 to pause and inspect; Play resumes the flow.

A dispatch partner checks ready orders
Their dispatch app gets ready orders for its own deliveries. Other partners and their orders stay outside this saved query.
Your saved SQL
SELECT order_no AS "order", ship_to, status FROM ops.dispatch_queue WHERE delivery_partner_id = 8 AND ship_to = :ship_to AND status = 'Ready';
Save the query once. SQL and database credentials stay private.
Publish it as an endpoint
https://api.querystreams.com
/v1/endpoints/{endpoint-id}X-API-Key: qsapi_example_not_a_real_keyThe URL runs this saved query. It does not open up the database.
Call the URL. Get the rows.
GET /v1/endpoints/{endpoint-id}?ship_to=Montreal
Accept: application/json| Order | Ship to | Status |
|---|---|---|
| ORD-7731 | Montreal | Ready |
| ORD-7732 | Montreal | Ready |
{
"rows": [
{
"order": "ORD-7731",
"ship_to": "Montreal",
"status": "Ready"
},
{
"order": "ORD-7732",
"ship_to": "Montreal",
"status": "Ready"
}
],
"columns": [
{
"name": "order"
},
{
"name": "ship_to"
},
{
"name": "status"
}
],
"meta": {
"row_count": 2,
"total_row_count": 2
}
}Illustrative SQL, endpoint ID, key and data. Nothing is sent. Choose steps 1, 2 or 3 to pause and inspect; Play resumes the flow.
Give each partner the data their work needs.
Choose the saved query and pin the values that define its scope. Expose only the filters the caller should be able to change.

Halden Logistics
Their accounts app gets the invoices they need. Your other customers stay outside this saved query.
Customer fixed to Halden Logistics
Packaging factory
The factory sees stock for the products it supplies, ready for its own planning software.
Supplier fixed to this factory
Dispatch partner
Their dispatch app gets ready orders for its own deliveries. Other partners and their orders stay outside this saved query.
Partner fixed to this dispatch companyShare the capability, not the keys to the kingdom.
One saved query decides what each address returns. Pin the values that define its scope and choose which filters callers may change. They receive those results, while the SQL and database connection stay inside your setup.
Pass the filters you expose as request parameters. Fixed conditions keep the endpoint scoped to the data you allow. How do Dynamic Filters work with the REST API?
- A stable web address and their own key
- Live rows as JSON, CSV or NDJSON, read-only
- Filter parameters that reshape the result without exposing the query
- Your SQL, schema or table names
- A database login or connection string
- Any write access, or a path into your network
One key per app or person. Never a shared secret.
Hand an address out two ways. Email an invite: the person claims a magic link and gets their own tracked key. Or mint a service key and paste it straight into a script or dashboard.
- Every key has its own line in your ledgerIts own rate limit, its own usage. Review calls in the activity ledger.
- Revoke one in a clickThe others keep working. Nothing to rotate, no key-management service to build.
- Nothing to hostQuery Streams hosts the address, the keys, the quotas and the TLS. You run the agent inside your network; it opens one outbound connection and no inbound port.
| Key | Issued as | State |
|---|---|---|
| Halden LogisticsRecipient key | Invite, claimed | Active |
| Finance dashboardInternal app | Service key | Active |
| Nightly syncInternal script | Service key | Active |
Rows returnedSeparate keys keep caller usage and revocation independent. Illustrative only.
| Key | Issued as | State |
|---|---|---|
| Halden LogisticsRecipient key | Invite, claimed | Revoked |
| Finance dashboardInternal app | Service key | Active |
| Nightly syncInternal script | Service key | Active |
API_KEY_REVOKEDOnly this key is refused. The other keys remain active. Illustrative only.
| Key | Issued as | State |
|---|---|---|
| Halden LogisticsRecipient key | Invite, claimed | Revoked |
| Finance dashboardInternal app | Service key | Active |
| Nightly syncInternal script | Service key | Active |
Rows returnedSeparate keys keep caller usage and revocation independent. Illustrative only.
Decide how long the address lives.
Give every address a lifetime when you create it.
PermanentStays up until you take it down. For your own dashboards, apps and integrations.
until revoked
ExpiringSwitches off on a date you pick. For a project, an audit or a contract with an end.
until a date
Self-destructSet a call budget. After the last allowed call the address is gone. For a single, secure data drop.
until the last allowed callBuilt for the people who write the code.
An address is not just a URL. Each one comes with the layer you would otherwise assemble yourself.
- OpenAPI 3.1 specEvery address publishes a real spec. Drop it into Swagger UI, a client generator or an AI tool. No hand-written docs.
- JSON, NDJSON, CSV and streamingPick the format per request. Stream large results so a job does not wait for the whole payload.
- Rate limits, quota, IP and CORSLimits per key and per address, a monthly byte quota, a per-key IP allowlist and a per-address CORS origin list.
- Power BI and TableauA clean REST address with JSON or CSV imports straight through their web connectors, filter parameters included.
- Test it in the browserA try-it panel sits next to every address in the portal: pass filters, see rows, status and timing before you share a key.
- Read-only, enforced on the agentOnly SELECT-type statements run, and a key can only run its one saved query. There is no way to write, drop or reach another table.
On every plan, including Free.
Free gives you one address to try, with two keys and 250 rows per call. Paid plans raise every limit. Whoever calls your address pays nothing; usage is billed to your account, with no per-seat fees.
| Plan | Addresses | Keys | Rows per call |
|---|---|---|---|
| Free$0 | 1 | 2 | 250 |
| Personal Core$15 a month | 2 | 4 | 5,000 |
| Business Core$50 a month | 5 | 25 | 50,000 |
| Enterprise Core$250 a month | 50 | 250 | 500,000 |
Rows per call is the limit for an ordinary response; streaming responses on paid plans return more. Nine plans in all. See every REST API limit on the pricing page
Questions people ask before they hand out an address
Do the people who call it need an account or a database login?
Never a database login. Invite a person by email and they claim a magic link: a free Query Streams account is created and they get their own tracked key, which you can revoke in a click. Or mint a service key and hand it straight to a script, with no account on their side. Either way they call a stable address with their key and get rows, never the SQL behind it.
How do they change the result without seeing the query?
Through filter parameters. You expose the variables in your saved query, such as region or a start date, as parameters on the address. The caller passes values to reshape what comes back but never touches the SQL. The query decides what the address can expose; the filters only steer it inside those bounds.
Do I have to host or maintain anything?
No. Query Streams hosts the address, the keys, the quotas, the TLS and the scaling. You run the small outbound-only agent inside your network. There is no gateway, no middleware, no read replica and no public API server to patch.
What if a caller tries to write or delete?
They cannot. Every call passes a read-only check on the agent before the database sees it: only SELECT-type statements run, and a key can only run the one saved query behind its address. There is no way to write, drop, alter or reach any other table.
Which plans include it, and what do callers pay?
Every plan, including Free. Free has one address, two keys and 250 rows per call; paid plans raise all three. The people and apps that call your address pay nothing. Usage is billed to your account on the compressed size of what was sent, with no per-seat fees.
Give your apps a web address, not a database login.
One saved query, one address, one key per caller. On every plan, including Free.

