Skip to main content

SDKs

The BuyVerse.ai API is plain HTTPS and JSON, so any HTTP client works today. Start from one of these examples.

Quickstart

List the businesses a user token can see, in the language you work in.

client.ts
const BASE = 'https://api.buyverse.ai/api/v1';

async function listBusinesses(token: string) {
  const res = await fetch(`${BASE}/businesses?limit=20`, {
    headers: { Authorization: `Bearer ${token}` },
  });
  if (!res.ok) throw new Error(`BuyVerse.ai API ${res.status}`);
  const { data } = await res.json();
  return data.items;
}

Official packages

Packaged SDKs aren't published yet.

The examples above are fully supported in the meantime. New packages are announced in the changelog.

Read the changelog