Quickstart
If you want to wire Apiosk directly into Claude Code or Codex as an MCP server, start with Claude Code and Codex. In local stdio mode, the recommended first step isapiosk_get_started, which can save a dashboard connect string or create a local wallet and then immediately run a test call.
1. Find a listing
2. Read the metadata
- the default operation
- input and output shape
- price and latency hints
- tags and MCP-style tool metadata
3. Execute the API
Default-operation APIs accept raw JSON:4. Handle the 402 challenge
If payment is required and no valid proof is attached, the gateway returnsHTTP 402 Payment Required.
At that point you can either:
- attach a raw
x-paymentproof from your own payer flow - use a dashboard-managed wallet or connect string flow
402 may offer more than one settlement network (Base and Solana are live), pick any listed entry; the price is the same on all of them. See Multi-chain Settlement.
For local MCP installs, prefer apiosk_get_started over manually managing the first paid call. It will set up the local wallet or saved connect-token state and tell you whether the next step is ready, needs_funding, or more specific input.
5. Read the normalized result
The public agent contract returns a wrapped response:Apiosk’s own APIs
Beyond third-party listings, Apiosk publishes its own first-party APIs, company and identity lookups, financial validation, web extraction, compliance checks, developer tooling, and agent trust checks. They are ordinary listings: discover and call them the same way, withGET /v1/apis and POST /{slug}/execute.