$ s2b --about
Send events and OpenTelemetry data to your bucket or table
POST JSON or point an OTLP exporter at api.send2bucket.com. Send2Bucket batches records into gzip NDJSON files for S3, GCS, Azure or R2, or appends rows to an Iceberg or DuckLake table.
- [ok] 2xx only after the batch is stored durably
- [ok] JSON, OTLP/HTTP and OTLP/gRPC, one API key
- [ok] S3, GCS, any S3 endpoint, Iceberg, DuckLake
- [ok] free: 100 MB a month · pro: $20 with 50 GB · team: $50 for 5 members
curl https://api.send2bucket.com/v1/events \
-H "Authorization: Bearer $S2B_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{"event":"order.paid","order_id":"ord_20931","cents":4200},
{"event":"email.sent","order_id":"ord_20931"}
]'HTTP/1.1 204 No Content
$ aws s3 cp s3://analytics-raw/raw/s2b/stream=3f6c2a9e-8b1d-4e7a-9c55-0d2b7e41a8f3/date=2026-11-19/hour=03/dlv_01jd3kb7m4.ndjson.gz - | gunzip | head -1
{"v":1,"delivery_batch_id":"dlv_01jd3kb7m4","batch_id":"bat_01jd3k9qx2","received_at":"2026-11-19T03:04:05.123456Z","signal":"event","data":{"event":"order.paid","order_id":"ord_20931","cents":4200}}how it works
Send2Bucket groups accepted records into delivery batches. Each bucket delivery writes one gzip NDJSON object.
client ──POST /v1/events──▶ s2b ──10-60 s or 16 MiB──▶ your bucket / table
│
└─▶ 204 No Content- send JSON to /v1/events or OTLP to /v1/logs, /v1/traces, /v1/metrics or gRPC on :443.
- store batches events durably before answering 2xx.
- deliver writes the batch to your destination as one object or table commit.
HTTP/1.1 204 No Content
api: events and opentelemetry
Authorization: Bearer s2b_ingest_… on every request. Requests up to 8 MiB.
| method | path | what |
|---|---|---|
| POST | /v1/events | one JSON object or an array, or {"batch": [...]} for several streams; gzip or identity |
| POST | /v1/logs /v1/traces /v1/metrics | OTLP/HTTP, application/x-protobuf |
| gRPC | api.send2bucket.com:443 | OTLP Export RPCs for logs, traces, metrics |
| status | error |
|---|---|
| 400 | invalid_json · invalid_item · invalid_encoding · invalid_batch · stream_required |
| 401 | unauthorized |
| 403 | stream_forbidden |
| 409 | destination_not_ready |
| 413 | body_too_large (8 MiB decompressed) |
| 415 | unsupported_encoding |
| 429 | quota_exceeded {plan, remaining_bytes, resets_at} |
| 503 | buffer_full · destination_backlog, Retry-After: 30 |
buckets and tables you own
One destination per ingestion stream, in your account. Buckets get gzip NDJSON; tables get rows by catalog commit. ForOpenTelemetry to S3, Iceberg, S3 Tables or DuckLake, follow the step-by-step guides.
| kind | service | you provide |
|---|---|---|
s3 | Amazon S3 | IAM role with your external ID |
gcs | Google Cloud Storage | grant our service account |
azure_blob | Azure Blob Storage | container SAS token, or grant our Entra ID app |
s3_compatible | R2, MinIO, B2, Wasabi… | endpoint, region, access key |
ducklake | DuckLake | Postgres catalog DSN, data path |
iceberg_rest | Apache Iceberg REST | catalog URI, warehouse, token |
s3_tables | Amazon S3 Tables | table bucket ARN, IAM role |
supabase_analytics | Supabase Analytics Buckets | project ref, catalog token, S3 keys |
# buckets
<prefix>/s2b/stream=<stream_id>/
date=YYYY-MM-DD/hour=HH/
<delivery_batch_id>.ndjson.gz
# tables
signal_type VARCHAR
delivery_batch_id VARCHAR
ingested_at TIMESTAMPTZ
payload VARCHAR -- envelope JSONprometheus remote write
Point Prometheus at Send2Bucket and keep every series as JSON lines in storage you own, next to your events and traces. how remote write works
- [ok] remote write 1.0 and 2.0 at /api/v1/write
- [ok] labels, samples, exemplars and native histograms
- [ok] query with SQL in the engine you already use
- [!!] no PromQL: keep a Prometheus-compatible database for live dashboards
remote_write:
- url: https://api.send2bucket.com/api/v1/write
authorization:
credentials: <key>
headers:
S2b-Stream: <stream_id>aggregate on the way in
Rules turn events, logs, spans and metric points into per-window counts, sums and percentiles as they arrive, next to the raw records or instead of them. how stream aggregation works
- [ok] windows of 10s, 30s, 1m, 5m, 15m, grouped by up to 8 fields
- [ok] count, sum, min, max, avg, last and percentiles
- [ok] rows to the same bucket or another stream's
- [ok] metered after rules run: dropped records are not billed
{
"name": "revenue_by_country",
"signal": "event",
"interval": "1m",
"match": {"event": "order.paid"},
"by": ["country"],
"value": "cents",
"outputs": ["sum", "avg"]
}query with what you already run
Connect your query engine to the bucket or table catalog. For S3 and S3-compatible bucket destinations, you can also run SQL in the dashboard.
| engine | reads |
|---|---|
| DuckDB | objects, Iceberg, DuckLake in place |
| Trino | objects and Iceberg; also Starburst |
| BigQuery | GCS objects, external or loaded |
| Snowflake | external table, Snowpipe, Iceberg catalog |
| Athena | objects with partition projection, S3 Tables |
| ClickHouse | objects in place, or loaded into MergeTree |
| PostgreSQL | loaded into jsonb, or pg_duckdb |
| MySQL | loaded into JSON |
| Python | Polars, PyIceberg, pandas |
| Hex | notebook over any of the above |
| MotherDuck | shared DuckDB views |
SELECT data->>'$.event' AS event, count(*) AS events
FROM read_json('s3://<bucket>/<prefix>/s2b/stream=*/date=*/hour=*/*.ndjson.gz',
hive_partitioning = true)
WHERE signal = 'event' AND date = current_date
GROUP BY ALL ORDER BY events DESC;delivery semantics
- [ok] at least once: every acknowledged record is delivered
- [ok] same object key and bytes on every retry
- [ok] our retries to your destination never add usage
- [!!] no global ordering: order by received_at or your own timestamps
- [!!] no request deduplication: a client retry is stored and billed again
pricing
Metered on ingested, uncompressed bytes. 1 GB = 1,000,000,000 bytes.
free
$0
- 100 MB a month
- Personal workspace
- Hard cap, 429 until reset
- Delivered every 10 s
pro
$20 a month
- For one person
- 50 GB included
- Per-GB rates after that
- 60 s buffering for larger files
team
$50 a month
- Everything in Pro, plus
- 5 members, then $4 each
- 100 GB included
- Roles and sign-in policy
- Several billing owners
| usage in a billing period | per GB |
|---|---|
| First 50 GB (Pro) or 100 GB (Team) | included |
| Above the allowance through 1 TB | $0.150 |
| Next 4 TB | $0.140 |
| Next 20 TB | $0.130 |
| Above 25 TB | $0.120 |
Plan: Pro
| Pro base, 50 GB included | $20.00 |
| 950 GB × $0.150 | $142.50 |
frequently asked questions
Where is my data stored?
In a bucket or table in your own account: Amazon S3, Google Cloud Storage, Azure Blob Storage, S3-compatible storage such as Cloudflare R2, Amazon S3 Tables, an Apache Iceberg (REST) catalog, Supabase Analytics Buckets or DuckLake. Send2Bucket holds payloads only until they are delivered.
What does a 2xx response mean?
The batch is stored durably and will be delivered at least once. Batches are delivered to your destination every 10 seconds on Free and every 60 seconds on Trial, Pro and Team, or at 16 MiB, whichever comes first.
Do I need an OpenTelemetry Collector?
No. OpenTelemetry SDKs and exporters send OTLP over HTTP or gRPC straight to Send2Bucket with an API key. An existing Collector can forward to it with the otlphttp exporter.
How much does Send2Bucket cost?
Free covers 100 MB a month. Pro is $20 a month with 50 GB included, then $0.150 per GB, falling with volume to $0.120 per GB. Team is $50 a month for 5 members with 100 GB included, plus $4 a month for each further member. Both pay $0.09 per GB of egress beyond 5 GB on Pro or 10 GB on Team: compressed deliveries to buckets and query results. Your provider bills for storage and queries run on its infrastructure. Send2Bucket bills hosted queries by compute time.
How do I query the delivered data?
Connect your query engine to the bucket or table catalog. You can also query S3 and S3-compatible bucket destinations with SQL in the Send2Bucket dashboard.
What happens to my data if I stop using Send2Bucket?
Delivered data stays in your bucket or table. Disconnecting a stream stops new deliveries and removes nothing you own.