{
  "$schema": "https://moltspay.com/schemas/agent-services.json",
  "type": "service_registry",
  "name": "MoltsPay",
  "description": "AI Service Marketplace - Discover and pay for AI services using x402 protocol",
  "version": "1.0.0",
  "homepage": "https://moltspay.com",
  "protocol": "x402",
  "endpoints": {
    "search": "https://moltspay.com/registry/services",
    "stats": "https://moltspay.com/registry/stats",
    "tags": "https://moltspay.com/registry/tags"
  },
  "search": {
    "method": "GET",
    "parameters": {
      "q": "Search query (name, description, tags)",
      "type": "Filter by type: file_download | api_service",
      "maxPrice": "Maximum price in USD",
      "tag": "Filter by tag"
    },
    "example": "GET /registry/services?q=fortune&maxPrice=5"
  },
  "provider_discovery": {
    "pattern": "/a/{username}/.well-known/agent-services.json",
    "example": "https://moltspay.com/a/todd/.well-known/agent-services.json"
  },
  "payment": {
    "protocol": "x402",
    "networks": ["base"],
    "tokens": ["USDC"],
    "gasless": true
  },
  "sdk": {
    "npm": "moltspay",
    "install": "npm install -g moltspay",
    "usage": "npx moltspay pay <provider-url> <service-id> --prompt \"...\""
  }
}
