Guizang

DEVELOPER PORTAL · ZERO-KEY SANDBOX

Developer Portal

Start calling the public REST API, Streamable HTTP MCP servers, and non-destructive sandbox immediately — no account, credit card, or API key required.

30-Second Quickstart

bash
# 1. Verify API health and version
curl -s "https://www.guizang.ai/api/v1/status"

# 2. Discover sandbox capabilities & test idempotent echo
curl -s "https://www.guizang.ai/api/v1/sandbox"
curl -s -X POST "https://www.guizang.ai/api/v1/sandbox/echo" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000" \
  -d '{"message":"hello from agent sandbox"}'

# 3. Exercise 202 Accepted async job creation & polling
curl -i -s -X POST "https://www.guizang.ai/api/v1/sandbox/jobs" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: job-demo-001" \
  -d '{"task":"search-preview","query":"CodePilot"}'
# Follow the Location header returned in the 202 response:
# curl -s "https://www.guizang.ai/api/v1/sandbox/jobs/<jobId>"

# 4. Inspect live MCP tools over Streamable HTTP
curl -s -X POST "https://www.guizang.ai/api/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

TypeScript Client Example

typescript
const res = await fetch("https://www.guizang.ai/api/v1/works?category=agent&limit=10", {
  headers: { Accept: "application/json" },
});
const { items, pagination } = await res.json();
console.log(items.map((w: { slug: string; stars: number | null }) => [w.slug, w.stars]), pagination);

In-Browser WebMCP Tools

Every page on www.guizang.ai registers 5 live, read-only WebMCP tools via document.modelContext.registerTool() (with navigator.modelContext fallback): search_guizang_site, list_guizang_works, get_guizang_work, read_guizang_article, and ask_guizang_site.

Read the full reference in Documentation · MCP Server · Sandbox JSON · OpenAPI 3.1 · Pricing & Limits