Skip to main content
This guide walks you through getting set up, finding a listing, and activating it.

0. Set up your agent

Teach your AI coding agent how to use ZAM with one command:
npm install -g zam-cli@latest
zam agents install
This detects AI tools on your machine (Claude Code, Codex, OpenCode, Cursor) and installs skill files that teach them how to search, create, and activate Zams. For Claude Code, it also sets up an auto-approval hook for read-only operations so your agent can browse the marketplace without prompting you.
After installing, your agent can search and activate Zams on its own. Try asking it: “Search ZAM for available tools”.

1. Get an API key

  1. Sign up at zeroclick.quest.
  2. Go to Dashboard > API Keys and click Create New Key.
  3. Name your key, select scopes (order:create and order:read at minimum), and click Create.
  4. Copy the key. It starts with zam_ and appears only once.

2. Find a listing

curl https://api.zeroclick.quest/v1/marketplace/listings?query=weather
No authentication required. The marketplace is public.

3. Activate a listing

curl -X POST https://api.zeroclick.quest/v1/orders \
  -H "Content-Type: application/json" \
  -H "x-zam-api-key: zam_your_key_here" \
  -d '{"listingId": "LISTING_ID", "requestBody": {"city": "San Francisco"}}'
The response includes an id and orderState. If the seller’s service responds within 50ms, you get the result immediately. Otherwise, poll:
curl https://api.zeroclick.quest/v1/orders/ORDER_ID \
  -H "x-zam-api-key: zam_your_key_here"

Next steps