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

# Reach the API

[Sign up for the Ground Dashboard](https://portal.groundtech.co/signup) to create an
organization and issue an API key.

## Obtain API keys

1. Open [API Keys](https://portal.groundtech.co/api-keys), select the intended organization, and choose **Sandbox** in the sidebar.
2. Click **Generate Sandbox Key**. In **Generate Sandbox API Key**, enter a key name. Under **Key type**, choose **Full access** if the integration creates resources, changes access, or submits feedback; choose **Read-only (GET requests only)** for a discovery-only client. Click **Generate Key**.
3. In **API Key – Copy and Store Safely**, use **Copy API Key** and save the value as a server secret, for example `GROUND_SANDBOX_API_KEY`. The full key appears only once. Confirm the new key is listed for the selected organization and environment.
4. Use that key with `https://sandbox.groundtech.co`. The examples below use `GROUND_API_KEY`; load it from your sandbox secret.
5. When you are ready to configure production, return to the same [API Keys URL](https://portal.groundtech.co/api-keys), choose **Production**, and click **Generate Production Key**. Set the name and **Key type**, click **Generate Key**, and save the one-time value separately, for example as `GROUND_PRODUCTION_API_KEY`. Use it with `https://production.groundtech.co`.

Owners, admins, and members can generate sandbox API keys. Only owners and admins can generate production API keys; viewers cannot generate either. Ask an owner or admin when the required action is unavailable. A production key does not establish product enablement, source access, or permission to move funds: verify those prerequisites separately before a production run.

## Production access

Self-serve production access supports up to two Portfolio Wallets and \$100 in
cumulative production withdrawals.
[Contact Ground](https://www.groundtech.co/contact) for full production access.

## Environments

| Environment | Base URL |
| - | - |
| Sandbox | `https://sandbox.groundtech.co` |
| Production | `https://production.groundtech.co` |

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
export BASE_URL="https://sandbox.groundtech.co"
export GROUND_API_KEY="<your-api-key>"

curl "$BASE_URL/v3/wallets" \
  -H "Authorization: Bearer $GROUND_API_KEY"
```

Build against sandbox, then swap the base URL. The endpoint structure is identical, but
sandbox uses explicit testnet chain keys such as `ethereum_sepolia` and may expose a
smaller yield-source catalog than production.

[API Conventions](https://docs.groundtech.co/v3/docs/portfolio-wallets/api-conventions.md) covers authentication,
pagination, idempotency, rate limits, and error handling.


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