Documentation

BuildBear External API Documentation

Comprehensive reference for BuildBear’s Sandbox and Explorer APIs: REST and JSON-RPC endpoints to manage sandboxes, fork networks, snapshots, and query on-chain data.

Authentication

All BuildBear API calls require a bearer token in the header:

Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/json

Error Handling

The API can return various error responses depending on the situation. Below are the common error codes and their meanings:

  • 200 OK: The request was successful.
  • 400 Bad Request: The request was malformed or missing required parameters.
  • 401 Unauthorized: Authentication credentials were missing or invalid.
  • 429 Too Many Requests: The rate limit was exceeded.
  • 500 Internal Server Error: An error occurred on the server.