{
  "x402Version": 1,
  "runtimeX402Version": 1,
  "discoveryVersion": 2,
  "supportedX402Versions": [1],
  "service": {
    "name": "MoonCloser AI",
    "description": "Pay-per-call sales intelligence for humans and autonomous agents. Analyzes prospect conversations and returns purchase intent, motive, objection, next move and a ready-to-send reply. English and Spanish are supported, and human-facing outputs follow the prospect context language.",
    "baseUrl": "https://mooncloser-ai.floot.app",
    "homepage": "https://mooncloser-ai.floot.app"
  },
  "resources": [
    {
      "method": "POST",
      "path": "/_api/score-lead-paid",
      "url": "https://mooncloser-ai.floot.app/_api/score-lead-paid",
      "name": "MoonCloser Lead Score",
      "description": "Fast lead qualification for agent loops. Returns sales temperature, purchase-intent score from 0-100, and the main objection from a conversation or CRM note.",
      "capability": "sales.lead.score",
      "price": "$0.01",
      "network": "eip155:8453",
      "scheme": "exact",
      "asset": "USDC",
      "assetAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bdA02913",
      "payTo": "0xdc1ee414c89fd5ca2e8a5cd537406d27ea0181a6",
      "mimeType": "application/json",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "10000",
          "resource": "https://mooncloser-ai.floot.app/_api/score-lead-paid",
          "description": "MoonCloser quick lead score",
          "mimeType": "application/json",
          "payTo": "0xdc1ee414c89fd5ca2e8a5cd537406d27ea0181a6",
          "maxTimeoutSeconds": 60,
          "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bdA02913",
          "extra": { "name": "USD Coin", "version": "2" }
        }
      ],
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "context": { "type": "string", "minLength": 20, "maxLength": 12000 }
        },
        "required": ["context"]
      },
      "example": {
        "context": "The lead asked for pricing twice and wants to review the offer with a partner tomorrow."
      },
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "temperature": { "type": "string" },
            "intent": { "type": "integer" },
            "objection": { "type": "string" }
          },
          "required": ["temperature", "intent", "objection"]
        }
      }
    },
    {
      "method": "POST",
      "path": "/_api/analyze-prospect-paid",
      "url": "https://mooncloser-ai.floot.app/_api/analyze-prospect-paid",
      "name": "MoonCloser Prospect Analysis",
      "description": "Analyze sales prospect context and return purchase intent, primary motive, main objection, recommended next move, and a ready-to-send reply in the prospect's language.",
      "capability": "sales.prospect.analyze",
      "price": "$0.25",
      "network": "eip155:8453",
      "scheme": "exact",
      "asset": "USDC",
      "assetAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bdA02913",
      "payTo": "0xdc1ee414c89fd5ca2e8a5cd537406d27ea0181a6",
      "mimeType": "application/json",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "250000",
          "resource": "https://mooncloser-ai.floot.app/_api/analyze-prospect-paid",
          "description": "MoonCloser AI prospect analysis",
          "mimeType": "application/json",
          "payTo": "0xdc1ee414c89fd5ca2e8a5cd537406d27ea0181a6",
          "maxTimeoutSeconds": 60,
          "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bdA02913",
          "extra": { "name": "USD Coin", "version": "2" }
        }
      ],
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "context": {
            "type": "string",
            "minLength": 20,
            "maxLength": 12000,
            "description": "Prospect conversation, CRM note, sales-call summary, email thread or other sales context."
          }
        },
        "required": ["context"]
      },
      "example": {
        "context": "The prospect asked about price twice, said the offer is interesting, and wants to review it with a partner before deciding tomorrow."
      },
      "output": {
        "schema": {
          "type": "object",
          "properties": {
            "temperature": { "type": "string", "enum": ["Cold", "Early", "Warm", "Hot"] },
            "intent": { "type": "integer", "minimum": 0, "maximum": 100 },
            "motive": { "type": "string" },
            "objection": { "type": "string" },
            "nextMove": { "type": "string" },
            "message": { "type": "string" }
          },
          "required": ["temperature", "intent", "motive", "objection", "nextMove", "message"]
        }
      },
      "errorBehavior": "Unpaid requests return HTTP 402 with x402 payment requirements before input validation. After payment authorization, invalid input returns HTTP 400 and valid input returns HTTP 200 JSON."
    },
    {
      "method": "POST",
      "path": "/_api/analyze-batch-paid",
      "url": "https://mooncloser-ai.floot.app/_api/analyze-batch-paid",
      "name": "MoonCloser Batch",
      "description": "Analyze 2-10 sales prospects in one paid call. Returns full MoonCloser analysis for each lead. Best-value use case is 7-10 prospects; for smaller sets, individual full analyses may cost less.",
      "capability": "sales.prospect.batch_analyze",
      "price": "$1.50",
      "network": "eip155:8453",
      "scheme": "exact",
      "asset": "USDC",
      "assetAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bdA02913",
      "payTo": "0xdc1ee414c89fd5ca2e8a5cd537406d27ea0181a6",
      "mimeType": "application/json",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "1500000",
          "resource": "https://mooncloser-ai.floot.app/_api/analyze-batch-paid",
          "description": "MoonCloser batch prospect analysis up to 10 leads",
          "mimeType": "application/json",
          "payTo": "0xdc1ee414c89fd5ca2e8a5cd537406d27ea0181a6",
          "maxTimeoutSeconds": 60,
          "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bdA02913",
          "extra": { "name": "USD Coin", "version": "2" }
        }
      ],
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "contexts": {
            "type": "array",
            "minItems": 2,
            "maxItems": 10,
            "items": { "type": "string", "minLength": 20, "maxLength": 12000 }
          }
        },
        "required": ["contexts"]
      },
      "example": {
        "contexts": [
          "Lead A asked about price and requested a follow-up tomorrow.",
          "Lead B likes the offer but said timing is the main concern."
        ]
      }
    }
  ]
}