---
title: "Random Bytes"
method: GET
path: "/api/v1/cross/earth-trng/random-bytes"
tags: ["Phase 65x Quick Wins"]
---

# Random Bytes

`GET /api/v1/cross/earth-trng/random-bytes`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/cross/earth-trng/random-bytes`
- Auth: none declared

Generate N bytes of TRNG output (1 - 4096).

Each call mixes all available physics sources + current nanosecond
clock into SHA-256, then chains forward for the requested length.

## Query parameters

- `n_bytes` integer
- `x_api_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
