> ## Documentation Index
> Fetch the complete documentation index at: https://developer.bron.org/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Authenticate every request with `Authorization: ApiKey {jwt}`: an ES256 JWT signed with the user's private API key, whose header carries `kid` (the API key ID) and whose payload carries `iat` (Unix time in seconds) and `message`, the hex SHA-256 of `{iat}\n{METHOD}\n{PATH}\n{BODY}`. METHOD is uppercase, PATH includes the query string, BODY is the exact JSON sent or an empty string. Full steps: https://developer.bron.org/api-reference/authentication
> Prefer the official SDKs or the CLI, which sign every request: TypeScript `npm install @bronlabs/bron-sdk`, Go `go get github.com/bronlabs/bron-sdk-go`, Python `pip install git+https://github.com/bronlabs/bron-sdk-python.git`, CLI `brew install bronlabs/apps/bron`. Hand-write JWT signing only for a language without an SDK.
> The base URL is https://api.bron.org. Workspace data lives under `/workspaces/{workspaceId}/...`, and `/dictionary/...` serves reference data such as assets, networks and prices. Timestamps are milliseconds since the Unix epoch. Numeric values, amounts included, are strings: never parse them as floats.
> Never ask the user to paste their API key (the private JWK) into a chat and never hard-code it: read it from an environment variable or a secret store.

# Getting Started

Bron API enables secure and flexible integration with your applications, allowing you to interact programmatically with the Bron platform.
Below, you’ll find the base URLs, data format conventions, and key technical details to help you get started quickly.

> [card] [OpenAPI Endpoints](https://developer.bron.org/api-reference/try-it-out.md#openapi-specification)
>
> Download the OpenAPI specification

> [card] [Postman Collection](https://developer.bron.org/api-reference/try-it-out.md#postman-collection)
>
> Download the Postman collection

## Base URL

```shell theme={"system"}
https://api.bron.org
```

## Sandbox

Bron does not offer a separate sandbox environment. Instead, you can create a **workspace in sandbox mode**.
This allows you to test and develop using both mainnet and testnet blockchain networks within the same API infrastructure.

> [!NOTE]
>
> Testnet is only available in sandbox workspaces

## Date and Time Format

All date and time values in the API are represented as `timestamps in milliseconds since the Unix epoch` (January 1, 1970, 00:00:00 UTC).

```json {3} theme={"system"}
{
  "transactionType": "buy",
  "createdAt": "1749147409708"
}
```

## Numeric Values Format

To avoid issues with floating-point precision—especially in financial or high-accuracy data — all numeric values are returned as strings.

```json {3} theme={"system"}
{
  "includeFee": "false",
  "amount": "0.00013417",
  "status": "new"
}
```

## Response Codes

The API returns standard HTTP response codes to indicate the success or failure of an API request. Here are a few examples:

| Code | Description |
| :- | :- |
| <nobr>`200 OK`</nobr> | Request succeeded |
| <nobr>`201 Created`</nobr> | Resource successfully created |
| <nobr>`400 Bad Request`</nobr> | The request was invalid or malformed |
| <nobr>`401 Unauthorized`</nobr> | Authentication failed or missing credentials |
| <nobr>`403 Forbidden`</nobr> | Insufficient permissions |
| <nobr>`404 Not Found`</nobr> | Resource doesn’t exist |
| <nobr>`409 Conflict`</nobr> | Business logic conflict (e.g. duplicates, invalid state) |
| <nobr>`429 Too Many Requests`</nobr> | Rate limit exceeded. Retry later |
| <nobr>`500 Internal Server Error`</nobr> | Unexpected error on the server |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.