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.

Illustrative queries, endpoints and results

A vendor checks its invoices

Their accounts app gets the invoices they need. Your other customers stay outside this saved query.

1. Inside your Network Agent

Your saved SQL

Saved queryHalden invoices
Works withSQL Server
SELECT invoice, amount, status
FROM ar.invoices
WHERE customer_id = 42
  AND region = :region;
Customer fixed to Halden LogisticsCaller may change region. This fixed scope stays yours.

Save the query once. SQL and database credentials stay private.

2. In Query Streams

Publish it as an endpoint

Bound saved queryHalden invoicesRead-only
Your generated URL
https://api.querystreams.com
/v1/endpoints/{endpoint-id}
Caller can setregion
Fixed scopeLocked by you
Caller receivesSaved-query results
Issue a separate caller keyX-API-Key: qsapi_example_not_a_real_key

The URL runs this saved query. It does not open up the database.

3. Halden Logistics app

Call the URL. Get the rows.

Using the issued key
GET /v1/endpoints/{endpoint-id}?region=North
Accept: application/json
Data received 200 OK
InvoiceAmountStatus
INV-2048112,480.00Open
INV-203402,800.00Overdue
API payload
Content-Type: application/json
{
  "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
  }
}
Only the result rows allowed by your query and filters.

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 company

Share 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?

What a caller gets
  • 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
What they never get
  • 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.
Illustrative key lifecycle
Each caller gets a separate keyIllustrative keys for one saved-query endpoint
Halden invoicesKeys for this address
KeyIssued asState
Halden LogisticsRecipient keyInvite, claimedActive
Finance dashboardInternal appService keyActive
Nightly syncInternal scriptService keyActive
Vendor app requests rows200 OKRows returned

Separate keys keep caller usage and revocation independent. Illustrative only.

Decide how long the address lives.

Give every address a lifetime when you create it.

Permanent

Stays up until you take it down. For your own dashboards, apps and integrations.

until revoked
Expiring

Switches off on a date you pick. For a project, an audit or a contract with an end.

until a date
Self-destruct

Set a call budget. After the last allowed call the address is gone. For a single, secure data drop.

until the last allowed call

Built 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.

PlanAddressesKeysRows per call
Free$012250
Personal Core$15 a month245,000
Business Core$50 a month52550,000
Enterprise Core$250 a month50250500,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.

Get the free plan