APIGo developer docs

Everything you need to start making AI API calls through APIGo. Access state-of-the-art models from Anthropic, OpenAI, Google, and more with a single Solana wallet.

Get started in 3 lines of code

const apigo = require('apigo-sdk');
const client = new apigo.Client({ wallet: 'YOUR_WALLET_ADDRESS' });
const result = await client.text.complete({ model: 'claude', prompt: 'Hello!' });

Authentication

APIGo uses your Solana wallet address for authentication. No API keys or passwords required. When you make a call through our SDK, the platform verifies your wallet's signature and deducts the per-request cost from your escrow balance.

Security Note

Your private keys never leave your application. The SDK signs the request locally before sending it to APIGo's verification layer.

Your first API call

Below is a full example of making a request to GPT-4o. You can swap the model name to access any other provider instantly.

Request
// SDK Request
client.text.complete({
  model: 'gpt-4o',
  prompt: 'Why is the sky blue?'
});
Response
// APIGo Response
{
  id: 'res_82h1',
  text: 'Rayleigh scattering...',
  cost: 0.000380
}