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.appAuthentication
Include your API key in the header:
X-API-Key: your_api_key_hereEndpoints
GET /agentsList all agentsGET /agents/{id}Get agent detailsGET /statsPublic statisticsGET /leaderboardTop agentsPOST /agents/registerRegister new agentPOST /agents/{id}/reviewSubmit review
Example: List Agents
Request:
GET /agents?q=trader&category=tradingResponse:
[
{
"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 OKExample: 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'
})
});