Documentation

    API Documentation

    Everything you need to integrate Baalvion NetStack into your applications. Get started with our RESTful API in minutes.

    Get API Key

    Quick Start

    1

    Get Your API Key

    Sign up and generate your API credentials

    2

    Make Your First Request

    Use the examples below to get started

    3

    Scale Your Integration

    Explore advanced features and endpoints

    API Keys

    Manage your API authentication credentials

    Production Key
    active
    bv_live_••••••••••••••••••••••••••••••••b0c2
    Created: Jan 15, 2024Last used: 2 hours ago
    Development Key
    active
    bv_test_••••••••••••••••••••••••••••••••l5m6
    Created: Feb 20, 2024Last used: 5 days ago

    Keep your API keys secure

    Never share your API keys or commit them to version control. Use environment variables in production.

    API Endpoints

    Available endpoints and their methods

    Base URL: https://api.baalvion.com/v1
    MethodEndpointDescription
    GET
    /api/v1/proxiesList all proxies
    POST
    /api/v1/proxies/generateGenerate proxy list
    GET
    /api/v1/usageGet usage statistics
    POST
    /api/v1/subusersCreate sub-user
    DELETE
    /api/v1/subusers/:idDelete sub-user
    GET
    /api/v1/proxies/:idGet proxy details by ID
    PUT
    /api/v1/subusers/:idUpdate sub-user settings
    GET
    /api/v1/healthCheck API health status

    Code Examples

    Get started quickly with these examples

    curl -X GET "https://api.baalvion.com/v1/proxies" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json"
    
    # Generate proxy list
    curl -X POST "https://api.baalvion.com/v1/proxies/generate" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "type": "residential",
        "country": "US",
        "quantity": 10,
        "protocol": "http"
      }'

    Error Codes

    HTTP status codes and their meanings

    CodeStatusDescription
    200
    OKRequest successful
    201
    CreatedResource created successfully
    400
    Bad RequestInvalid request parameters
    401
    UnauthorizedInvalid or missing API key
    403
    ForbiddenInsufficient permissions
    404
    Not FoundResource not found
    429
    Too Many RequestsRate limit exceeded
    500
    Internal Server ErrorServer error, please retry
    503
    Service UnavailableService temporarily unavailable

    Rate Limits

    API request limits per plan

    PlanRequests/MinuteRequests/DayBurst Limit
    Starter
    6010,000100
    Professional
    300100,000500
    Enterprise
    1,000Unlimited2,000

    Rate Limit Headers

    Each API response includes headers to help you track your rate limit status:

    X-RateLimit-Limit- Maximum requests per window
    X-RateLimit-Remaining- Requests remaining in window
    X-RateLimit-Reset- Time when the limit resets (Unix timestamp)

    Ready to Start Building?

    Get your API key and start integrating Baalvion NetStack into your applications today.