Quick Start

Quickstart Guide

Start using NexaHarbor API effortlessly! Follow this guide to integrate our services seamlessly into your application.

Prerequisites

Ensure you have the following before starting:

  • NexaHarbor account

  • Access to the dashboard at app.nexaharbor.com

  • Basic knowledge of REST APIs

1. Obtain Your API Key

Access the Dashboard

  1. Go to the API section in your dashboard.

  2. Click "Generate New API Key".

Set Permissions

Choose the necessary permissions while generating your key:

Available Permissions:
- 'read:transactions'     // Basic transaction reading
- 'purchase:utilities'    // Airtime and data purchases
- 'prediction:markets'    // Prediction market features
- 'ai:chat-services'      // AI chat routing and models
- '*'                     // Full access to all features

⚠️ Important: Secure your API key! It is displayed only once.

2. Authentication

Include your API key in the Authorization header for all requests:

Authorization: Bearer YOUR_API_KEY

Base URL

Send all API requests to:

https://api.nexaharbor.com/api/v1

Sample Request

Make an authenticated API request as follows:

curl -X GET \
  'https://api.nexaharbor.com/api/v1/addresses/wallet123' \
  -H 'Authorization: Bearer YOUR_API_KEY'

3. Execute Your First API Call

Test your API key with a basic call:

curl -X GET \
  'https://api.nexaharbor.com/api/v1/test' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Successful response example:

{
  "status": "success",
  "message": "API connection successful",
  "version": "1.0"
}

Next Steps

Connected successfully! Now you can:

  • Explore our [API Reference] for detailed documentation.

  • View our [Integration Guides] for common scenarios.

  • Join the [Developer Community] for assistance.

  • Follow our [Best Practices] for optimal usage.

Need Help?

  • 📧 Email our support team.

  • 💬 Join our Discord community.

  • 📚 Browse our FAQ section.


Next: API Reference →

Last updated