Skip to main content

$ 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"}
  ]'
<- response
HTTP/1.1 204 No Content
-> your bucket, within 10-60 s or at 16 MiB
$ 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.

pipeline
client ──POST /v1/events──▶ s2b ──10-60 s or 16 MiB──▶ your bucket / table
                             │
                             └─▶ 204 No Content
  1. send JSON to /v1/events or OTLP to /v1/logs, /v1/traces, /v1/metrics or gRPC on :443.
  2. store batches events durably before answering 2xx.
  3. deliver writes the batch to your destination as one object or table commit.
$ curl -X POST https://api.send2bucket.com/v1/events
HTTP/1.1 204 No Content

api: events and opentelemetry

Authorization: Bearer s2b_ingest_… on every request. Requests up to 8 MiB.

methodpathwhat
POST/v1/eventsone JSON object or an array, or {"batch": [...]} for several streams; gzip or identity
POST/v1/logs /v1/traces /v1/metricsOTLP/HTTP, application/x-protobuf
gRPCapi.send2bucket.com:443OTLP Export RPCs for logs, traces, metrics
statuserror
400invalid_json · invalid_item · invalid_encoding · invalid_batch · stream_required
401unauthorized
403stream_forbidden
409destination_not_ready
413body_too_large (8 MiB decompressed)
415unsupported_encoding
429quota_exceeded {plan, remaining_bytes, resets_at}
503buffer_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.

kindserviceyou provide
s3Amazon S3IAM role with your external ID
gcsGoogle Cloud Storagegrant our service account
azure_blobAzure Blob Storagecontainer SAS token, or grant our Entra ID app
s3_compatibleR2, MinIO, B2, Wasabi…endpoint, region, access key
ducklakeDuckLakePostgres catalog DSN, data path
iceberg_restApache Iceberg RESTcatalog URI, warehouse, token
s3_tablesAmazon S3 Tablestable bucket ARN, IAM role
supabase_analyticsSupabase Analytics Bucketsproject ref, catalog token, S3 keys
layout
# 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 JSON

prometheus 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
prometheus.yml
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
rule · revenue per country
{
  "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.

enginereads
DuckDBobjects, Iceberg, DuckLake in place
Trinoobjects and Iceberg; also Starburst
BigQueryGCS objects, external or loaded
Snowflakeexternal table, Snowpipe, Iceberg catalog
Athenaobjects with partition projection, S3 Tables
ClickHouseobjects in place, or loaded into MergeTree
PostgreSQLloaded into jsonb, or pg_duckdb
MySQLloaded into JSON
PythonPolars, PyIceberg, pandas
Hexnotebook over any of the above
MotherDuckshared DuckDB views
duckdb
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
    Start for Free
  • pro

    $20 a month

    • For one person
    • 50 GB included
    • Per-GB rates after that
    • 60 s buffering for larger files
    start the 7-day trial
  • team

    $50 a month

    • Everything in Pro, plus
    • 5 members, then $4 each
    • 100 GB included
    • Roles and sign-in policy
    • Several billing owners
    start the 7-day trial
usage in a billing periodper 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
Pro invoice: $162.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.