Plain fetch (Node / TypeScript)
The lowest-level integration. wrapFetchWithPayment intercepts the 402, signs the payment, and retries automatically.
Connect through MCP or API. Discover services, review prices and run the work you approve.
Every example below uses a placeholder FX endpoint. Swap in any endpoint from the catalog at gateway.apiosk.com.
The lowest-level integration. wrapFetchWithPayment intercepts the 402, signs the payment, and retries automatically.
Same flow, for codebases already on axios.
The same pay-per-call flow for Python services, built on httpx and eth-account.
Expose an Apiosk endpoint as a tool your model can decide to call.
Wrap a paid endpoint as a LangChain tool your Python agent can call. Paid per call in USDC via x402. No API key required.
One config block gives your assistant the entire Apiosk catalog as tools.
The same paid call, written the way each framework expects it: the tool definition, the wallet, and the agent run.
Pick the surface that fits where your software runs. Same payment flow underneath, whether you reach for raw HTTP, a hosted MCP endpoint, the SDK, or the gateway skill.
The raw payment gateway. Handle the 402, attach an x402 proof, retry. Maximum control over headers, retries, and ledger events.
https://gateway.apiosk.com
A hosted MCP endpoint for chat-native agents. Add the URL, finish OAuth once, run paid tools from the same session.
https://mcp.apiosk.com/mcp
A package for application code that wraps payment execution, typed 402 errors, and retry helpers for Node backends.
npm install @apiosk/sdk
An installable skill for coding agents like Claude Code and Codex that need to run paid gateway requests from a shell.
npx skills add Apiosk/openclaw-apiosk --skill apiosk-gateway
Everything about listing a service, what the provider dashboard does and how the money reaches you is on its own page now.
Fund it with a few USDC and give your client a private key it can sign with. Payments settle on Base.
Every snippet below runs on a current Node or Python runtime. Pick the stack you already ship on.
Each 402 response states the exact price up front. Nothing is charged without your client signing it.
Every settled call produces an on-chain receipt on Base. Set per-transaction and per-day caps in your wallet mandate so an agent loop can never drain funds.
Questions, or a missing endpoint you want listed? Email hello@apiosk.com.
Apiosk is information as a service. It turns complex information needs into trusted, recurring answers from multiple sources. You define what you need to know; Apiosk finds and prices the right sources, runs them once you approve, combines the results into one answer and, if you want, repeats it on your schedule.
After your first result, choose Make recurring. Pick the days and time, and how much it may spend: a fixed number of prepaid runs, or pay as you go with a maximum per run. Apiosk runs the same request on that schedule and delivers every result, or only what changed, to Slack or Gmail. Each run and its cost stays visible in the order's history.
Apiosk asks for context when it needs a company, location, period or other detail. If a provider does not have the requested data, the result should say what is missing. Data availability depends on the source; an API listing does not guarantee that every record exists.
Each run is priced from the sources it uses. Apiosk shows the sources and maximum cost, including its service fee, before anything runs, and recurring requests stay within the budget you approve. You pay from your Apiosk balance, with no subscription required.
See pricingNo. You ask in plain language and approve the cost. There is no coding, no API integration and no workflow to build, and you do not need a separate API key or account for each provider. Developers can also connect through MCP or API.
Yes. Apiosk is available as a connector for ChatGPT and Claude, and through MCP for other agents and tools. Connect once, sign in to Apiosk, and ask your question from there. The price is shown before anything runs and is paid from your Apiosk balance.
Connect an agentYes. Connect a compatible agent through MCP or API and authorize its access to your Apiosk account. Spending limits and approval rules control what it can buy.
Connect an agent