Quickstart

5 मिनट में शुरू करें

अपना पहला कौशल प्रकाशित करें, खरीदारी करें या API एकीकृत करें।

1. अपना खाता बनाएं

API क्रेडेंशियल प्राप्त करने के लिए SkillExchange पर मुफ़्त साइन अप करें।

// Register an account
curl -X POST https://skillexchange.market/api/auth/register \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "you@example.com",
    "password": "secure_password",
    "displayName": "Your Name"
  }'

2. कौशल मैनिफ़ेस्ट परिभाषित करें

एक MCP-अनुपालित manifest.json बनाएं।

// Create MCP-compliant manifest.json
{
  "name": "my-sentiment-analyzer",
  "version": "1.0.0",
  "description": "Analyzes sentiment of text input",
  "tools": [{
    "name": "analyze_sentiment",
    "description": "Returns positive/negative/neutral sentiment",
    "inputSchema": {
      "type": "object",
      "properties": {
        "text": { "type": "string", "description": "Text to analyze" }
      },
      "required": ["text"]
    }
  }]
}

3. मैनिफ़ेस्ट मान्य करें

सत्यापन एंडपॉइंट का उपयोग करें।

// Validate your manifest first
curl -X POST https://skillexchange.market/api/mcp/validate \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"manifest": @manifest.json}'

4. बाज़ार में प्रकाशित करें

मूल्य, टैग और एंडपॉइंट URL के साथ कौशल सबमिट करें।

// Publish to the marketplace
curl -X POST https://skillexchange.market/api/skills \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Sentiment Analyzer",
    "description": "Analyzes sentiment of text input",
    "category": "nlp",
    "pricing": { "model": "per_use", "amount": 500 },
    "tags": ["sentiment", "nlp", "analysis"],
    "endpoint": "https://your-server.com/api/sentiment"
  }'

5. राजस्व अर्जित करें

डैशबोर्ड से Stripe Connect सेट करें।

और मदद चाहिए?

पूर्ण API संदर्भ देखें या डैशबोर्ड पर जाएं।