Quick Start
Sapiom wraps your existing HTTP client so any request to a Sapiom service handles payment automatically.
-
Get an API Key
Section titled “Get an API Key”Grab one from the Sapiom Dashboard.
Terminal window export SAPIOM_API_KEY="your_api_key_here" -
Install the SDK
Section titled “Install the SDK”Terminal window npm install @sapiom/fetch -
Make a Request
Section titled “Make a Request”import { createFetch } from "@sapiom/fetch";const fetch = createFetch({apiKey: process.env.SAPIOM_API_KEY!,});const response = await fetch("https://linkup.services.sapiom.ai/v1/search?q=latest+AI+news&depth=standard");console.log(await response.json());That’s it. The SDK handles the payment flow behind the scenes — you just make normal HTTP requests.
Next Steps
Section titled “Next Steps” Using Services Full walkthrough: verify a phone number end-to-end.
Browse Capabilities Search, AI models, images, audio, browser automation, and more.