APITube Help Center

How streaming (SSE) quota is counted

SSE article costs, streaming credits, and connection limits

Brian Hollis

Written by Brian Hollis

August 22, 2026

Updated October 16, 2026

How streaming (SSE) quota is counted

SSE streaming at /v1/news/stream costs one credit per delivered article. Opening a connection and receiving heartbeats cost nothing. Streaming uses its own quota, called sse_points in the API, so it does not spend your search credits.

A regular search costs one credit for the whole response. With streaming, you pay for each article you receive. If no articles match your filters, the connection costs nothing.

What exactly gets billed on an SSE stream?

Here is what you pay for:

  • Delivered articles: one streaming credit each. The stream checks for matches about every 30 seconds and sends up to 50 articles at a time. Each delivery appears as a stream request in your logs.
  • Connection time: free, however long you keep the connection open.
  • Heartbeats: free. These : heartbeat comments arrive about every 30 seconds to keep the connection alive.
  • An article that fails during delivery: free if the connection drops before the final article is fully sent.

Use filters to control how many articles you receive and how many credits you spend. You can narrow the stream by language.code, category.id, source.domain, or sentiment, for example. See how to stream news in real time with SSE for filter syntax.

Does the streaming pool share my search quota?

No. These allowances are separate:

  • Requests: used by regular API calls such as /v1/news/everything, usually one credit per call.
  • SSE streaming: used by /v1/news/stream, one credit per delivered article.
  • WebSocket streaming: used by /v1/news/ws, also one credit per delivered article.

You can continue streaming after using up your search credits, as long as you have streaming credits available. Streaming also leaves your search credits untouched. See what counts as one request for regular request costs.

The dashboard header shows your remaining allowances:

Dashboard quota bar showing requests and separate streaming allowances

What happens when the streaming pool runs out?

What happens depends on when you run out and whether you have pay-as-you-go funds:

  • Before connecting, with no balance: the API returns HTTP 402, code ER0176, and “You have no SSE points on your account.” Add funds or wait for renewal, then reconnect.
  • While connected, with no balance: the stream sends an error event with code ER0301 (“Balance exhausted”) and closes. Reconnect after adding funds or renewing your quota.
  • On a paid plan, with a balance: streaming continues at $0.01 per article, charged to that balance until it runs out.

If you reach your monthly pay-as-you-go spending limit, the stream stops with 402 ER0177 (“Monthly pay-as-you-go spending limit reached”). The limit resets at the start of each calendar month. See what happens when you run out of requests for more about pay-as-you-go billing.

How do connection limits affect what I spend?

Your plan limits how many SSE connections can be open at once:

  • Free: 1 connection, with articles delayed by 12 hours.
  • Starter: 2 connections.
  • Basic: 2 connections.
  • Professional: 10 connections.
  • Corporate: 50 connections.

Paid plans stream without the Free plan’s delay. If you open more connections than your plan allows, the API returns HTTP 429 with code ER0360.

Each connection charges for the articles it delivers. If two streams receive the same article, you pay for both deliveries. Close connections you no longer need to free up a slot.

A connection lasts up to 6 hours. It then ends with ER0362, and you need to reconnect. Send the Last-Event-Id header to resume after your last article without gaps or paying again for articles already received.

Common Questions

Why did my streaming pool drop while I made no searches?

Every article received through SSE uses one streaming credit, even when you make no searches. Check your request logs for stream entries to see the billed deliveries.

Do test keys consume streaming quota?

No. Test keys let you receive live events without spending credits. Article content is shortened for preview. Use a test key to check connection, article events, and reconnection, then switch to a live key for full content and billed delivery.

Can I check my streaming pool with /v1/balance?

/v1/balance shows request credits and your plan, but does not return your SSE quota. To check streaming usage, open your dashboard usage view or look for stream entries in your request logs.

Is the open connection or heartbeat ever billed?

No. You pay only for delivered articles. Connections, : heartbeat comments, and an article that fails before it is fully sent cost nothing. An hour with no matching articles uses zero credits.


Related Articles