API Reference
Build with Mako
OpenAI-compatible API with 18 built-in tools. Create an API key, manage your access, and monitor usage.
Quick Start
Base URL
https://gateway.deepmako.comAuth
Authorization: Bearer mako_sk_...Model
deepmako/Mako-32BChains
EthereumBaseArbitrumOptimismPolygonAvalancheBSCGnosis
Endpoints
6 endpoints available. Click to expand.
Available Tools (18)
Tools are auto-invoked during chat or can be called directly via /v1/tools/execute.
On-Chain
| Tool | Description | Parameters |
|---|---|---|
get_eth_balance | Get ETH balance on any EVM chain | address, chain |
get_token_balance | Get ERC20 token balance on any EVM chain | address, token_address, chain |
get_token_info | Get ERC20 metadata (name, symbol, decimals, supply) | token_address, chain |
get_gas_price | Get current gas price on any EVM chain | chain |
get_block | Get latest block info on any EVM chain | chain |
get_tx_count | Get transaction count (nonce) for an address | address, chain |
is_contract | Check if address is a contract or EOA | address, chain |
resolve_ens | Resolve ENS name to address (Ethereum mainnet) | name |
get_transaction | Get transaction details by hash | hash, chain |
Market Data
| Tool | Description | Parameters |
|---|---|---|
get_crypto_price | Get live crypto price from CoinGecko | coin |
knowledge_search | Search Mako's knowledge base about Base chain projects, DeFi protocols, and AI agents | query |
Web & Social
| Tool | Description | Parameters |
|---|---|---|
web_search | Search the web (DuckDuckGo + Google fallback) | query |
web_extract | Extract text content from a URL/webpage | url |
read_tweet | Read a tweet from X (Twitter) | tweet |
find_music | Search for music tracks and return YouTube links | query |
Utility
| Tool | Description | Parameters |
|---|---|---|
get_weather | Get real-time weather and temperature for any location | location |
get_time | Get the current time in UTC | none |
list_tools | List and search available tools | query |
Error Codes
| Code | Description |
|---|---|
400 | Bad request — missing or invalid parameters |
401 | Unauthorized — invalid or missing API key |
402 | Insufficient credits |
429 | Rate limit exceeded |
500 | Internal server error |
502 | Model host unreachable |
503 | Model unavailable / warming up |
Rate Limits & Security
Global
60 req/min per IPKey Creation
5 req/min per IPKey Storage
SHA-256 hashedMax Keys
5 per wallet