Welcome

The Brewit API provides programmatic access to Brewit’s platform features. This API allows you to manage badges, automate trading tasks, and schedule jobs.

Base URL

All API requests should be made to:
https://api.brewit.money

Available Endpoints

Badge Management

Badge Endpoints

Manage user badges and achievements

Automation & Trading

Automation Endpoints

Create and manage automated trading tasks

Monad Agent Tasks

Manage Monad Agent trading automation

Scheduler Jobs

Schedule and manage automated jobs

Authentication

Most API endpoints require Bearer token authentication. You can obtain your authentication token from the Brewit application after logging in.

Authentication Header

Include your Bearer token in the Authorization header:
Authorization: Bearer YOUR_TOKEN_HERE

Example Request

curl -X GET "https://api.brewit.money/badges" \
  -H "Authorization: Bearer YOUR_TOKEN_HERE" \
  -H "Content-Type: application/json"

Response Format

All API responses are returned in JSON format with standard HTTP status codes:
  • 200 - Success
  • 400 - Bad Request
  • 401 - Unauthorized
  • 404 - Not Found
  • 500 - Internal Server Error

Rate Limiting

API requests are subject to rate limiting to ensure fair usage. Please implement appropriate retry logic with exponential backoff in your applications.

Getting Started

  1. Obtain your API token from the Brewit application
  2. Review the endpoint documentation for the specific features you need
  3. Test your integration using the provided examples
  4. Implement error handling for production use
For detailed information about each endpoint, please refer to the specific documentation sections above.