Get Comments
curl --request GET \
--url https://api.inprocess.world/api/commentsimport requests
url = "https://api.inprocess.world/api/comments"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.inprocess.world/api/comments', 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://api.inprocess.world/api/comments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.inprocess.world/api/comments"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.inprocess.world/api/comments")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.inprocess.world/api/comments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"comments": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sender": "0xabc0000000000000000000000000000000000001",
"username": "alice",
"comment": "Love this track",
"timestamp": 1753315200000,
"commentId": "0xab6776473e27a7c8f9ee24553dfae47a10eb525142f6161de6346ecf48e77b60",
"replyToId": null,
"nonce": "0",
"replyCount": 2,
"replies": [
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"sender": "0xdef0000000000000000000000000000000000002",
"username": "bob",
"comment": "Same here",
"timestamp": 1753315300000,
"commentId": "0xbb6776473e27a7c8f9ee24553dfae47a10eb525142f6161de6346ecf48e77b61",
"replyToId": "0xab6776473e27a7c8f9ee24553dfae47a10eb525142f6161de6346ecf48e77b60",
"nonce": "1",
"replyCount": 0,
"replies": []
}
]
},
{
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"sender": "0x1110000000000000000000000000000000000003",
"username": "carol",
"comment": "Minted with a note",
"timestamp": 1753315100000,
"commentId": null,
"replyToId": null,
"nonce": null,
"replyCount": 0,
"replies": []
}
]
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Comments
Get Comments
Retrieve comments for a Moment. Omit replyToId for top-level comments with nested reply previews; set replyToId to page direct replies.
GET
/
comments
Get Comments
curl --request GET \
--url https://api.inprocess.world/api/commentsimport requests
url = "https://api.inprocess.world/api/comments"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.inprocess.world/api/comments', 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://api.inprocess.world/api/comments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.inprocess.world/api/comments"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.inprocess.world/api/comments")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.inprocess.world/api/comments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"comments": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sender": "0xabc0000000000000000000000000000000000001",
"username": "alice",
"comment": "Love this track",
"timestamp": 1753315200000,
"commentId": "0xab6776473e27a7c8f9ee24553dfae47a10eb525142f6161de6346ecf48e77b60",
"replyToId": null,
"nonce": "0",
"replyCount": 2,
"replies": [
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"sender": "0xdef0000000000000000000000000000000000002",
"username": "bob",
"comment": "Same here",
"timestamp": 1753315300000,
"commentId": "0xbb6776473e27a7c8f9ee24553dfae47a10eb525142f6161de6346ecf48e77b61",
"replyToId": "0xab6776473e27a7c8f9ee24553dfae47a10eb525142f6161de6346ecf48e77b60",
"nonce": "1",
"replyCount": 0,
"replies": []
}
]
},
{
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"sender": "0x1110000000000000000000000000000000000003",
"username": "carol",
"comment": "Minted with a note",
"timestamp": 1753315100000,
"commentId": null,
"replyToId": null,
"nonce": null,
"replyCount": 0,
"replies": []
}
]
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"status": "error",
"message": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Query Parameters
Moment contract address
Token ID
Chain ID (optional, default: Base, 8453)
Pagination offset (optional, defaults to 0)
When set, return direct replies to this protocol commentId (paginated). When omitted, return top-level comments with nested reply previews.
Example:
"0xab6776473e27a7c8f9ee24553dfae47a10eb525142f6161de6346ecf48e77b60"
Response
Successful response
Top-level comments (default) or direct replies when replyToId is set
Show child attributes
Show child attributes