NYYU Logo

Getting Started

Comprehensive guide to integrating with NYYU APIs

NYYU API Documentation

Build powerful applications with our comprehensive API suite. From core banking to blockchain payments, integrate seamlessly with NYYU's infrastructure.

API Ecosystem

Our platform provides three specialized APIs, each optimized for specific use cases:

🔷
NYYU API

Core system APIs based on Java Spring Boot and GraphQL. Handle user management, transactions, account operations, and real-time data processing.

💳
NYYU PAY

Payment service APIs based on Node.js and WebSocket, similar to CoinPayments. Process cryptocurrency payments with real-time updates and settlement.

⛓️
NYYU NODE

Multi-chain node service APIs based on Node.js and WebSocket. Support for ETH, BTC, BNB, Solana, and Polygon blockchain operations.

System Architecture

🏗️
Modular & Scalable Architecture
Built on microservices for maximum flexibility and performance

Business Architecture of Real-Estate Marketplace

Listing Process of Real-Estate Marketplace

APIs of the Real-Estate Marketplace

Quick Start

🚀
Start Building in Minutes
Choose your API and begin integration

NYYU API (GraphQL)

Endpoint: /graphql

query {
  getUser(id: 1) {
    id
    name
    email
  }
}

NYYU PAY (WebSocket)

Endpoint: wss://api.pay.nyyu.com

const WebSocket = require('ws');
const ws = new WebSocket('wss://api.pay.nyyu.com');

ws.on('open', function open() {
  ws.send(JSON.stringify({
    action: 'initiatePayment',
    amount: 1.0,
    currency: 'BTC'
  }));
});

ws.on('message', function incoming(data) {
  console.log(data);
});

NYYU NODE (WebSocket)

Endpoint: wss://api.node.nyyu.com

const WebSocket = require('ws');
const ws = new WebSocket('wss://api.node.nyyu.com');

ws.on('open', function open() {
  ws.send(JSON.stringify({
    action: 'getBalance',
    currency: 'ETH'
  }));
});

ws.on('message', function incoming(data) {
  console.log(data);
});

Authentication and Authorization

🔐
OAuth2 Authentication
Secure your API requests with OAuth2 tokens

All NYYU APIs use OAuth2 for authentication and authorization. Include your access token in the Authorization header:

NYYU API:

{
  "Authorization": "Bearer YOUR_ACCESS_TOKEN"
}

NYYU PAY and NYYU NODE:

ws.on('open', function open() {
  ws.send(JSON.stringify({
    token: 'YOUR_ACCESS_TOKEN',
    action: 'initiatePayment',
    amount: 1.0,
    currency: 'BTC'
  }));
});

Next Steps

📚 Explore API References

Dive into detailed API documentation for each service

🔧 Integration Guides

Follow step-by-step guides for common integration scenarios

💡 Code Examples

Browse sample code and implementation patterns

❓ FAQs & Support

Get answers to common questions and access support