Skip to main content
POST
/
services
Create Service
curl --request POST \
  --url https://api.example.com/services

Documentation Index

Fetch the complete documentation index at: https://docs.midasprotocol.org/llms.txt

Use this file to discover all available pages before exploring further.

Request

Requires authentication. See the validation schema for all available fields including name, description, category, price (amount, currency, type), location, and more.
curl -X POST https://api.midasprotocol.org/services \
  -H "Authorization: Bearer pp_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Translation Service",
    "description": "Real-time text translation in 50+ languages",
    "category": "translation",
    "priceAmount": 5, "priceCurrency": "USDC", "priceType": "per_request"
  }'

Response

{
  "id": "uuid", "name": "Translation Service",
  "price": { "amount": "5.00", "currency": "USDC", "type": "per_request" },
  "status": "ACTIVE"
}