Nexa Logo nexa docs

Introduction

Start building with Nexa's powerful APIs

Welcome to Nexa's API documentation. This guide helps you get started integrating real-time trading and data capabilities directly into your applications.

Beta Access

Nexa APIs are currently in closed beta. To request an API key:

  1. Message the dev on X (Twitter)
  2. Contact via Telegram
  3. Send a message in our Telegram Group

Getting Started

Base URL

All API requests should be made to:

https://api-ex.insidex.trade

Authentication

Include your API key in the request headers:

Authorization: Bearer YOUR_API_KEY

Development Key

For testing purposes, you can use this development API key:

insidex_api.hGhJarqGjnUDkw36WUXETXyR

Important: This key is highly rate-limited and should NOT be used in production.

Rate Limits

API requests are limited to 100 requests per minute. If you exceed this limit, you'll receive a 429 Too Many Requests status code.

Rate Limit Headers

Monitor your usage with these response headers:

  • X-RateLimit-Limit: Maximum requests per minute
  • X-RateLimit-Remaining: Remaining requests in current window
  • X-RateLimit-Reset: Time when the rate limit resets

Visit the next page for the API guidelines and references to help you get started.

API Documentation

For detailed endpoint documentation, examples, and interactive testing, visit our comprehensive API documentation:

Quick Start Example

Here's a simple example to get you started:

GET
/search/coin/pugwif

Header Parameters

x-api-keystring

Response Body

coin

TypeScript Definitions

Use the response body type in TypeScript.

responseRequiredarray<object>
curl -X GET "https://api-ex.insidex.trade/search/coin/pugwif" \
  -H "x-api-key: insidex_api.hGhJarqGjnUDkw36WUXETXyR"
fetch("https://api-ex.insidex.trade/search/coin/pugwif", {
  headers: {
    "x-api-key": "insidex_api.hGhJarqGjnUDkw36WUXETXyR"
  }
})
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api-ex.insidex.trade/search/coin/pugwif"

  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("x-api-key", "insidex_api.hGhJarqGjnUDkw36WUXETXyR")
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://api-ex.insidex.trade/search/coin/pugwif"

response = requests.request("GET", url, headers = {
  "x-api-key": "insidex_api.hGhJarqGjnUDkw36WUXETXyR"
})

print(response.text)

[
  {
    "coinType": "0x2cd6f14a4b64c3a0fa9c644e8ed88d9c91d789a071886d67d24e6b435147063d::pugwif::PUGWIF",
    "decimals": 9,
    "mc": 557905.3141222955,
    "name": "Pugwifhat",
    "symbol": "PUGWIF",
    "verified": true
  }
]

Error Handling

The API uses standard HTTP status codes:

  • 200 - Success
  • 400 - Bad Request
  • 401 - Unauthorized (invalid API key)
  • 429 - Too Many Requests (rate limit exceeded)
  • 500 - Internal Server Error

Error Response Format

Error responses include a JSON object with details:

{
  "error" : {
    "code": "RATE_LIMIT_EXCEEDED",
    "message": "Rate limit of 100 requests per minute exceeded"
  }
}

Need Help?

If you need assistance or want to request production API access, reach out the Nexa team and we'd be glad to assist.