Skip to main content
Skip to content

deerso Developer API

The first hardware retailer API that AI agents can do business with. Search products, check prices, and place orders — all through REST, MCP, or ACP.
Integrated and structured API
REST API
MCP Server
ACP Checkout

Quick Start

Three steps to your first API call. No API key required for read-only endpoints.

1

Search Products

curl "https://api.deerso.com/v1/products?q=deck+screws&per_page=3"
2

Check Price

curl "https://api.deerso.com/v1/pricing/ABC123"
3

Register for API Key

curl -X POST "https://api.deerso.com/v1/register" \
  -H "Content-Type: application/json" \
  -d '{"business_name":"Acme","contact_name":"Jane","email":"[email protected]"}'

REST API Reference

Base URL: https://api.deerso.com — All read endpoints are public. Write operations require an API key.

Add ?format=ai to any product/pricing/inventory endpoint for AI-friendly response formatting.

MethodEndpointDescription
GET
/v1/productsSearch products by keyword, brand, or category
GET
/v1/products/:skuGet full product details by SKU
GET
/v1/products/upc/:upcLookup product by UPC barcode
GET
/v1/pricing/:skuGet pricing with optional competitive comparison
POST
/v1/pricing/bulkBulk price lookup (up to 50 SKUs)
GET
/v1/inventory/:skuCheck real-time stock availability
POST
/v1/inventory/bulkBulk inventory check (up to 50 SKUs)
GET
/v1/categoriesFull category hierarchy tree
GET
/v1/categories/:idSingle category with children
GET
/v1/categories/:id/productsProducts in a category
POST
/v1/registerRegister for an API key (instant)
GET
/v1/accountView API key account info (requires auth)

Example: Search Products

curl "https://api.deerso.com/v1/products?q=drill+bit&brand=DeWalt&per_page=5"

# Response (truncated):
{
  "data": [
    {
      "sku": "DW1361",
      "title": "DeWalt DW1361 Titanium Drill Bit Set",
      "brand": "DeWalt",
      "price": 29.97,
      "in_stock": true
    }
  ],
  "pagination": { "page": 1, "per_page": 5, "total": 42 }
}

Example: Competitive Price Check

curl "https://api.deerso.com/v1/pricing/DW1361?market_context=%7B%22other_prices%22%3A%5B%7B%22source%22%3A%22HomeDepot%22%2C%22price%22%3A34.97%7D%5D%7D"

# Response:
{
  "sku": "DW1361",
  "price": 29.97,
  "currency": "USD",
  "comparison": {
    "cheapest": true,
    "savings_vs_best_competitor": 5.00,
    "competitors": [
      { "source": "HomeDepot", "price": 34.97, "difference": -5.00 }
    ]
  }
}

Interactive testing available at https://api.deerso.com/docs (Swagger UI)

MCP Server

AI-native MCP server

Connect Claude, ChatGPT, or any MCP-compatible AI assistant directly to the deerso catalog. Supports both stdio and streamable HTTP transports.

Claude Desktop / claude_desktop_config.json

{
  "mcpServers": {
    "deerso": {
      "url": "https://api.deerso.com/mcp"
    }
  }
}

Stdio Transport (local CLI)

{
  "mcpServers": {
    "deerso": {
      "command": "node",
      "args": ["./api/dist/mcp/server.js", "--stdio"]
    }
  }
}

Available Tools

ToolDescription
search_productsSearch hardware catalog with keyword, brand, and category filtering
get_product_detailsGet full product info by SKU or UPC barcode
check_priceWholesale pricing with optional competitive market comparison
check_availabilityReal-time stock status for 1–50 products
get_categoriesBrowse the product category hierarchy
calculate_project_costMulti-product cost calculator with availability status
place_orderCreate ACP checkout session and optionally complete payment

MCP Resources

The MCP server also exposes read-only resources your AI can reference:

deerso://catalog/categories   — Full category hierarchy
deerso://catalog/brands       — All available brands
deerso://info/shipping        — Shipping methods & delivery estimates
deerso://info/policies        — Wholesale pricing & return policies

MCP Setup Tutorial

Follow these steps to connect your AI assistant to deerso's product catalog, pricing, and inventory in under 2 minutes.

1

Choose Your Client

deerso MCP works with any MCP-compatible client. Pick the one you use:

Claude Desktop

Settings → Developer → Edit Config. Edit the claude_desktop_config.json file.

Claude Code (CLI)

Create a .mcp.json file in your project root, or run claude mcp add.

Cursor / Windsurf / Other

Check your IDE's MCP settings panel. Most support the same JSON config format shown below.

2

Add the Configuration

Paste this into your MCP config file. No API key needed — read access is free and instant.

{
  "mcpServers": {
    "deerso": {
      "type": "url",
      "url": "https://api.deerso.com/mcp"
    }
  }
}

That's it. Restart your AI client and the deerso tools will appear automatically.

3

Try It Out

Once connected, try these example prompts in your AI assistant:

"Search for mouse traps under $20"

search_products

Searches the catalog and returns matching products with prices

"What's the price and availability of SKU 712580?"

check_price + check_availability

Looks up live wholesale pricing and real-time stock levels

"I need to build a deck. Calculate the cost for 50 deck screws, 20 joist hangers, and 10 post caps."

calculate_project_cost

Returns an itemized cost breakdown with availability for each item

"Show me all product categories"

get_categories

Returns the full category hierarchy for browsing

"Compare your price on DW1361 against Home Depot at $34.97"

check_price (with market_context)

Returns pricing with a competitive comparison showing savings

"Place an order for 5 units of SKU DW1361"

place_order

Creates an ACP checkout session ready for payment

4

Verify Your Connection

You can verify the MCP endpoint is working with a quick curl test:

curl -X POST https://api.deerso.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {
      "protocolVersion": "2025-03-26",
      "capabilities": {},
      "clientInfo": {"name": "test", "version": "1.0.0"}
    }
  }'

# Expected response:
# {"result":{"protocolVersion":"2025-03-26",
#   "capabilities":{"tools":{"listChanged":true},"resources":{"listChanged":true}},
#   "serverInfo":{"name":"deerso","version":"1.0.0"}}}

ACP Checkout (Agentic Commerce Protocol)

ACP lets AI agents create and complete purchases on behalf of users. The flow is: create session → update buyer/shipping → process payment.

Create

POST /checkouts

Update

PUT /checkouts/:id

Complete

POST /checkouts/:id/complete

MethodEndpointDescription
POST
/checkoutsCreate a checkout session with items
GET
/checkouts/:idGet checkout session state
PUT
/checkouts/:idUpdate buyer info or fulfillment address
POST
/checkouts/:id/completeProcess payment with Stripe token
POST
/checkouts/:id/cancelCancel checkout and release inventory

Example: Full Checkout Flow

# 1. Create checkout session
curl -X POST "https://api.deerso.com/checkouts" \
  -H "Content-Type: application/json" \
  -d '{
    "items": [{"sku": "DW1361", "quantity": 2}],
    "buyer": {"name": "Jane Doe", "email": "[email protected]"}
  }'

# 2. Update shipping address
curl -X PUT "https://api.deerso.com/checkouts/SESSION_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "fulfillment_address": {
      "line1": "123 Main St",
      "city": "Portland",
      "state": "OR",
      "postal_code": "97201"
    }
  }'

# 3. Complete payment
curl -X POST "https://api.deerso.com/checkouts/SESSION_ID/complete" \
  -H "Content-Type: application/json" \
  -d '{"payment": {"token": "spt_...", "provider": "stripe"}}'

UCP Discovery

The Universal Commerce Protocol (UCP) endpoint lets AI platforms like Google AI Mode automatically discover deerso's capabilities. No integration work needed — AI crawlers find us at a well-known URL.

curl "https://api.deerso.com/.well-known/ucp"

# Returns capabilities manifest:
{
  "name": "deerso",
  "description": "Wholesale hardware retailer",
  "capabilities": ["product_search", "pricing", "inventory", "checkout"],
  "bindings": {
    "rest": "https://api.deerso.com/v1",
    "mcp": "https://api.deerso.com/mcp"
  },
  "registration": "https://api.deerso.com/v1/register"
}

Competitive Intelligence

Pass competitor prices via the market_context parameter on pricing endpoints or the check_price MCP tool. We'll return a comparison showing where deerso stands.

REST API

GET /v1/pricing/DW1361?market_context={
  "other_prices": [
    {"source": "HomeDepot", "price": 34.97},
    {"source": "Lowes", "price": 32.99}
  ],
  "project_type": "deck_build"
}

MCP Tool

check_price({
  sku: "DW1361",
  quantity: 5,
  market_context: {
    other_prices: [
      { source: "HomeDepot", price: 34.97 }
    ],
    project_type: "deck_build"
  }
})

Authentication & Rate Limits

API Key Registration

Self-service, instant approval. Your API key is shown once at creation — store it securely. Pass it via the Authorization header on authenticated requests.

# Register
curl -X POST "https://api.deerso.com/v1/register" \
  -H "Content-Type: application/json" \
  -d '{
    "business_name": "Acme Hardware",
    "contact_name": "Jane Doe",
    "email": "[email protected]"
  }'

# Use your key
curl "https://api.deerso.com/v1/account" \
  -H "Authorization: Bearer YOUR_API_KEY"

Rate Limits

TierLimitWindow
Unauthenticated60 req1 minute
Authenticated (API key)600 req1 minute

Rate-limited responses return HTTP 429 with a RATE_LIMITED error code. The window is sliding — wait and retry.

Protocol Support

ProtocolTransportEndpointUse Case
REST APIHTTP/v1/*Direct integration, scripts, apps
MCPStdio / HTTP/mcpAI assistant tool use (Claude, ChatGPT)
ACPHTTP/checkouts/*AI agent purchasing & checkout
UCPHTTP/.well-known/ucpAI platform discovery (Google AI Mode)

Ready to Build?

Register for an API key, explore the Swagger UI, or connect your AI assistant via MCP. Questions? Contact us.

deerso


About Us

Contact

Brands

Customer Service


Contact Us

Returns

Shipping/Tracking

Account


Sign In

Order History

Legal


Privacy Policy

Developers


API Documentation

© 2026 deerso. All rights reserved.