Agent Skill
2/7/2026

wallbit-skills

Integración con la API pública de Wallbit para consultar balances, transacciones, ejecutar trades, obtener datos de assets y wallets. Usar cuando se trabaje con Wallbit API, endpoints de trading, balances de cuenta, portfolio de stocks, operaciones de inversión, o cuando el usuario mencione Wallbit.

W
wallbit
0GitHub Stars
1Views
npx skills add Wallbit/wallbit-skills

SKILL.md

Namewallbit-skills
DescriptionIntegración con la API pública de Wallbit para consultar balances, transacciones, ejecutar trades, obtener datos de assets y wallets. Usar cuando se trabaje con Wallbit API, endpoints de trading, balances de cuenta, portfolio de stocks, operaciones de inversión, o cuando el usuario mencione Wallbit.

name: wallbit-skills description: Integration with the Wallbit public API to query balances, transactions, execute trades, get asset and wallet data. Use when working with Wallbit API, trading endpoints, account balances, stock portfolio, investment operations, or when the user mentions Wallbit.

Wallbit Public API

REST API to integrate Wallbit functionality: query balances, view transaction history, execute trades and more.

Quick Start

Base URL: https://api.wallbit.io

Authentication: X-API-Key header required on all requests.

curl -H "X-API-Key: YOUR_API_KEY" https://api.wallbit.io/api/public/v1/balance/checking

Endpoints Overview

CategoryEndpointMethodDescription
Balance/api/public/v1/balance/checkingGETChecking account balance
Balance/api/public/v1/balance/stocksGETInvestment portfolio
Transactions/api/public/v1/transactionsGETTransaction history
Trades/api/public/v1/tradesPOSTExecute buy/sell
Account/api/public/v1/account-detailsGETBank account details
Wallets/api/public/v1/walletsGETCrypto wallet addresses
Assets/api/public/v1/assetsGETList available assets
Assets/api/public/v1/assets/{symbol}GETSpecific asset info
Operations/api/public/v1/operations/internalPOSTInvestment deposit/withdrawal

Authentication

PHP/Laravel

use Illuminate\Support\Facades\Http;

/**
 * Creates an HTTP client configured for the Wallbit API.
 *
 * @return \Illuminate\Http\Client\PendingRequest
 */
function createWallbitClient()
{
    return Http::withHeaders([
        'X-API-Key' => config('services.wallbit.api_key'),
        'Accept' => 'application/json',
    ])->baseUrl('https://api.wallbit.io');
}

JavaScript

const wallbitClient = {
  baseUrl: "https://api.wallbit.io",
  apiKey: process.env.WALLBIT_API_KEY,

  async request(endpoint, options = {}) {
    const response = await fetch(`${this.baseUrl}${endpoint}`, {
      ...options,
      headers: {
        "X-API-Key": this.apiKey,
        Accept: "application/json",
        "Content-Type": "application/json",
        ...options.headers,
      },
    });
    return response.json();
  },
};

Python

import requests

class WallbitClient:
    def __init__(self, api_key: str):
        self.base_url = "https://api.wallbit.io"
        self.headers = {
            "X-API-Key": api_key,
            "Accept": "application/json"
        }

    def request(self, method: str, endpoint: str, **kwargs):
        url = f"{self.base_url}{endpoint}"
        response = requests.request(method, url, headers=self.headers, **kwargs)
        response.raise_for_status()
        return response.json()

Error Handling

CodeDescriptionAction
401Invalid or missing API KeyCheck X-API-Key header
403Insufficient permissionsCheck API Key permissions
412Incomplete KYC or blocked accountComplete verification in the app
422Validation errorReview sent parameters
429Rate limit exceededWait retry_after seconds

Error handling example (PHP/Laravel)

/**
 * Executes a Wallbit API request with error handling.
 *
 * @param string $method
 * @param string $endpoint
 * @param array $data
 * @return array
 * @throws \Exception
 */
function wallbitRequest(string $method, string $endpoint, array $data = []): array
{
    $client = createWallbitClient();

    $response = match($method) {
        'GET' => $client->get($endpoint, $data),
        'POST' => $client->post($endpoint, $data),
        default => throw new \Exception("Unsupported method: {$method}")
    };

    if ($response->status() === 429) {
        $retryAfter = $response->json('retry_after', 60);
        throw new \Exception("Rate limit exceeded. Retry in {$retryAfter} seconds.");
    }

    if ($response->status() === 401) {
        throw new \Exception("Invalid or missing API Key.");
    }

    if ($response->status() === 403) {
        $permissions = $response->json('your_permissions', []);
        throw new \Exception("Insufficient permissions. You have: " . implode(', ', $permissions));
    }

    if ($response->status() === 422) {
        $errors = $response->json('errors', []);
        throw new \Exception("Validation error: " . json_encode($errors));
    }

    if (!$response->successful()) {
        throw new \Exception($response->json('message', 'Unknown error'));
    }

    return $response->json('data');
}

Rate Limiting

Response headers:

  • X-RateLimit-Limit: Requests allowed per minute
  • X-RateLimit-Remaining: Remaining requests
  • X-RateLimit-Reset: Unix timestamp of reset
  • Retry-After: Seconds until retry is allowed (only on 429)

Code Generation Guidelines

When generating code for this API:

  1. PHP/Laravel: Use camelCase for functions, include PHPDoc docstrings
  2. Validate parameters before sending according to OpenAPI spec types
  3. Always handle errors 401, 403, 422, 429
  4. Do not hardcode API Keys, use environment variables

Supported currencies

  • Transactions: USD, EUR, ARS, MXN, USDC, USDT, BOB, COP, PEN, DOP
  • Account Details: USD, EUR (countries: US, EU)
  • Wallets: USDT, USDC (networks: ethereum, arbitrum, solana, polygon, tron)

Asset Categories

MOST_POPULAR, ETF, DIVIDENDS, TECHNOLOGY, HEALTH, CONSUMER_GOODS, ENERGY_AND_WATER, FINANCE, REAL_ESTATE, TREASURY_BILLS, VIDEOGAMES, ARGENTINA_ADR

Trade Order Types

  • MARKET: Market order (executes immediately)
  • LIMIT: Limit order (requires limit_price and time_in_force)
  • STOP: Stop order (requires stop_price)
  • STOP_LIMIT: Stop-limit order (requires stop_price and limit_price)

Additional Resources

Skills Info
Original Name:wallbit-skillsAuthor:wallbit