WEB4 OASIS API - Complete Documentation

📋 Overview

The WEB4 OASIS API is the foundational data aggregation and identity layer that serves as the universal connector between all Web2 and Web3 technologies. It provides intelligent auto-failover, universal data aggregation, and comprehensive identity management.

🏗️ Architecture

Core Components

  • OASIS HyperDrive: Intelligent routing system (v1: auto-replication/failover; v2 adds auto-load balancing, AI optimization, analytics)

  • Avatar API: Universal identity and profile management

  • Karma API: Reputation and reward system

  • Data API: Universal data storage and retrieval

  • Provider API: Provider management and configuration

Key Features

  • Auto-Failover: Automatically switches between providers based on performance

  • Universal Data Aggregation: Single API for all Web2/Web3 data sources

  • Identity Management: Universal avatar system with cross-platform authentication

  • Karma System: Reputation-based rewards and accountability

  • Privacy Control: User controls data storage location and permissions

🔗 Base URL

🔐 Authentication

API Key Authentication

Avatar Authentication

📚 API Endpoints

HyperDrive API

Get/Set HyperDrive Mode

Configuration

Metrics & Connections

Status & Health

Analytics & AI

Failover Management

Cost Management

Recommendations

Replication

Failover

Costs & Recommendations

Core API

Get OASIS Status

Get OASIS Configuration

Get Provider Information

Get OASIS Statistics

Avatar API

Authentication & Registration

Password Management

Get All Avatars

Response:

Get Avatar by ID

Parameters:

  • id (string, required): Avatar UUID

Response:

Create Avatar

Request Body:

Response:

Update Avatar

Request Body:

Delete Avatar

Parameters:

  • id (string, required): Avatar UUID

Karma API

Get Karma for Avatar

Get Karma Akashic Records

Karma Weighting

Vote for Karma Weighting

Set Karma Weighting

Add/Remove Karma

Karma Statistics & History

Parameters:

  • avatarId (string, required): Avatar UUID

Data API

Holon Operations

Load All Holons

Load Holons for Parent

Save Holon

Delete Holon

File Operations

Data Operations

Wallet API

Wallet Management

Default Wallet

Import Operations

Wallet Operations

Keys API

Key Management

Key Generation

Key Retrieval

Key Operations

Key Lookup

WiFi Operations

Key CRUD

Files API

File Management

Chat API

Chat Operations

Competition API

Competition Management

Gifts API

Gift Management

Map API

Map Operations

Messaging API

Messaging Operations

NFT API

NFT Operations

OAPP API

OAPP Management

OLand API

OLand Operations

ONET API

ONET Network Management

ONODE API

ONODE Management

Provider API

Provider Management

Provider Registration

Provider Configuration

Search API

Search Operations

Seeds API

Seeds Operations

Seeds Account Management

Settings API

Settings Management

Share API

Share Operations

Social API

Social Operations

Solana API

Solana Operations

Stats API

Statistics

Subscription API

Subscription Management

Telos API

Telos Operations

Video API

Video Operations

EOSIO API

EOSIO Operations

Holochain API

Holochain Operations

Eggs API

Egg Operations

Response:

Add Karma

Request Body:

Get Karma Leaderboard

Parameters:

  • limit (integer, optional): Number of results (default: 50)

Response:

Get Karma History

Parameters:

  • id (string, required): Avatar UUID

  • limit (integer, optional): Number of results (default: 100)

Data API

Get My Data Files

Response:

Upload File

Request Body (multipart/form-data):

Response:

Update File Permissions

Request Body:

Delete File

Parameters:

  • id (string, required): File UUID

NFT API

Get NFT by ID

Get NFT by Hash

Get All NFTs for Avatar

Get All NFTs for Mint Address

Get All GeoNFTs for Avatar

Get All GeoNFTs for Mint Address

Get All NFTs

Get All GeoNFTs

Send NFT

Mint NFT

Place GeoNFT

Mint and Place GeoNFT

Get NFT Provider

Search API

Wallet API

Send Token

Get Wallet Balance

Get Wallet Transactions

Keys API

Get Provider Key

OLand API

Get OLand Price

Purchase OLand

Get All OLand

Get OLand by ID

Delete OLand

Save OLand

Update OLand

Files API

Get All Files for Avatar

Upload File

Download File

Delete File

Chat API

Send Message

Get Messages

Get Chat Rooms

Create Chat Room

Messaging API

Send Message

Get Messages

Get Conversations

Social API

Get Friends

Add Friend

Remove Friend

Get Followers

Follow User

Unfollow User

Share API

Share Content

Get Shared Content

Get Share Statistics

Settings API

Get User Settings

Update User Settings

Get Privacy Settings

Update Privacy Settings

Seeds API

Get Seeds Balance

Get Seeds Transactions

Transfer Seeds

Stats API

Get User Statistics

Get System Statistics

Get Provider Statistics

Video API

Upload Video

Get Video

Get User Videos

Delete Video

Solana API

Mint NFT

Send Transaction

Get Balance

Telos API

Get Telos Account

Get Telos Balance

Send Telos Transaction

Holochain API

Get Holochain Agent

Get Holochain Data

Store Holochain Data

EOSIO API

Get EOSIO Account

Get EOSIO Balance

Send EOSIO Transaction

Mission API

Get All Missions

Get Mission by ID

Create Mission

Update Mission

Delete Mission

Quest API

Get All Quests

Get Quest by ID

Create Quest

Update Quest

Delete Quest

Map API

Get Map Data

Update Map Data

Get Map Layers

OAPP API

Get All OAPPs

Get OAPP by ID

Create OAPP

Update OAPP

Delete OAPP

Cargo API

Get Cargo Orders

Create Cargo Order

Update Cargo Order

Delete Cargo Order

Gifts API

Get All Gifts

Send Gift

Receive Gift

Eggs API

Get All Eggs

Get Current Egg Quests

Get Egg Quest Leaderboard

Provider API

Get All Providers

Response:

Register Provider

Request Body:

Update Provider

Request Body:

Delete Provider

Parameters:

  • id (string, required): Provider UUID

Keys API

Get All Keys

Response:

Generate New Key

Request Body:

Get Key by ID

Update Key

Delete Key

Wallets API

Get All Wallets

Response:

Create Wallet

Request Body:

Get Wallet by ID

Update Wallet

Delete Wallet

Search API

Search Data

Parameters:

  • query (string, required): Search query

  • type (string, optional): Data type filter

  • limit (integer, optional): Maximum results (default: 50)

Response:

Advanced Search

Request Body:

OLands API

Get All OLands

Response:

Get OLand by ID

Create OLand

Request Body:

Update OLand

Delete OLand

NFTs API (Basic)

Get All NFTs

Response:

Get NFT by ID

Create NFT

Request Body:

Update NFT

Delete NFT

🔧 OASIS HyperDrive

Auto-Failover System

The OASIS HyperDrive automatically routes requests to the optimal provider based on:

  • Performance: Response time and throughput

  • Cost: Transaction fees and storage costs

  • Reliability: Uptime and error rates

  • Geographic Proximity: Distance to user location

Provider Selection Algorithm

Auto-Replication

Data is automatically replicated across multiple providers:

🔐 Security & Privacy

Data Encryption

  • Transport: TLS 1.3 for all API communications

  • Storage: AES-256 encryption for data at rest

  • Keys: User-controlled encryption keys

Privacy Controls

Access Control

  • Role-based permissions: User, Admin, System

  • Granular permissions: Field-level access control

  • Audit logging: Complete access history

📊 Error Handling

Standard Error Response

Common Error Codes

  • AVATAR_NOT_FOUND: Avatar with specified ID not found

  • INVALID_PERMISSIONS: Insufficient permissions for operation

  • PROVIDER_UNAVAILABLE: Requested provider is currently unavailable

  • RATE_LIMIT_EXCEEDED: API rate limit exceeded

  • VALIDATION_ERROR: Request validation failed

📈 Rate Limits

Standard Limits

  • Avatar API: 1000 requests/hour

  • Karma API: 500 requests/hour

  • Data API: 100 requests/hour

  • Provider API: 200 requests/hour

Rate Limit Headers

🔄 Webhooks

Supported Events

  • avatar.created

  • avatar.updated

  • karma.earned

  • data.uploaded

  • provider.status_changed

Webhook Configuration

📱 SDKs

JavaScript/Node.js

C#/.NET

Python

🧪 Testing

Sandbox Environment

Test Data

📚 Examples

Complete Avatar Management

Advanced Provider Management

Universal Data Management

Key and Wallet Management

Integration with WEB5 STAR API

Provider Management

🚀 Getting Started

  1. Sign up for an API key at oasisplatform.worldarrow-up-right

  2. Choose your SDK from the available options

  3. Read the examples to understand the API structure

  4. Start building with the sandbox environment

  5. Deploy to production when ready

📞 Support


This documentation is updated regularly. For the latest version, visit docs.oasisplatform.worldarrow-up-right

Last updated