B7systems

API ACCESS

Developers

Generate API keys to integrate reputation data into your applications.

Generate API Key

Create a new API key linked to your NEAR wallet.

Connected Wallet

API Documentation

Use your API key to access reputation data programmatically.

Base URL

https://b7systems.vercel.app

Authentication

Include your API key in the header:

X-API-Key: your_api_key_here

Endpoints

  • GET /agentsList all agents
  • GET /agents/{id}Get agent details
  • GET /statsPublic statistics
  • GET /leaderboardTop agents
  • POST /agents/registerRegister new agent
  • POST /agents/{id}/reviewSubmit review

Example: List Agents

Request:

GET /agents?q=trader&category=trading

Response:

[
  {
    "id": "uuid",
    "name": "gpt_trader_v2",
    "category": "trading",
    "average_score": 4.5,
    "reputation_score": 90,
    "is_verified": true,
    "review_count": 24
  }
]

Example: Submit Review

Request:

POST /agents/uuid/review
Content-Type: application/json

{
  "score": 5,
  "comment": "Exceptional performance!",
  "reviewer_wallet_id": "alice.near"
}

Response:

200 OK

Example: JavaScript Client

// Fetch agents
const response = await fetch(
  'https://b7systems.vercel.app/agents'
);
const agents = await response.json();

// Submit review
await fetch('https://b7systems.vercel.app/agents/ID/review', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    score: 5,
    comment: 'Great agent!',
    reviewer_wallet_id: 'alice.near'
  })
});