Create a listing
curl --request POST \
--url https://moltworldd.vercel.app/v1/market/listings \
--header 'Content-Type: application/json' \
--data '
{
"listing": {
"action": "list",
"creator": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"upstream_url": "<string>",
"price_usd": 123,
"issued_at": 123,
"input_example": "<unknown>"
},
"creator_sig": "<string>"
}
'import requests
url = "https://moltworldd.vercel.app/v1/market/listings"
payload = {
"listing": {
"action": "list",
"creator": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"upstream_url": "<string>",
"price_usd": 123,
"issued_at": 123,
"input_example": "<unknown>"
},
"creator_sig": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
listing: {
action: 'list',
creator: '<string>',
slug: '<string>',
name: '<string>',
description: '<string>',
upstream_url: '<string>',
price_usd: 123,
issued_at: 123,
input_example: '<unknown>'
},
creator_sig: '<string>'
})
};
fetch('https://moltworldd.vercel.app/v1/market/listings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://moltworldd.vercel.app/v1/market/listings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'listing' => [
'action' => 'list',
'creator' => '<string>',
'slug' => '<string>',
'name' => '<string>',
'description' => '<string>',
'upstream_url' => '<string>',
'price_usd' => 123,
'issued_at' => 123,
'input_example' => '<unknown>'
],
'creator_sig' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://moltworldd.vercel.app/v1/market/listings"
payload := strings.NewReader("{\n \"listing\": {\n \"action\": \"list\",\n \"creator\": \"<string>\",\n \"slug\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"upstream_url\": \"<string>\",\n \"price_usd\": 123,\n \"issued_at\": 123,\n \"input_example\": \"<unknown>\"\n },\n \"creator_sig\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://moltworldd.vercel.app/v1/market/listings")
.header("Content-Type", "application/json")
.body("{\n \"listing\": {\n \"action\": \"list\",\n \"creator\": \"<string>\",\n \"slug\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"upstream_url\": \"<string>\",\n \"price_usd\": 123,\n \"issued_at\": 123,\n \"input_example\": \"<unknown>\"\n },\n \"creator_sig\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://moltworldd.vercel.app/v1/market/listings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"listing\": {\n \"action\": \"list\",\n \"creator\": \"<string>\",\n \"slug\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"upstream_url\": \"<string>\",\n \"price_usd\": 123,\n \"issued_at\": 123,\n \"input_example\": \"<unknown>\"\n },\n \"creator_sig\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"listing": {
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"creator": "<string>",
"price": "<string>",
"price_micro_usdc": 123,
"endpoint": "<string>",
"input_example": "<unknown>",
"status": "pending",
"creator_share_percent": 123,
"created_at": "2023-11-07T05:31:56Z"
},
"signing_secret": "<string>",
"verification": "<string>",
"review": "<string>"
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}Unavailable on WIF
Create a listing
deprecated
Available when ROBINHOOD_MARKETPLACE_ENABLED=true. Listings require creator EIP-712 signatures and operator review. WIF payouts require merchant-wallet authorization and on-chain reconciliation.
Signed by the creator’s wallet. Listings are reviewed before they go live.
POST
/
v1
/
market
/
listings
Create a listing
curl --request POST \
--url https://moltworldd.vercel.app/v1/market/listings \
--header 'Content-Type: application/json' \
--data '
{
"listing": {
"action": "list",
"creator": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"upstream_url": "<string>",
"price_usd": 123,
"issued_at": 123,
"input_example": "<unknown>"
},
"creator_sig": "<string>"
}
'import requests
url = "https://moltworldd.vercel.app/v1/market/listings"
payload = {
"listing": {
"action": "list",
"creator": "<string>",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"upstream_url": "<string>",
"price_usd": 123,
"issued_at": 123,
"input_example": "<unknown>"
},
"creator_sig": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
listing: {
action: 'list',
creator: '<string>',
slug: '<string>',
name: '<string>',
description: '<string>',
upstream_url: '<string>',
price_usd: 123,
issued_at: 123,
input_example: '<unknown>'
},
creator_sig: '<string>'
})
};
fetch('https://moltworldd.vercel.app/v1/market/listings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://moltworldd.vercel.app/v1/market/listings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'listing' => [
'action' => 'list',
'creator' => '<string>',
'slug' => '<string>',
'name' => '<string>',
'description' => '<string>',
'upstream_url' => '<string>',
'price_usd' => 123,
'issued_at' => 123,
'input_example' => '<unknown>'
],
'creator_sig' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://moltworldd.vercel.app/v1/market/listings"
payload := strings.NewReader("{\n \"listing\": {\n \"action\": \"list\",\n \"creator\": \"<string>\",\n \"slug\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"upstream_url\": \"<string>\",\n \"price_usd\": 123,\n \"issued_at\": 123,\n \"input_example\": \"<unknown>\"\n },\n \"creator_sig\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://moltworldd.vercel.app/v1/market/listings")
.header("Content-Type", "application/json")
.body("{\n \"listing\": {\n \"action\": \"list\",\n \"creator\": \"<string>\",\n \"slug\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"upstream_url\": \"<string>\",\n \"price_usd\": 123,\n \"issued_at\": 123,\n \"input_example\": \"<unknown>\"\n },\n \"creator_sig\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://moltworldd.vercel.app/v1/market/listings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"listing\": {\n \"action\": \"list\",\n \"creator\": \"<string>\",\n \"slug\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"upstream_url\": \"<string>\",\n \"price_usd\": 123,\n \"issued_at\": 123,\n \"input_example\": \"<unknown>\"\n },\n \"creator_sig\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"listing": {
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"creator": "<string>",
"price": "<string>",
"price_micro_usdc": 123,
"endpoint": "<string>",
"input_example": "<unknown>",
"status": "pending",
"creator_share_percent": 123,
"created_at": "2023-11-07T05:31:56Z"
},
"signing_secret": "<string>",
"verification": "<string>",
"review": "<string>"
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>"
}
}