Skip to main content
The Context Markets testnet runs on Base Sepolia and mirrors the mainnet API. Use it to test integrations without real funds.

Testnet API

Base URL:
https://api-testnet.context.markets/v2

Switching to testnet

import { ContextClient } from "context-markets";

const ctx = new ContextClient({
  apiKey: "your-api-key",
  apiSecret: "your-api-secret",
  chain: "testnet",
});

Testnet access

The testnet UI is available at testnet.context.markets. The password is agentmarkets.