Beta Early access β€” you're seeing this before public launch. Browse our books See terms of early access

Quickstart

Make your first API call in 2 minutes using the sandbox β€” no account or SDK required. Full integration in under 15 minutes.

Time to First Transaction

This guide gets you to a real API response as fast as possible:

PathTimeRequires
Sandbox (this guide)~2 minutesNothing β€” no signup, no key
With real API key~5 minutesSign in + create key in Dashboard
Full REST integration~15 minutesAPI key + any HTTP client β€” no SDK needed
With TypeScript SDKComing soonNot yet on npm β€” the REST API covers everything today

Track 1: Sandbox β€” 2 Minutes, Zero Setup

The sandbox returns realistic mock data for all endpoints. No signup. No API key. No SDK install. Write operations are accepted but no-ops.

Base URL: https://sandbox.api.soft.house Auth: Not required for sandbox requests Data: Realistic mock responses β€” all writes are no-ops

Step 1 β€” Create a wish (cURL)

curl -X POST https://sandbox.api.soft.house/wishes \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Find me a laptop under $1500",
    "budget": { "max": 1500, "currency": "USD" },
    "protocol": "auto"
  }'

Expected response:

{
  "id": "wish_sandbox_abc123",
  "status": "active",
  "query": "Find me a laptop under $1500",
  "budget": { "max": 1500, "currency": "USD" },
  "protocol": "ap2",
  "created_at": "2026-01-20T10:30:00Z"
}

That’s it β€” you just made your first API call.

Step 2 β€” List wishes

curl https://sandbox.api.soft.house/wishes \
  -H "Content-Type: application/json"

Step 3 β€” Check protocol detection

The protocol: "auto" field lets the API select the best protocol. To test explicit protocol selection:

curl -X POST https://sandbox.api.soft.house/wishes \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Order groceries delivery",
    "budget": { "max": 80, "currency": "USD" },
    "protocol": "acp"
  }'

Track 2: Real API Key β€” 5 Minutes

  1. Sign in at the Developer Dashboard with your soft.house account.
  2. Click Create Key to generate an API key instantly.
  3. Copy the key (shown only once) and store it as an environment variable:
export SOFT_HOUSE_API_KEY=mcp_YOUR_USER_ID_YOUR_TOKEN
  1. Use https://api.soft.house (not sandbox) with the Authorization header:
curl -X POST https://api.soft.house/wishes \
  -H "Authorization: Bearer $SOFT_HOUSE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Find me a laptop under $1500",
    "budget": { "max": 1500, "currency": "USD" },
    "protocol": "auto"
  }'

API keys are shown only once when created. Store them securely in environment variables.


Track 3: TypeScript SDK β€” Coming Soon

@pragma/sdk-soft-house is not yet on npm β€” npm install @pragma/sdk-soft-house currently fails with E404. The SDK source is complete and lives in the monorepo; the npm publish is operator-gated. Everything the SDK will do is available today through the REST API (Tracks 1 and 2 above).

Once published, you will create your first wish with full type safety:

import { SoftHouse } from '@pragma/sdk-soft-house';

const soft = new SoftHouse({
  apiKey: process.env.SOFT_HOUSE_API_KEY!,
});

// Create a wish β€” protocol auto-detected
const wish = await soft.wishes.create({
  query: 'Find me a laptop under $1500',
  budget: { max: 1500, currency: 'USD' },
});

console.log('Wish created:', wish.id);
console.log('Status:', wish.status);

The SDK will include typed resources for all API endpoints:

// Mandates (AP2 + ACP)
const mandate = await soft.mandates.create({
  type: 'intent',
  protocol_type: 'ap2',
  max_amount: 1500,
});

// Payments (idempotency key required)
const payment = await soft.payments.create({
  mandate_id: mandate.id,
  amount: 119999,
  idempotency_key: 'pay_unique_456',
});

See the TypeScript SDK preview for the full planned API surface and configuration options.


TTFT Roadmap

MilestoneStatusWhat it enables
Sandbox APIβœ… LiveZero-friction evaluation (this guide)
Documentationβœ… LiveProtocol guides, API reference
Self-service API keysβœ… LiveInstant key creation in Dashboard
Interactive API Referenceβœ… LiveScalar-powered OpenAPI explorer
TypeScript SDKπŸ”œ Coming soonBuilt in the monorepo β€” npm publish is pending; API preview
Python SDKπŸ”œ Coming soonBuilt in the monorepo β€” PyPI publish is pending; API preview

Next Steps