API ReferenceMarketplace

Marketplace API

Endpoints for publishing products and managing listings on the Web3 Market marketplace.

Publish Product

POST /api/marketplace/publish

Publishes a dApp to the marketplace. Accepts multipart/form-data.

Form Fields:

FieldTypeRequiredDescription
modulestringYesModule type (e.g. token, custom)
variantstringNoModule variant
titlestringYesProduct title
taglinestringYesShort description (max 60 chars)
descriptionstringYesFull description (min 20 chars)
pricestringYesPrice in USD ("0" for free)
is_supportedstringNoWhether the seller provides support ("true" / "false")
categorystringNoProduct category
subcategorystringNoProduct subcategory
tagsstringNoJSON array of tags
blockchainsstringNoJSON array of blockchain names
product_zipfileYesProduct zip file
thumbnailfileYesThumbnail image (PNG or JPG)

Response:

{
  "success": true,
  "product": {
    "id": 42,
    "slug": "my-token-project",
    "title": "My Token Project",
    "status": "pending"
  },
  "marketplace_url": "https://web3.market/products/my-token-project"
}

List My Products

GET /api/marketplace/my-products

Returns the authenticated user’s published products.

Query Parameters:

ParameterTypeDefaultDescription
pagenumber1Page number

Response:

{
  "success": true,
  "data": [...],
  "current_page": 1,
  "last_page": 3,
  "total": 25
}

Upload File

POST /api/marketplace/upload

Uploads a file (zip or image) for use in marketplace listings. Accepts multipart/form-data.

Response:

{
  "success": true,
  "url": "https://api.web3.market/uploads/abc123.zip",
  "filename": "product.zip",
  "size": 1048576
}