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:
Core system APIs based on Java Spring Boot and GraphQL. Handle user management, transactions, account operations, and real-time data processing.
Payment service APIs based on Node.js and WebSocket, similar to CoinPayments. Process cryptocurrency payments with real-time updates and settlement.
Multi-chain node service APIs based on Node.js and WebSocket. Support for ETH, BTC, BNB, Solana, and Polygon blockchain operations.
System Architecture
Business Architecture of Real-Estate Marketplace
Listing Process of Real-Estate Marketplace
APIs of the Real-Estate Marketplace
Quick Start
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
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
Dive into detailed API documentation for each service
Follow step-by-step guides for common integration scenarios
Browse sample code and implementation patterns
Get answers to common questions and access support