API v3
Beacon hash, schema beacon-tick/v3
Beacon v3 is a public timestamp and receipt service. It reads the same published gauge ticks as Divergence and does not change DVG math. The Beacon hash (beacon_hash) is the lowercase hex SHA-512 of the UTF-8 canonical document below. Lines are separated by LF. There is no CR, no trailing space, and the document ends with one LF. Numbers use the ECMA-262 JSON.stringify spelling. held_6dp uses Number.prototype.toFixed(6). Tokens outside [A-Za-z0-9_.:/+-] are JSON strings.
unix_ns is the publish time in milliseconds with six zeros appended. The gauge stores millisecond ticks. prev_beacon_hash is not inside the hash. It is the Beacon hash of the previous publish row, or 128 zero digits for the earliest row, so a backfill of an older tick does not rewrite later permalinks.
Event-log rows are not inputs. A latch can close later. Latch fields come from held_json on the publish row. Domain lines are always in the order ground, solar, space, seismic, atmosphere. 0.3 rows have no threshold, flagged, coincidence, strength, or overlap; those lines are null.
schema=beacon-tick/v3 hash_alg=SHA-512 source=prod|staging track=0.4|0.3 split_version=<token> tick_id=<epoch ms> utc=<YYYY-MM-DDTHH:mm:ss.sssZ> unix_ns=<tick_id with six zeros> held_raw=<json number or null> held_6dp=<six decimals or null> baseline=<json number> threshold=<json number or null> flagged=0|1|null coincidence=<json number or null> strength=<json number or null> overlap_ms=<integer or null> domain.ground=<intensity>|<0|1>|<direction> domain.solar=<intensity>|<0|1>|<direction> domain.space=<intensity>|<0|1>|<direction> domain.seismic=<intensity>|<0|1>|<direction> domain.atmosphere=<intensity>|<0|1>|<direction> latch.event_id=<token or null> latch.origin=<token or null> latch.fired_at=<integer or null> latch.peak_at=<integer or null> latch.domains=<comma-separated tokens or null> latch.value_raw=<json number or null>
Endpoints
JSON, CORS *, no API key, at https://v3.beacon.anomalyresearch.io. GET responses are cacheable. /v3/now uses max-age=20. A tick more than ten minutes old uses a day of cache. POST responses are no-store.
The default source is production track 0.4 (dvg-split-0.4.7). ?source=staging selects the staging database. ?track=0.3 or ?version=0.3 selects dvg_split_publish. Production has no 0.3 tables; that request returns available: false and does not query a missing table.
Rate limit: 120 requests a minute per IP, a fixed window kept in the isolate. It is best-effort. Over the limit, the API returns 429.
GET /v3/now— latest tickGET /v3/tick/{tick_id | ISO time | unix_ns | beacon_hash}— the tick at or just before that time. Pass?t=with a hash lookup to skip a scanPOST /v3/sign {"sha512"}— hybrid receipt over the file hash and the latest Beacon hashPOST /v3/verify {"receipt","sha512?"}GET /v3/keys— current public keys andkey_id
A tick path that is 128 hex characters is looked up by Beacon hash. Permalinks are /d/{beacon_hash} (pages for those links ship later).
Receipt, schema beacon-receipt/v3
A receipt is valid only if both an Ed25519 signature and an ML-DSA-65 (FIPS 204) signature verify over the same canonical document. The signatures and public keys are standard base64 and are not part of the signed text. key_id is ed25519+ml-dsa-65- plus the first 8 hex characters of SHA-512 of the raw Ed25519 public key followed by the raw ML-DSA-65 public key. The prose statement is not signed. Verification rebuilds this document from the fields and requires it to match canonical.
schema=beacon-receipt/v3 alg=Ed25519+ML-DSA-65 sha512=<128 hex> signed_at=<ISO> signed_at_unix_ns=<ms with six zeros> beacon_hash=<128 hex> tick_id=<ms> tick_utc=<ISO> held_6dp=<six decimals or null> held_raw=<json number or null> source=prod|staging track=0.4|0.3 split_version=<token> key_id=<ed25519+ml-dsa-65-########>
A valid receipt has both signatures under the current service key, a beacon_hash equal to the stored tick, signed_at at or after that tick, and no newer tick at or before signed_at. An optional sha512 must match the receipt. The receipt log is informational: a missing log entry does not by itself make a signature false. This service verifies beacon-receipt/v3 only. Divergence v2 receipts stay on the v2 API.
A receipt says the signatures cover a Beacon hash that did not exist before that tick was published, and that the fingerprint was presented no later than signed_at. It does not say who created the file, that the file is secret, or that the file was new at that tick.
Data
Reads use dvg_split04_publish and dvg_split04_events on track 0.4, and dvg_split_publish and dvg_split_events on track 0.3. Held value is held_json.value. The worker prepares SELECT statements only for those databases. Receipts go to a separate KV namespace, not the v2 log.